From e3e82f7a6cd532d4ad2ab5a6b6746c52e604f558 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 7 Aug 2024 13:10:42 -0400 Subject: [PATCH] agx: add a comment about an unknown bit Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_pack.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/asahi/compiler/agx_pack.c b/src/asahi/compiler/agx_pack.c index c4ed56750ef..86125fc29e2 100644 --- a/src/asahi/compiler/agx_pack.c +++ b/src/asahi/compiler/agx_pack.c @@ -961,6 +961,10 @@ agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups, unsigned R = offset.value; bool unk1 = true; + + /* This bit has weird behaviour with the interaction of the texture state + * index and the tilebuffer offset. Probably best not to use it for now. + */ unsigned unk3 = 1; uint32_t word0 = agx_opcodes_info[I->op].encoding.exact |