Lines Matching defs:errors
51 ErrorReporter& errors = *context.fErrors;
53 errors.error(line, "functions may not return type '" + returnType.displayName() + "'");
57 errors.error(line, "functions may not return structs containing arrays");
62 errors.error(line, "functions may not return opaque type '" + returnType.displayName() +
138 ErrorReporter& errors = *context.fErrors;
166 errors.error(line, "'main' must return: 'vec4', 'float4', or 'half4'");
171 errors.error(line, "'main' parameter must be 'vec4', 'float4', or 'half4'");
179 errors.error(line, "'main' must return: 'vec4', 'float4', or 'half4'");
186 errors.error(line, "'main' parameters must be (float2, (vec4|float4|half4)?)");
194 errors.error(line, "'main' must return: 'vec4', 'float4', or 'half4'");
200 errors.error(line, "'main' parameters must be (vec4|float4|half4, "
213 errors.error(line, "shader 'main' must be main() or main(float2)");
220 errors.error(line, "shader 'main' must have zero parameters");
229 * Checks for a previously existing declaration of this function, reporting errors if there is an
240 ErrorReporter& errors = *context.fErrors;
253 errors.error(line, "symbol '" + name + "' was already defined");
283 errors.error(line,
290 errors.error(line,
297 errors.error(line, "duplicate definition of " + other->description());