diff options
author | Connor Abbott <[email protected]> | 2020-03-20 15:25:59 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-09 15:56:55 +0000 |
commit | 7d0bc13fcab225c7a129de2e18936fe197003dcc (patch) | |
tree | 44fe25e64e69cdcbf22818c54c1371db424796c1 | |
parent | 1842961e58ccb3e1036bb9657416cf89c3982c50 (diff) |
ir3: LDC also has a destination
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4358>
-rw-r--r-- | src/freedreno/ir3/ir3.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |