diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 710e4888f85..29743cc8c0f 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -114,6 +114,7 @@ void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool has_arr } NIR_PASS(progress, nir, nir_opt_undef); + NIR_PASS(progress, nir, nir_opt_shrink_vectors, true); nir_opt_peephole_select_options peephole_discard_options = { .limit = 0,