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:
parent
9032f0690c
commit
77b3b96a3b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue