From e04779ad4b244d3789f6682011aa67174fec0347 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 19 Apr 2024 22:11:48 -0400 Subject: [PATCH] asahi: lower texture instructions with epilogs for eMRT Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/agx_nir_prolog_epilog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asahi/lib/agx_nir_prolog_epilog.c b/src/asahi/lib/agx_nir_prolog_epilog.c index c3488a15a95..e5b34efa485 100644 --- a/src/asahi/lib/agx_nir_prolog_epilog.c +++ b/src/asahi/lib/agx_nir_prolog_epilog.c @@ -400,6 +400,7 @@ agx_nir_fs_epilog(nir_builder *b, const void *key_) unsigned rt_spill = key->link.rt_spill_base; NIR_PASS(_, b->shader, agx_nir_lower_tilebuffer, &tib, colormasks, &rt_spill, &force_translucent); + NIR_PASS(_, b->shader, agx_nir_lower_texture); NIR_PASS(_, b->shader, agx_nir_lower_multisampled_image_store); /* If the API shader runs once per sample, then the epilog runs once per