diff options
author | Brian Paul <[email protected]> | 2009-12-15 15:39:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-15 15:39:48 -0700 |
commit | cdbcd96fdfe2c4d09e9b34cb083664d6b6e0558b (patch) | |
tree | 418d3e010a27486ad82b6f99f9ec80e9a7b38ace | |
parent | 276b8523e82c36ec2def21d16fdf7f6a32a3bd37 (diff) |
llvmpipe: tighten up an assertion
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index fd9cd67d859..ec87d907b81 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -358,8 +358,8 @@ void lp_rast_shade_quads( struct lp_rasterizer *rast, masks[1][1][1][1] = mask & (1 << (1*8+1*4+1*2+1)) ? ~0 : 0; #endif - assert((x % 2) == 0); - assert((y % 2) == 0); + assert((x % 4) == 0); + assert((y % 4) == 0); ix = x % TILE_SIZE; iy = y % TILE_SIZE; |