diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-10-09 14:07:25 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-10-09 14:07:40 +0100 |
commit | 295aea04895676aae5b67a7016c62bab8e40b996 (patch) | |
tree | a80206dff23eed69054237fa7cfe993da224cda6 /src | |
parent | 659609e0ae27071a601794935c85547e315dedeb (diff) |
llvmpipe: more debug
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index fff292e294..beb149ef18 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -89,7 +89,7 @@ void lp_rast_start_tile( struct lp_rasterizer *rast, unsigned x, unsigned y ) { - RAST_DEBUG("%s\n", __FUNCTION__); + RAST_DEBUG("%s %d,%d\n", __FUNCTION__, x, y); rast->x = x; rast->y = y; @@ -100,7 +100,11 @@ void lp_rast_clear_color( struct lp_rasterizer *rast, { const uint8_t *clear_color = arg.clear_color; - RAST_DEBUG("%s\n", __FUNCTION__); + RAST_DEBUG("%s %x,%x,%x,%x\n", __FUNCTION__, + clear_color[0], + clear_color[1], + clear_color[2], + clear_color[3]); if (clear_color[0] == clear_color[1] && clear_color[1] == clear_color[2] && @@ -238,7 +242,7 @@ static void lp_rast_store_color( struct lp_rasterizer *rast ) unsigned h = TILE_SIZE; void *map; - RAST_DEBUG("%s\n", __FUNCTION__); + RAST_DEBUG("%s %d,%d %dx%d\n", __FUNCTION__, x, y, w, h); surface = rast->state.cbuf; if(!surface) |