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

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>
This commit is contained in:
Chris Forbes 2014-08-03 21:39:13 +12:00
parent a578592fd2
commit 191bc64f82
1 changed files with 2 additions and 1 deletions

View 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;