projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf12c8
)
i965: Fix all non-snb regression in the snb attribute interpolation commit.
author
Eric Anholt
<eric@anholt.net>
Tue, 28 Sep 2010 17:07:56 +0000
(10:07 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 28 Sep 2010 17:10:42 +0000
(10:10 -0700)
This apparently had never been tested elsewhere before being merged to
master.
src/mesa/drivers/dri/i965/brw_wm_fp.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_fp.c
b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index a88b7bdea85d9c7c2d937b58e58cfc3e47c2a3d3..d4d75d63d8ccc36331f587194e7bae8fed2c07df 100644
(file)
--- 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);