From a7dc8081b6e20fd05f99608aa0349a1eb75d914b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 4 Sep 2010 00:49:23 -0700 Subject: [PATCH] glsl/builtins: Actually print the info log if reading a builtin failed. --- src/glsl/builtins/tools/generate_builtins.py | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2