diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_remove_phis.c')
-rw-r--r-- | src/compiler/nir/nir_opt_remove_phis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_remove_phis.c b/src/compiler/nir/nir_opt_remove_phis.c index 5d015c2..f1e7bb0 100644 --- a/src/compiler/nir/nir_opt_remove_phis.c +++ b/src/compiler/nir/nir_opt_remove_phis.c @@ -123,7 +123,7 @@ nir_opt_remove_phis(nir_shader *shader) { bool progress = false; - nir_foreach_function(shader, function) + nir_foreach_function(function, shader) if (function->impl) progress = remove_phis_impl(function->impl) || progress; |