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.
This commit is contained in:
Keith Whitwell
2009-11-06 11:21:08 +00:00
parent caf2cf884c
commit aab9601a75
+5 -2
View File
@@ -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) {