From ef800da3f7c69e0de5c8388442b8890f38e8593c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Ondra=C4=8Dka?= Date: Tue, 31 Jan 2023 13:29:48 +0100 Subject: [PATCH] nir: nir opt_shrink_vectors whitespace fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Ondračka Reviewed-by: Timur Kristóf Reviewed-by: Emma Anholt Part-of: --- src/compiler/nir/nir_opt_shrink_vectors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }