diff options
author | Keith Whitwell <[email protected]> | 2009-11-06 11:21:08 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-06 11:21:08 +0000 |
commit | aab9601a753afd012e16df072e774a32eb1348b9 (patch) | |
tree | 8e7b80b9e51a028e706fbec5c3ed9b3aa79574f0 /src | |
parent | caf2cf884cb32883e9af07dbe36ca9648bae1821 (diff) |
i965g: hardwire linear interpolation for now
seems to generate saner code, need to go back and fix perspective
interpolation (and remove the hard-wire) once this is working.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i965/brw_sf.c | 7 |
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) { |