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_remove_dead_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/nir/nir_remove_dead_variables.c') diff --git a/src/compiler/nir/nir_remove_dead_variables.c b/src/compiler/nir/nir_remove_dead_variables.c index 7395805..22a286f 100644 --- a/src/compiler/nir/nir_remove_dead_variables.c +++ b/src/compiler/nir/nir_remove_dead_variables.c @@ -97,7 +97,7 @@ add_var_use_shader(nir_shader *shader, struct set *live) { nir_foreach_function(shader, function) { if (function->impl) { - nir_foreach_block(function->impl, add_var_use_block, live); + nir_foreach_block_call(function->impl, add_var_use_block, live); } } } -- cgit v1.1