projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6efc2
)
i965: Gen6's sampler messages are the same as Ironlake.
author
Eric Anholt
<eric@anholt.net>
Wed, 6 Oct 2010 18:04:02 +0000
(11:04 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 6 Oct 2010 19:13:08 +0000
(12:13 -0700)
This should fix texturing in the new FS backend.
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 7327c3a700eee16703ae5184da31d71bd94639c6..19739901619e80acde3eaedf8fa8b6aafab47611 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-2054,7
+2054,7
@@
fs_visitor::generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src)
int rlen = 4;
uint32_t simd_mode = BRW_SAMPLER_SIMD_MODE_SIMD8;
- if (intel->gen
=
= 5) {
+ if (intel->gen
>
= 5) {
switch (inst->opcode) {
case FS_OPCODE_TEX:
if (inst->shadow_compare) {