diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_dead_cf.c')
-rw-r--r-- | src/compiler/nir/nir_opt_dead_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_dead_cf.c b/src/compiler/nir/nir_opt_dead_cf.c index 4b62e55d030..2e04c179073 100644 --- a/src/compiler/nir/nir_opt_dead_cf.c +++ b/src/compiler/nir/nir_opt_dead_cf.c @@ -349,7 +349,7 @@ nir_opt_dead_cf(nir_shader *shader) { bool progress = false; - nir_foreach_function(shader, function) + nir_foreach_function(function, shader) if (function->impl) progress |= opt_dead_cf_impl(function->impl); |