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 834b5efdfef2bb515e3874fff2d8eeaa2172d3e8..0fa61f14b6f04f6ff75c0f03373a6f34d71221fe 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]))