summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-09-04 00:49:23 -0700
committerKenneth Graunke <[email protected]>2010-09-04 02:19:37 -0700
commita7dc8081b6e20fd05f99608aa0349a1eb75d914b (patch)
tree491ade3c6106279c75333a72370182fc5f60d834 /src/glsl/builtins
parent7a830ac49f8ac29d9f5a7abc0c6474e6495d0a7b (diff)
glsl/builtins: Actually print the info log if reading a builtin failed.
Diffstat (limited to 'src/glsl/builtins')
-rwxr-xr-xsrc/glsl/builtins/tools/generate_builtins.py1
1 files changed, 1 insertions, 0 deletions
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;
}