From 5deb7c26d67bcb37daaeb1d5132393d81555f63c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 24 Jul 2021 14:27:35 -0400 Subject: [PATCH] agx: Don't set helper invocation kill bit In the future we'll need data flow analysis similar to what we do in panfrost. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asahi/compiler/agx_pack.c b/src/asahi/compiler/agx_pack.c index 11484ddf621..cb462f94daf 100644 --- a/src/asahi/compiler/agx_pack.c +++ b/src/asahi/compiler/agx_pack.c @@ -526,13 +526,13 @@ agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups, agx unsigned q1 = 0; // XXX unsigned q2 = 0; // XXX unsigned q3 = 12; // XXX - unsigned q4 = 1; // XXX + unsigned kill = 0; // helper invocation kill bit unsigned q5 = 0; // XXX unsigned q6 = 0; // XXX uint32_t extend = ((U & BITFIELD_MASK(5)) << 0) | - (q4 << 5) | + (kill << 5) | ((R >> 6) << 8) | ((C >> 6) << 10) | ((D >> 6) << 12) |