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:
Kenneth Graunke
2010-06-16 13:19:27 -07:00
parent 3370c5f90b
commit b673ff91ab

View File

@@ -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;