softpipe: debug code (disabled)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Nov 2008 21:56:59 +0000 (14:56 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Nov 2008 21:56:59 +0000 (14:56 -0700)
src/gallium/drivers/softpipe/sp_quad_output.c

index d05e12d1d952e4ef0e184bfe82de4cf6a6f36802..b7aac7f84a75079807fc6584bb7381d237a355df 100644 (file)
@@ -64,6 +64,14 @@ output_quad(struct quad_stage *qs, struct quad_header *quad)
             for (i = 0; i < 4; i++) { /* loop over color chans */
                tile->data.color[y][x][i] = quadColor[i][j];
             }
+            if (0) {
+               debug_printf("sp write pixel %d,%d: %g, %g, %g\n",
+                            quad->input.x0 + x,
+                            quad->input.y0 + y,
+                            quadColor[0][j],
+                            quadColor[1][j],
+                            quadColor[2][j]);
+            }
          }
       }
    }