i965: Fix all non-snb regression in the snb attribute interpolation commit.

This apparently had never been tested elsewhere before being merged to
master.
This commit is contained in:
Eric Anholt 2010-09-28 10:07:56 -07:00
parent 6bf12c8b73
commit f1dba03056

View file

@ -342,7 +342,7 @@ static struct prog_src_register get_pixel_w( struct brw_wm_compile *c )
if (c->func.brw->intel.gen >= 6)
return src_undef();
if (!src_is_undef(c->pixel_w)) {
if (src_is_undef(c->pixel_w)) {
struct prog_dst_register pixel_w = get_temp(c);
struct prog_src_register deltas = get_delta_xy(c);
struct prog_src_register interp_wpos = src_reg(PROGRAM_PAYLOAD, FRAG_ATTRIB_WPOS);