diff options
Diffstat (limited to 'src/compiler/nir/nir_opt_undef.c')
-rw-r--r-- | src/compiler/nir/nir_opt_undef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_undef.c b/src/compiler/nir/nir_opt_undef.c index 374564d34c5..38208f8476f 100644 --- a/src/compiler/nir/nir_opt_undef.c +++ b/src/compiler/nir/nir_opt_undef.c @@ -92,7 +92,7 @@ nir_opt_undef(nir_shader *shader) nir_foreach_function(shader, function) { if (function->impl) { - nir_foreach_block(function->impl, opt_undef_block, &progress); + nir_foreach_block_call(function->impl, opt_undef_block, &progress); if (progress) nir_metadata_preserve(function->impl, nir_metadata_block_index | |