nir: rename nir_foreach_block*() to nir_foreach_block*_call()

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Connor Abbott
2016-04-13 16:25:34 -04:00
committed by Jason Ekstrand
parent 7143068296
commit b6dc940ec2
59 changed files with 92 additions and 89 deletions

View File

@@ -206,7 +206,7 @@ nir_lower_gs_intrinsics(nir_shader *shader)
nir_builder_init(&b, function->impl);
state.builder = &b;
nir_foreach_block(function->impl, rewrite_intrinsics, &state);
nir_foreach_block_call(function->impl, rewrite_intrinsics, &state);
/* This only works because we have a single main() function. */
append_set_vertex_count(function->impl->end_block, &state);