diff options
Diffstat (limited to 'src/mesa/shader/slang/slang_link2.c')
-rw-r--r-- | src/mesa/shader/slang/slang_link2.c | 13 |
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); |