projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365ce61
)
mesa: Fix the whining for link failures to actually be under MESA_GLSL=dump.
author
Eric Anholt
<eric@anholt.net>
Thu, 19 Aug 2010 01:01:55 +0000
(18:01 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 19 Aug 2010 04:31:56 +0000
(21:31 -0700)
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 7b0c28e5be1a286da88f7b7ec0ff69c756eac5bf..fafc6200bed44e795e169ff79a94b024934abed6 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2750,6
+2750,11
@@
_mesa_glsl_link_shader(GLcontext *ctx, struct gl_shader_program *prog)
if (prog->LinkStatus) {
if (!ctx->Driver.LinkShader(ctx, prog)) {
prog->LinkStatus = GL_FALSE;
+ }
+ }
+
+ if (ctx->Shader.Flags & GLSL_DUMP) {
+ if (!prog->LinkStatus) {
printf("GLSL shader program %d failed to link\n", prog->Name);
}