radv: delay nir_opt_shrink_vectors

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36936>
This commit is contained in:
Daniel Schürmann
2025-08-20 16:22:29 +02:00
committed by Marge Bot
parent fdd6bdf03d
commit 50fcfe6bd8
+1 -1
View File
@@ -564,11 +564,11 @@ radv_postprocess_nir(struct radv_device *device, const struct radv_graphics_stat
if (!stage->key.optimisations_disabled) {
NIR_PASS(_, stage->nir, nir_opt_dce);
NIR_PASS(_, stage->nir, nir_opt_shrink_vectors, true);
NIR_PASS(_, stage->nir, nir_copy_prop);
NIR_PASS(_, stage->nir, nir_opt_constant_folding);
NIR_PASS(_, stage->nir, nir_opt_cse);
NIR_PASS(_, stage->nir, nir_opt_shrink_vectors, true);
nir_load_store_vectorize_options late_vectorize_opts = {
.modes =