diff options
Diffstat (limited to 'src/compiler/nir/nir_split_var_copies.c')
-rw-r--r-- | src/compiler/nir/nir_split_var_copies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_split_var_copies.c b/src/compiler/nir/nir_split_var_copies.c index 8ac65bf0008..f9ad49a7cb3 100644 --- a/src/compiler/nir/nir_split_var_copies.c +++ b/src/compiler/nir/nir_split_var_copies.c @@ -278,7 +278,7 @@ nir_split_var_copies(nir_shader *shader) { bool progress = false; - nir_foreach_function(shader, function) { + nir_foreach_function(function, shader) { if (function->impl) progress = split_var_copies_impl(function->impl) || progress; } |