summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_sf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_sf.c b/src/gallium/drivers/i965/brw_sf.c
index 24d1015bbd5..52fb2cd42d5 100644
--- a/src/gallium/drivers/i965/brw_sf.c
+++ b/src/gallium/drivers/i965/brw_sf.c
@@ -138,8 +138,11 @@ static enum pipe_error upload_sf_prog(struct brw_context *brw)
* XXX: as long as we're hard-wiring, is eg. position required to
* be linear?
*/
- key.linear_attrs = 0;
- key.persp_attrs = (1 << key.nr_attrs) - 1;
+ //key.linear_attrs = 0;
+ //key.persp_attrs = (1 << key.nr_attrs) - 1;
+
+ key.linear_attrs = (1 << key.nr_attrs) - 1;
+ key.persp_attrs = 0;
/* BRW_NEW_REDUCED_PRIMITIVE */
switch (brw->reduced_primitive) {