Mesa (master): ir3: LDC also has a destination

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 9 16:15:24 UTC 2020


Module: Mesa
Branch: master
Commit: 7d0bc13fcab225c7a129de2e18936fe197003dcc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d0bc13fcab225c7a129de2e18936fe197003dcc

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Mar 20 15:25:59 2020 +0100

ir3: LDC also has a destination

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4358>

---

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



More information about the mesa-commit mailing list