glsl_compiler: Always log the compiler diagnostics
Not just when there's an error. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -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;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user