nir: nir opt_shrink_vectors whitespace fix

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21014>
This commit is contained in:
Pavel Ondračka
2023-01-31 13:29:48 +01:00
committed by Marge Bot
parent ab4c2990ed
commit ef800da3f7
+1 -1
View File
@@ -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++;
}