From: Keith Whitwell Date: Wed, 19 Dec 2007 15:16:25 +0000 (+0000) Subject: 965: hardwire correct behaviour for vp-tri setup (for now...) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86ddaa9d0e3c80e0fd7b7c99b66e46e0bcbdb04d;p=mesa.git 965: hardwire correct behaviour for vp-tri setup (for now...) --- 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]))