summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-03-25 12:27:48 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-03-25 12:30:05 -0600
commit070a7446221e26aee5ab6e6e12988ea9c1688ba6 (patch)
treec5423a55487bfb583e2eb1c08dd807f4d2036dcd
parentcf7daba79101a2d2813f133a0f3d394316e66cce (diff)
gallium: added some debug code (disable)
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index 0a2d37c117..026f015fd8 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,