summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-08-15 16:32:45 +0100
committerKeith Whitwell <keithw@vmware.com>2010-08-15 16:32:45 +0100
commit515194968d033d2c0c5678677f7606d38635d747 (patch)
tree7b373d6cbf1311b0c60816e2b4577589d85fa3ae /src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
parent510b03539413552a543e25de6b896eb10baf60ae (diff)
llvmpipe: version of block4 which doesn't need the full step array
No noticable slowdown with isosurf.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
index fcb8e2b05d..e14886f0b9 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
@@ -50,7 +50,9 @@ TAG(do_block_4)(struct lp_rasterizer_task *task,
int j;
for (j = 0; j < NR_PLANES; j++) {
- mask &= ~build_mask(c[j] - 1, plane[j].step);
+ mask &= ~build_mask(c[j] - 1,
+ plane[j].step[1],
+ plane[j].step[2]);
}
/* Now pass to the shader: