summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-09 14:07:25 +0100
committerKeith Whitwell <[email protected]>2009-10-09 14:07:40 +0100
commit295aea04895676aae5b67a7016c62bab8e40b996 (patch)
treea80206dff23eed69054237fa7cfe993da224cda6
parent659609e0ae27071a601794935c85547e315dedeb (diff)
llvmpipe: more debug
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c10
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 fff292e294c..beb149ef188 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)