diff options
Diffstat (limited to 'src/compiler/nir/nir_split_var_copies.c')
-rw-r--r-- | src/compiler/nir/nir_split_var_copies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_split_var_copies.c b/src/compiler/nir/nir_split_var_copies.c index da82e7cf6a2..8ac65bf0008 100644 --- a/src/compiler/nir/nir_split_var_copies.c +++ b/src/compiler/nir/nir_split_var_copies.c @@ -208,7 +208,7 @@ split_var_copy_instr(nir_intrinsic_instr *old_copy, static bool split_var_copies_block(nir_block *block, struct split_var_copies_state *state) { - nir_foreach_instr_safe(block, instr) { + nir_foreach_instr_safe(instr, block) { if (instr->type != nir_instr_type_intrinsic) continue; |