OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3646d65
)
glsl_compiler: Always log the compiler diagnostics
author
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 9 Sep 2013 19:14:17 +0000
(14:14 -0500)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 7 Oct 2013 16:59:23 +0000
(09:59 -0700)
Not just when there's an error.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/main.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/main.cpp
b/src/glsl/main.cpp
index
58e940a
..
aa188b1
100644
(file)
--- a/
src/glsl/main.cpp
+++ b/
src/glsl/main.cpp
@@
-371,8
+371,10
@@
main(int argc, char **argv)
compile_shader(ctx, shader);
- if (
!shader->CompileStatus) {
+ if (
strlen(shader->InfoLog) > 0)
printf("Info log for %s:\n%s\n", argv[optind], shader->InfoLog);
+
+ if (!shader->CompileStatus) {
status = EXIT_FAILURE;
break;
}