projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de75dfa
)
glsl2: Print the linking info log in the stand-alone compiler
author
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 2 Jul 2010 21:43:01 +0000
(14:43 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 2 Jul 2010 21:57:07 +0000
(14:57 -0700)
src/glsl/main.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/main.cpp
b/src/glsl/main.cpp
index 16bbc8cd3f1a4c564f931bfc308200bbc9dcf94f..9bed2c6bccc7c75919460da36d2e4133f4bc8d1f 100644
(file)
--- a/
src/glsl/main.cpp
+++ b/
src/glsl/main.cpp
@@
-266,6
+266,9
@@
main(int argc, char **argv)
if ((status == EXIT_SUCCESS) && do_link) {
link_shaders(whole_program);
status = (whole_program->LinkStatus) ? EXIT_SUCCESS : EXIT_FAILURE;
+
+ if (strlen(whole_program->InfoLog) > 0)
+ printf("Info log for linking:\n%s\n", whole_program->InfoLog);
}
talloc_free(whole_program);