projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9767603
)
i965/vs: Put lod parameter in the correct place for Gen4
author
Chris Forbes
<chrisf@ijw.co.nz>
Tue, 30 Jul 2013 04:03:58 +0000
(16:03 +1200)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Wed, 31 Jul 2013 09:33:18 +0000
(21:33 +1200)
This was never visible before due to the bogus sampler state pointer.
Fixes remaining vertex texturing breakage on Gen4.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 1d86b33e8e894bd04b99ab767b1bf7cac29eef90..525485048cfc4ff16422523b3cab1b6ad58bb9be 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-2427,7
+2427,7
@@
vec4_visitor::visit(ir_texture *ir)
}
} else /* brw->gen == 4 */ {
mrf = param_base;
- writemask = WRITEMASK_
Z
;
+ writemask = WRITEMASK_
W
;
}
emit(MOV(dst_reg(MRF, mrf, lod_type, writemask), lod));
} else if (ir->op == ir_txf) {