summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-15 15:39:48 -0700
committerBrian Paul <[email protected]>2009-12-15 15:39:48 -0700
commitcdbcd96fdfe2c4d09e9b34cb083664d6b6e0558b (patch)
tree418d3e010a27486ad82b6f99f9ec80e9a7b38ace /src
parent276b8523e82c36ec2def21d16fdf7f6a32a3bd37 (diff)
llvmpipe: tighten up an assertion
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c4
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;