more debug output
authorBrian <brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:02 +0000 (10:08 -0700)
committerBrian <brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:02 +0000 (10:08 -0700)
src/mesa/shader/slang/slang_link2.c

index 4827c8c4cdecfb3ea559880eba8d64d0fc7fd18e..9fa5399e53a77002841bb8db7805719e8c0ce720 100644 (file)
@@ -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);