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