diff --git a/src/compiler/nir/nir_opt_shrink_vectors.c b/src/compiler/nir/nir_opt_shrink_vectors.c index fc123ac8ee7..e0291efad34 100644 --- a/src/compiler/nir/nir_opt_shrink_vectors.c +++ b/src/compiler/nir/nir_opt_shrink_vectors.c @@ -322,7 +322,7 @@ opt_shrink_vectors_load_const(nir_load_const_instr *instr) /* Otherwise, just append the value */ if (j == num_components) { instr->value[num_components] = instr->value[i]; - if (i != num_components) + if (i != num_components) progress = true; reswizzle[i] = num_components++; }