diff options
author | Eric Anholt <[email protected]> | 2010-09-28 10:07:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-09-28 10:10:42 -0700 |
commit | f1dba030564e66ca52f4ed44172681e7d2e90ad2 (patch) | |
tree | b1372be80da3d71365b97ac767aa733bb77e1594 | |
parent | 6bf12c8b7366a9db8c88b9cacaa06266b41a73b5 (diff) |
i965: Fix all non-snb regression in the snb attribute interpolation commit.
This apparently had never been tested elsewhere before being merged to
master.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_fp.c b/src/mesa/drivers/dri/i965/brw_wm_fp.c index a88b7bdea85..d4d75d63d8c 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_fp.c +++ b/src/mesa/drivers/dri/i965/brw_wm_fp.c @@ -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); |