summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-15 10:08:02 -0700
committerBrian <[email protected]>2006-12-15 10:08:02 -0700
commita7a582296bf23556e3e9c013b33b619ccc0f795c (patch)
tree29ec6d78398b965c29c07d72fd23492e8eb4af9b /src/mesa/shader/slang
parenta90046f1097ad95de2aa95ca65741dff5cddced9 (diff)
more debug output
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_link2.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_link2.c b/src/mesa/shader/slang/slang_link2.c
index 4827c8c4cde..9fa5399e53a 100644
--- a/src/mesa/shader/slang/slang_link2.c
+++ b/src/mesa/shader/slang/slang_link2.c
@@ -321,11 +321,17 @@ _slang_link2(GLcontext *ctx,
_mesa_clone_program(ctx, &fragProg->Base);
#if 1
- printf("************** orig program\n");
+ printf("************** orig fragment program\n");
_mesa_print_program(&fragProg->Base);
_mesa_print_program_parameters(ctx, &fragProg->Base);
#endif
+#if 1
+ printf("************** orig vertex program\n");
+ _mesa_print_program(&vertProg->Base);
+ _mesa_print_program_parameters(ctx, &fragProg->Base);
+#endif
+
link_varying_vars(linked, &linked->VertexProgram->Base);
link_varying_vars(linked, &linked->FragmentProgram->Base);
@@ -339,9 +345,12 @@ _slang_link2(GLcontext *ctx,
linked->FragmentProgram->Base.Parameters = linked->Uniforms;
#if 1
- printf("************** linked/cloned\n");
+ printf("************** linked/cloned frag prog\n");
_mesa_print_program(&linked->FragmentProgram->Base);
_mesa_print_program_parameters(ctx, &linked->FragmentProgram->Base);
+ printf("************** linked/cloned vert prog\n");
+ _mesa_print_program(&linked->VertexProgram->Base);
+ _mesa_print_program_parameters(ctx, &linked->VertexProgram->Base);
#endif
linked->LinkStatus = (linked->VertexProgram && linked->FragmentProgram);