From 77b3b96a3bf237a44662f1782691b8ffbcef427b Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 17 Apr 2019 16:24:15 -0700 Subject: [PATCH] freedreno/ir3: more emit-cat5 fixes Couple more opcodes which don't take a sampler id as first arg. Signed-off-by: Rob Clark --- src/freedreno/ir3/ir3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/ir3/ir3.c b/src/freedreno/ir3/ir3.c index 8c7410a8213..2bb235e3c23 100644 --- a/src/freedreno/ir3/ir3.c +++ b/src/freedreno/ir3/ir3.c @@ -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; -- 2.30.2