i965/blorp: Put sampler index in src1 of texture ops
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 3 Aug 2014 09:39:13 +0000 (21:39 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 9 Aug 2014 01:12:21 +0000 (13:12 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp

index 9459d5cf695cd98727e5150e4c3d0d1597f051df..acaf92b0fe2c12ae99d11eca4340c1e3163efe4e 100644 (file)
@@ -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;