From: Brian Paul Date: Thu, 6 Nov 2008 21:56:59 +0000 (-0700) Subject: softpipe: debug code (disabled) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93fd5e150ba2a86b51816b60bf5faf1da34803b7;p=mesa.git softpipe: debug code (disabled) --- diff --git a/src/gallium/drivers/softpipe/sp_quad_output.c b/src/gallium/drivers/softpipe/sp_quad_output.c index d05e12d1d95..b7aac7f84a7 100644 --- a/src/gallium/drivers/softpipe/sp_quad_output.c +++ b/src/gallium/drivers/softpipe/sp_quad_output.c @@ -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]); + } } } }