Mesa (master): glsl/builtins: Actually print the info log if reading a builtin failed.

Kenneth Graunke kwg at kemper.freedesktop.org
Sat Sep 4 02:21:00 PDT 2010


Module: Mesa
Branch: master
Commit: a7dc8081b6e20fd05f99608aa0349a1eb75d914b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7dc8081b6e20fd05f99608aa0349a1eb75d914b

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Sep  4 00:49:23 2010 -0700

glsl/builtins: Actually print the info log if reading a builtin failed.

---

 src/glsl/builtins/tools/generate_builtins.py |    1 +
 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 5accc1b..bc64b4b 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;
       }



More information about the mesa-commit mailing list