From: Brian Date: Mon, 26 Mar 2007 16:15:02 +0000 (-0600) Subject: disable printing shader program debug info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22d913208170a1b86c42a8b06140c6a80028c705;p=mesa.git disable printing shader program debug info --- diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index bcd54d6fe9e..39df256b006 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -565,12 +565,12 @@ _slang_link(GLcontext *ctx, _slang_update_inputs_outputs(&shProg->FragmentProgram->Base); if (fragProg && shProg->FragmentProgram) { -#if 1 +#if 0 printf("************** original fragment program\n"); _mesa_print_program(&fragProg->Base); _mesa_print_program_parameters(ctx, &fragProg->Base); #endif -#if 1 +#if 0 printf("************** linked fragment prog\n"); _mesa_print_program(&shProg->FragmentProgram->Base); _mesa_print_program_parameters(ctx, &shProg->FragmentProgram->Base); @@ -578,12 +578,12 @@ _slang_link(GLcontext *ctx, } if (vertProg && shProg->VertexProgram) { -#if 1 +#if 0 printf("************** original vertex program\n"); _mesa_print_program(&vertProg->Base); _mesa_print_program_parameters(ctx, &vertProg->Base); #endif -#if 1 +#if 0 printf("************** linked vertex prog\n"); _mesa_print_program(&shProg->VertexProgram->Base); _mesa_print_program_parameters(ctx, &shProg->VertexProgram->Base);