summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-19 15:16:25 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-19 15:16:25 +0000
commit86ddaa9d0e3c80e0fd7b7c99b66e46e0bcbdb04d (patch)
tree1318f29c8ca6ecf38963cf1008b786b3869395b7
parentded6ce2bd56526dbd2b359457f259cc5b2a93eb8 (diff)
965: hardwire correct behaviour for vp-tri setup (for now...)
-rw-r--r--src/mesa/pipe/i965simple/brw_sf_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_sf_emit.c b/src/mesa/pipe/i965simple/brw_sf_emit.c
index 834b5efdfef..0fa61f14b6f 100644
--- a/src/mesa/pipe/i965simple/brw_sf_emit.c
+++ b/src/mesa/pipe/i965simple/brw_sf_emit.c
@@ -148,7 +148,7 @@ static boolean calculate_masks( struct brw_sf_compile *c,
/* Maybe only processs one attribute on the final round:
*/
- if (reg*2+1 < c->nr_setup_attrs) {
+ if (1 || reg*2+1 < c->nr_setup_attrs) {
*pc |= 0xf0;
// if (persp_mask & (1 << c->idx_to_attr[reg*2+1]))