Mesa (master): i965/blorp: Put sampler index in src1 of texture ops

Chris Forbes chrisf at kemper.freedesktop.org
Sat Aug 9 01:21:58 UTC 2014


Module: Mesa
Branch: master
Commit: 191bc64f824beae1df9c82a9931a7776eda16e36
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=191bc64f824beae1df9c82a9931a7776eda16e36

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Sun Aug  3 21:39:13 2014 +1200

i965/blorp: Put sampler index in src1 of texture ops

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
index 9459d5c..acaf92b 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp
@@ -78,7 +78,8 @@ brw_blorp_eu_emitter::emit_texture_lookup(const struct brw_reg &dst,
                                           unsigned base_mrf,
                                           unsigned msg_length)
 {
-   fs_inst *inst = new (mem_ctx) fs_inst(op, dst, brw_message_reg(base_mrf));
+   fs_inst *inst = new (mem_ctx) fs_inst(op, dst, brw_message_reg(base_mrf),
+                                         fs_reg(0u));
 
    inst->base_mrf = base_mrf;
    inst->mlen = msg_length;




More information about the mesa-commit mailing list