Module: Mesa Branch: main Commit: 094b5a71d759de547ae30871810840ea9980be4e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=094b5a71d759de547ae30871810840ea9980be4e
Author: Emma Anholt <[email protected]> Date: Wed Mar 22 14:00:04 2023 -0700 agx: Enable nir_lower_frexp. Needed for Vulkan, and for dropping GLSL frontend lowering for the deqp coverage override case. Reviewed-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083> --- 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 8fec69e43ad..2de19893824 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -2325,6 +2325,7 @@ agx_preprocess_nir(nir_shader *nir, bool support_lod_bias) NIR_PASS_V(nir, nir_lower_regs_to_ssa); NIR_PASS_V(nir, nir_lower_idiv, &idiv_options); + NIR_PASS_V(nir, nir_lower_frexp); NIR_PASS_V(nir, nir_lower_alu_to_scalar, NULL, NULL); NIR_PASS_V(nir, nir_lower_load_const_to_scalar); NIR_PASS_V(nir, nir_lower_flrp, 16 | 32 | 64, false);
