965: hardwire correct behaviour for vp-tri setup (for now...)
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Dec 2007 15:16:25 +0000 (15:16 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Dec 2007 15:16:25 +0000 (15:16 +0000)
src/mesa/pipe/i965simple/brw_sf_emit.c

index 834b5ef..0fa61f1 100644 (file)
@@ -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]))