summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_to_ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_to_ssa.c')
-rw-r--r--src/compiler/nir/nir_to_ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_to_ssa.c b/src/compiler/nir/nir_to_ssa.c
index 7dc283d045b..9ffb2fdfd26 100644
--- a/src/compiler/nir/nir_to_ssa.c
+++ b/src/compiler/nir/nir_to_ssa.c
@@ -533,7 +533,7 @@ nir_convert_to_ssa_impl(nir_function_impl *impl)
void
nir_convert_to_ssa(nir_shader *shader)
{
- nir_foreach_function(shader, function) {
+ nir_foreach_function(function, shader) {
if (function->impl)
nir_convert_to_ssa_impl(function->impl);
}