projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516d20f
)
glsl: call _mesa_postprocess_program(), disabled
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Jun 2009 13:44:04 +0000
(07:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 17 Jun 2009 15:58:29 +0000
(09:58 -0600)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index 5ea89d2ff3e6b1aaef52a81350b21b92a49dcba0..f6032d1e9adedb51970e33d8bdc460b7f495ae57 100644
(file)
--- a/
src/mesa/shader/slang/slang_link.c
+++ b/
src/mesa/shader/slang/slang_link.c
@@
-843,6
+843,14
@@
_slang_link(GLcontext *ctx,
}
}
+ /* Debug: */
+ if (0) {
+ if (shProg->VertexProgram)
+ _mesa_postprocess_program(ctx, &shProg->VertexProgram->Base);
+ if (shProg->FragmentProgram)
+ _mesa_postprocess_program(ctx, &shProg->FragmentProgram->Base);
+ }
+
if (ctx->Shader.Flags & GLSL_DUMP) {
_mesa_printf("Varying vars:\n");
_mesa_print_parameter_list(shProg->Varying);