From: Connor Abbott Date: Fri, 20 Mar 2020 14:25:59 +0000 (+0100) Subject: ir3: LDC also has a destination X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d0bc13fcab225c7a129de2e18936fe197003dcc;p=mesa.git ir3: LDC also has a destination Part-of: --- 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);