Mesa (master): i965: Fix all non-snb regression in the snb attribute interpolation commit.
Eric Anholt
anholt at kemper.freedesktop.org
Tue Sep 28 17:11:13 UTC 2010
Module: Mesa
Branch: master
Commit: f1dba030564e66ca52f4ed44172681e7d2e90ad2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1dba030564e66ca52f4ed44172681e7d2e90ad2
Author: Eric Anholt <eric at anholt.net>
Date: Tue Sep 28 10:07:56 2010 -0700
i965: Fix all non-snb regression in the snb attribute interpolation commit.
This apparently had never been tested elsewhere before being merged to
master.
---
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 a88b7bd..d4d75d6 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);
More information about the mesa-commit
mailing list