Mesa (master): nir/opt_intrinsics: Report progress for the gl_SampleMask optimization

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 3 23:31:08 UTC 2020


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

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Thu Oct 29 10:15:46 2020 -0500

nir/opt_intrinsics: Report progress for the gl_SampleMask optimization

Fixes: d3ce8a7f6b93 "nir: optimize gl_SampleMaskIn to gl_HelperInvocation..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7366>

---

 src/compiler/nir/nir_opt_intrinsics.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/nir/nir_opt_intrinsics.c b/src/compiler/nir/nir_opt_intrinsics.c
index 503462ecfbe..69b53459824 100644
--- a/src/compiler/nir/nir_opt_intrinsics.c
+++ b/src/compiler/nir/nir_opt_intrinsics.c
@@ -86,6 +86,7 @@ opt_intrinsics_impl(nir_function_impl *impl,
                      nir_ssa_def_rewrite_uses(&alu->dest.dest.ssa,
                                               nir_src_for_ssa(new_expr));
                      nir_instr_remove(&alu->instr);
+                     progress = true;
                      continue;
                   }
                }



More information about the mesa-commit mailing list