From 15b557319400424579dcb62c70ed8c72882b44bd Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 9 May 2021 21:05:07 -0400 Subject: [PATCH] agx: Set reads_tib appropriately Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index b347e6c2129..5f0ca1f72b6 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -201,6 +201,7 @@ agx_emit_load_tile(agx_builder *b, nir_intrinsic_instr *instr) agx_writeout(b, 0xC200); agx_writeout(b, 0x0008); b->shader->did_writeout = true; + b->shader->out->reads_tib = true; return agx_ld_tile_to(b, agx_dest_index(&instr->dest), b->shader->key->fs.tib_formats[rt]);