From ce65e0428ab8857e19746c7a097b4190222cf7f3 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 18 Jul 2022 15:00:01 +1000 Subject: [PATCH] gallivm: use progress from subgroup lowering. This makes sure the pack lowering gets called again. Acked-By: Mike Blumenkrantz Part-of: --- 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 {