From: Brian Paul Date: Tue, 25 Mar 2008 18:27:48 +0000 (-0600) Subject: gallium: added some debug code (disable) X-Git-Tag: 062012170305~17580^2~390^2~2089 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=070a7446221e26aee5ab6e6e12988ea9c1688ba6;p=profile%2Fivi%2Fmesa.git gallium: added some debug code (disable) --- diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 0a2d37c..026f015 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -114,6 +114,12 @@ combined_drawpix_fragment_program(GLcontext *ctx) _mesa_clone_program(ctx, &st->pixel_xfer.program->Base.Base); } else { +#if 0 + printf("Base program:\n"); + _mesa_print_program(&st->fp->Base.Base); + printf("DrawPix program:\n"); + _mesa_print_program(&st->pixel_xfer.program->Base.Base); +#endif stfp = (struct st_fragment_program *) _mesa_combine_programs(ctx, &st->pixel_xfer.program->Base.Base,