From a7a582296bf23556e3e9c013b33b619ccc0f795c Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 15 Dec 2006 10:08:02 -0700 Subject: [PATCH] more debug output --- src/mesa/shader/slang/slang_link2.c | 13 +++++++++++-- 1 file 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); -- 2.30.2