diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-10-19 17:10:48 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-10-19 17:10:48 +0100 |
commit | 5b07d4de38b732f99237161d940f40e3ce6e29c3 (patch) | |
tree | d622bf9c97b8e58729707a78e3b8b141399dcec7 /src | |
parent | b0828b0adc7438ef33f9393f839226ef7dfda0dc (diff) |
llvmpipe: remove a leftover 8x2 usage
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 01f46dcab1..85b756e453 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -203,10 +203,10 @@ void lp_rast_shade_tile( struct lp_rasterizer *rast, RAST_DEBUG("%s\n", __FUNCTION__); - /* Use the existing preference for 8x2 (four quads) shading: + /* Use the existing preference for 4x4 (four quads) shading: */ - for (y = 0; y < TILE_SIZE; y += 2) - for (x = 0; x < TILE_SIZE; x += 8) + for (y = 0; y < TILE_SIZE; y += 4) + for (x = 0; x < TILE_SIZE; x += 4) lp_rast_shade_quads( rast, inputs, rast->x + x, rast->y + y, &masks[0][0]); } @@ -239,7 +239,7 @@ void lp_rast_shade_quads( struct lp_rasterizer *rast, depth = tile->depth + iy*TILE_SIZE + 2*ix; /* XXX: This will most likely fail on 32bit x86 without -mstackrealign */ - assert(lp_check_alignment(mask, 16)); + assert(lp_check_alignment(masks, 16)); assert(lp_check_alignment(depth, 16)); assert(lp_check_alignment(color, 16)); |