diff options
author | Brian Paul <[email protected]> | 2008-11-06 14:56:59 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-06 14:56:59 -0700 |
commit | 93fd5e150ba2a86b51816b60bf5faf1da34803b7 (patch) | |
tree | f1f6088c8db582dd667565b0248a81df60d8c626 | |
parent | 5b2b064a5c1328449e3eb8179afc2ba366f18ae6 (diff) |
softpipe: debug code (disabled)
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_output.c | 8 |
1 files changed, 8 insertions, 0 deletions
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]); + } } } } |