glcpp: Print errors on stdout instead of stderr (non-standalone version).
Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing.
This commit is contained in:
@@ -33,7 +33,7 @@ preprocess(void *talloc_ctx, const char **shader, size_t *shader_len)
|
||||
glcpp_parser_parse (parser);
|
||||
|
||||
errors = parser->errors[0] != '\0';
|
||||
fprintf(stderr, "%s", parser->errors);
|
||||
printf("%s", parser->errors);
|
||||
|
||||
talloc_steal(talloc_ctx, parser->output);
|
||||
*shader = parser->output;
|
||||
|
Reference in New Issue
Block a user