From b6dc940ec273252678d40707d300851fa1c85ea5 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Wed, 13 Apr 2016 16:25:34 -0400 Subject: nir: rename nir_foreach_block*() to nir_foreach_block*_call() Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir_opt_undef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/nir/nir_opt_undef.c') diff --git a/src/compiler/nir/nir_opt_undef.c b/src/compiler/nir/nir_opt_undef.c index 374564d..38208f8 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 | -- cgit v1.1