nir: call nir_metadata_preserve in nir_vectorize_tess_levels
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 18 Aug 2021 13:24:50 +0000 (14:24 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 May 2022 13:37:20 +0000 (13:37 +0000)
commit3eed871f41fd7d590c57c684ca841a61513b7b8d
treecbceaf30bfe31e239cfdad4758712e604871cc90
parentf10d4bf963a4ba7ac5caafa809281b31bed13b9f
nir: call nir_metadata_preserve in nir_vectorize_tess_levels

This is necessary to use this pass with the NIR_PASS() macro.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12448>
src/compiler/nir/nir_lower_io_to_vector.c