aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_double_packing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_double_packing.c')
-rw-r--r--src/compiler/nir/nir_lower_double_packing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_double_packing.c b/src/compiler/nir/nir_lower_double_packing.c
index c34c267c0f8..22092a2693f 100644
--- a/src/compiler/nir/nir_lower_double_packing.c
+++ b/src/compiler/nir/nir_lower_double_packing.c
@@ -87,7 +87,7 @@ lower_double_pack_impl(nir_function_impl *impl)
void
nir_lower_double_pack(nir_shader *shader)
{
- nir_foreach_function(shader, function) {
+ nir_foreach_function(function, shader) {
if (function->impl)
lower_double_pack_impl(function->impl);
}