diff options
author | Eric Anholt <[email protected]> | 2010-10-06 11:04:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-10-06 12:13:08 -0700 |
commit | 75270f705f319b0ecf297d1bdd328e52a8a956aa (patch) | |
tree | 28506cd85111406c37c7e8c7b0e867a17a92e3ba | |
parent | fe6efc25ed3c1edf26073c4e6b6a3a45c857c1eb (diff) |
i965: Gen6's sampler messages are the same as Ironlake.
This should fix texturing in the new FS backend.
-rw-r--r-- | 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 7327c3a700e..19739901619 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) { |