agx: Set reads_tib appropriately

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10720>
This commit is contained in:
Alyssa Rosenzweig 2021-05-09 21:05:07 -04:00
parent d0f566a90d
commit 15b5573194
1 changed files with 1 additions and 0 deletions

View File

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