Module: Mesa Branch: staging/18.1 Commit: 7c3f43cba3ebe5b54014f909026e78e258aa972a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c3f43cba3ebe5b54014f909026e78e258aa972a
Author: Karol Herbst <[email protected]> Date: Mon Jul 16 14:58:31 2018 +0200 nir/lower_int64: mark all metadata as dirty v2: use nir_metadata_preserve preserve metadata in case of !progress Fixes: 074f5ba0b56b12ddaca81eac3d9ed19da7054297 "nir: Add a simple int64 lowering pass" Signed-off-by: Karol Herbst <[email protected]> (cherry picked from commit bc0e0c28186740493584da09d20587aa49732f96) --- src/compiler/nir/nir_lower_int64.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compiler/nir/nir_lower_int64.c b/src/compiler/nir/nir_lower_int64.c index 22f69ef4a6..0d7f165b40 100644 --- a/src/compiler/nir/nir_lower_int64.c +++ b/src/compiler/nir/nir_lower_int64.c @@ -279,6 +279,9 @@ lower_int64_impl(nir_function_impl *impl, nir_lower_int64_options options) } } + if (progress) + nir_metadata_preserve(impl, nir_metadata_none); + return progress; } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
