_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);
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);