From: Kenneth Graunke Date: Sat, 4 Sep 2010 07:49:23 +0000 (-0700) Subject: glsl/builtins: Actually print the info log if reading a builtin failed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7dc8081b6e20fd05f99608aa0349a1eb75d914b;p=mesa.git glsl/builtins: Actually print the info log if reading a builtin failed. --- diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 5accc1b1208..bc64b4b3b5c 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -153,6 +153,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne if (st->error) { printf("error reading builtin: %.35s ...\\n", functions[i]); + printf("Info log:\\n%s\\n", st->info_log); talloc_free(sh); return NULL; }