summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-09-07 07:55:28 +0100
committerKeith Whitwell <keithw@vmware.com>2010-09-12 15:03:49 +0100
commit67b957781d8195b8f8867e994c03b68f8dc5c807 (patch)
tree9e58e46446537b73e48d667cf6da9c484ec9ce6b /src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
parent4b99b9f5ff8e55252be7cd6dcc2e9fda24561ea3 (diff)
llvmpipe: pass linear masks to fragment shader
Fragment shader can extract the correct bits for each quad.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
index 52b9012036..a99c8ecfa7 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
@@ -50,9 +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].dcdx,
- plane[j].dcdy);
+ mask &= ~build_mask_linear(c[j] - 1,
+ -plane[j].dcdx,
+ plane[j].dcdy);
}
/* Now pass to the shader: