Module: Mesa
Branch: main
Commit: 3f2328c6295cdbec937fba6e89bfe2ed9ec7c012
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f2328c6295cdbec937fba6e89bfe2ed9ec7c012

Author: Emma Anholt <[email protected]>
Date:   Thu Mar 23 09:42:05 2023 -0700

panfrost/midgard: Enable nir_lower_frexp.

Needed for dropping the GLSL frontend lowering.

Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083>

---

 src/panfrost/midgard/midgard_compile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panfrost/midgard/midgard_compile.c 
b/src/panfrost/midgard/midgard_compile.c
index 07f300ec1cd..2dab5fc9a8a 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -368,6 +368,7 @@ midgard_preprocess_nir(nir_shader *nir, unsigned gpu_id)
    NIR_PASS_V(nir, pan_nir_lower_zs_store);
 
    NIR_PASS_V(nir, pan_nir_lower_64bit_intrin);
+   NIR_PASS_V(nir, nir_lower_frexp);
 
    NIR_PASS_V(nir, midgard_nir_lower_global_load);
 

Reply via email to