Mesa (master): i965: Gen6's sampler messages are the same as Ironlake.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Oct 6 19:15:33 UTC 2010
Module: Mesa
Branch: master
Commit: 75270f705f319b0ecf297d1bdd328e52a8a956aa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75270f705f319b0ecf297d1bdd328e52a8a956aa
Author: Eric Anholt <eric at anholt.net>
Date: Wed Oct 6 11:04:02 2010 -0700
i965: Gen6's sampler messages are the same as Ironlake.
This should fix texturing in the new FS backend.
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 7327c3a..1973990 100644
--- 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) {
More information about the mesa-commit
mailing list