From 7d0bc13fcab225c7a129de2e18936fe197003dcc Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 20 Mar 2020 15:25:59 +0100 Subject: [PATCH] ir3: LDC also has a destination Part-of: --- src/freedreno/ir3/ir3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ir3/ir3.c b/src/freedreno/ir3/ir3.c index 7af46055c02..5f43da8b422 100644 --- a/src/freedreno/ir3/ir3.c +++ b/src/freedreno/ir3/ir3.c @@ -525,7 +525,7 @@ static int emit_cat6_a6xx(struct ir3_instruction *instr, void *ptr, { struct ir3_register *src1, *src2; instr_cat6_a6xx_t *cat6 = ptr; - bool has_dest = (instr->opc == OPC_LDIB); + bool has_dest = (instr->opc == OPC_LDIB || instr->opc == OPC_LDC); /* first reg should be SSBO binding point: */ iassert(instr->regs[1]->flags & IR3_REG_IMMED); -- 2.30.2