Mesa (master): pan/mdg: Use the pan_nir_lower_64bit_intrin NIR pass

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 1 03:14:23 UTC 2021


Module: Mesa
Branch: master
Commit: 1db1537e95d2845c8eaf15a817964cbf9bc63955
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1db1537e95d2845c8eaf15a817964cbf9bc63955

Author: Icecream95 <ixn at disroot.org>
Date:   Sun Dec 27 00:04:52 2020 +1300

pan/mdg: Use the pan_nir_lower_64bit_intrin NIR pass

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8264>

---

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

diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index c0be6a79f72..eea01a8525e 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -2848,6 +2848,8 @@ midgard_compile_shader_nir(void *mem_ctx, nir_shader *nir,
         NIR_PASS_V(nir, nir_lower_ssbo);
         NIR_PASS_V(nir, pan_nir_lower_zs_store);
 
+        NIR_PASS_V(nir, pan_nir_lower_64bit_intrin);
+
         /* Optimisation passes */
 
         optimise_nir(nir, ctx->quirks, inputs->is_blend);



More information about the mesa-commit mailing list