summaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-04-17 16:24:15 -0700
committerRob Clark <[email protected]>2019-04-25 14:13:31 -0700
commit77b3b96a3bf237a44662f1782691b8ffbcef427b (patch)
tree045e63a5fe0bee38ca6d0726279542e96e48471f /src/freedreno/ir3/ir3.c
parent9032f0690cb4a98e19ba4498b2c6b389b4a80b35 (diff)
freedreno/ir3: more emit-cat5 fixes
Couple more opcodes which don't take a sampler id as first arg. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3.c')
-rw-r--r--src/freedreno/ir3/ir3.c2
1 files changed, 2 insertions, 0 deletions
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;