diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_constant_folding.c')
-rw-r--r-- | src/compiler/nir/nir_opt_constant_folding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_constant_folding.c b/src/compiler/nir/nir_opt_constant_folding.c index caa4231..9232ec4 100644 --- a/src/compiler/nir/nir_opt_constant_folding.c +++ b/src/compiler/nir/nir_opt_constant_folding.c @@ -208,7 +208,7 @@ nir_opt_constant_folding_impl(nir_function_impl *impl) state.impl = impl; state.progress = false; - nir_foreach_block(impl, constant_fold_block, &state); + nir_foreach_block_call(impl, constant_fold_block, &state); if (state.progress) nir_metadata_preserve(impl, nir_metadata_block_index | |