From: Eric Anholt Date: Wed, 6 Oct 2010 18:04:02 +0000 (-0700) Subject: i965: Gen6's sampler messages are the same as Ironlake. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75270f705f319b0ecf297d1bdd328e52a8a956aa;p=mesa.git i965: Gen6's sampler messages are the same as Ironlake. This should fix texturing in the new FS backend. --- 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) {