diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_copy_propagate.c')
-rw-r--r-- | src/compiler/nir/nir_opt_copy_propagate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_copy_propagate.c b/src/compiler/nir/nir_opt_copy_propagate.c index 6e88077..adca7fa 100644 --- a/src/compiler/nir/nir_opt_copy_propagate.c +++ b/src/compiler/nir/nir_opt_copy_propagate.c @@ -269,7 +269,7 @@ nir_copy_prop(nir_shader *shader) { bool progress = false; - nir_foreach_function(shader, function) { + nir_foreach_function(function, shader) { if (function->impl && nir_copy_prop_impl(function->impl)) progress = true; } |