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:
parent
a578592fd2
commit
191bc64f82
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue