nir/opt_move: invalidate nir_metadata_instr_index

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33354>
This commit is contained in:
Rhys Perry 2025-01-10 17:06:31 +00:00 committed by Marge Bot
parent f42b72a08f
commit b5a9ab90d2

View file

@ -149,7 +149,7 @@ nir_opt_move(nir_shader *shader, nir_move_options options)
nir_metadata_live_defs);
progress = true;
} else {
nir_metadata_preserve(impl, nir_metadata_all);
nir_metadata_preserve(impl, nir_metadata_all & ~nir_metadata_instr_index);
}
}