aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_vec_to_movs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_vec_to_movs.c')
-rw-r--r--src/compiler/nir/nir_lower_vec_to_movs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_vec_to_movs.c b/src/compiler/nir/nir_lower_vec_to_movs.c
index 002ebf3ba2a..90619c9fa3a 100644
--- a/src/compiler/nir/nir_lower_vec_to_movs.c
+++ b/src/compiler/nir/nir_lower_vec_to_movs.c
@@ -300,7 +300,7 @@ nir_lower_vec_to_movs(nir_shader *shader)
{
bool progress = false;
- nir_foreach_function(shader, function) {
+ nir_foreach_function(function, shader) {
if (function->impl)
progress = nir_lower_vec_to_movs_impl(function->impl) || progress;
}