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

Author: Jesse Natalie <[email protected]>
Date:   Fri Apr 30 15:42:38 2021 -0700

llvmpipe: Fix optimization loop to actually loop

Reviewed-by: Dave Airlie <[email protected]>
Acked-by: Erik Faye-Lund <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10549>

---

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

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c 
b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index fd252bd1066..5ac3e766362 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@ -2342,9 +2342,9 @@ void lp_build_opt_nir(struct nir_shader *nir)
    NIR_PASS_V(nir, nir_lower_fp16_casts);
    do {
       progress = false;
-      NIR_PASS_V(nir, nir_opt_constant_folding);
-      NIR_PASS_V(nir, nir_opt_algebraic);
-      NIR_PASS_V(nir, nir_lower_pack);
+      NIR_PASS(progress, nir, nir_opt_constant_folding);
+      NIR_PASS(progress, nir, nir_opt_algebraic);
+      NIR_PASS(progress, nir, nir_lower_pack);
 
       nir_lower_tex_options options = { .lower_tex_without_implicit_lod = true 
};
       NIR_PASS_V(nir, nir_lower_tex, &options);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to