Mesa (main): gallivm: use progress from subgroup lowering.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 27 21:35:18 UTC 2022


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 18 15:00:01 2022 +1000

gallivm: use progress from subgroup lowering.

This makes sure the pack lowering gets called again.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17588>

---

 src/gallium/auxiliary/gallivm/lp_bld_nir.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index 3cf110f533a..1c38e49c05c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@ -2771,8 +2771,7 @@ lp_build_opt_nir(struct nir_shader *nir)
          .lower_subgroup_masks = true,
          .lower_relative_shuffle = true,
       };
-      NIR_PASS_V(nir, nir_lower_subgroups, &subgroups_options);
-
+      NIR_PASS(progress, nir, nir_lower_subgroups, &subgroups_options);
    } while (progress);
 
    do {



More information about the mesa-commit mailing list