ir3: LDC also has a destination

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4358>
This commit is contained in:
Connor Abbott
2020-03-20 15:25:59 +01:00
committed by Marge Bot
parent 1842961e58
commit 7d0bc13fca

View File

@@ -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);