Commit 587cd971 authored by Ian Romanick's avatar Ian Romanick

glsl_compiler: Always log the compiler diagnostics

Not just when there's an error.
Signed-off-by: default avatarIan Romanick <>
Reviewed-by: default avatarKenneth Graunke <>
parent 3646d65f
......@@ -371,8 +371,10 @@ main(int argc, char **argv)
compile_shader(ctx, shader);
if (!shader->CompileStatus) {
if (strlen(shader->InfoLog) > 0)
printf("Info log for %s:\n%s\n", argv[optind], shader->InfoLog);
if (!shader->CompileStatus) {
status = EXIT_FAILURE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment