gallium: added some debug code (disable)
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 18:27:48 +0000 (12:27 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 18:30:05 +0000 (12:30 -0600)
src/mesa/state_tracker/st_cb_drawpixels.c

index 0a2d37c11784aaec673b67a283fbadb5fe0a3c92..026f015fd859af6b0bb7449c5fb7adabb265341d 100644 (file)
@@ -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,