freedreno/ir3: more emit-cat5 fixes

Couple more opcodes which don't take a sampler id as first arg.

Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
Rob Clark 2019-04-17 16:24:15 -07:00
parent 9032f0690c
commit 77b3b96a3b
1 changed files with 2 additions and 0 deletions

View File

@ -464,6 +464,8 @@ static int emit_cat5(struct ir3_instruction *instr, void *ptr,
case OPC_DSXPP_1:
case OPC_DSY:
case OPC_DSYPP_1:
case OPC_RGETPOS:
case OPC_RGETINFO:
iassert((instr->flags & IR3_INSTR_S2EN) == 0);
src1 = instr->regs[1];
src2 = instr->regs_count > 2 ? instr->regs[2] : NULL;