summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-09-28 10:07:56 -0700
committerIan Romanick <[email protected]>2010-09-28 18:40:24 -0700
commitb4824096b0ab5a6d8b835ce1047f1cc84e365d9c (patch)
tree5636ac76cf7543cbb9edf33bc65cbeb0ec17ca7c
parent71bdc82c198432c00bc564bd796b8a4b549046df (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. (cherry picked from commit f1dba030564e66ca52f4ed44172681e7d2e90ad2)
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_fp.c2
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);