nir: preserve all metadata when nir_propagate_invariant doesn't make progress
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Tue, 10 Aug 2021 10:43:05 +0000 (12:43 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 Oct 2021 10:02:54 +0000 (10:02 +0000)
commit54df09c8d434b279434fb17aa3e5ffc2f0d4f1fe
treec04ebf690f18f581e6e7ca4e9fff707fb555c05e
parent804c56f1a26c7b134c38f4b85126653fa0f950db
nir: preserve all metadata when nir_propagate_invariant doesn't make progress

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13189>
src/compiler/nir/nir_propagate_invariant.c