aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_idiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_idiv.c')
-rw-r--r--src/compiler/nir/nir_lower_idiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_idiv.c b/src/compiler/nir/nir_lower_idiv.c
index f5dafa72137..83e265b7d0d 100644
--- a/src/compiler/nir/nir_lower_idiv.c
+++ b/src/compiler/nir/nir_lower_idiv.c
@@ -124,7 +124,7 @@ convert_impl(nir_function_impl *impl)
nir_builder_init(&b, impl);
nir_foreach_block(block, impl) {
- nir_foreach_instr_safe(block, instr) {
+ nir_foreach_instr_safe(instr, block) {
if (instr->type == nir_instr_type_alu)
convert_instr(&b, nir_instr_as_alu(instr));
}