diff options
author | Connor Abbott <[email protected]> | 2016-04-13 16:25:34 -0400 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 09:47:05 -0700 |
commit | b6dc940ec273252678d40707d300851fa1c85ea5 (patch) | |
tree | 3709a76d6d2bff986f8d8ee0700c3fc072c68f48 /src/gallium/drivers/vc4/vc4_program.c | |
parent | 7143068296aaca8c5af3469c013a7c2a850aee84 (diff) |
nir: rename nir_foreach_block*() to nir_foreach_block*_call()
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_program.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index eccc7ab413f..8aba8badc42 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -1794,7 +1794,7 @@ count_nir_instrs(nir_shader *nir) nir_foreach_function(nir, function) { if (!function->impl) continue; - nir_foreach_block(function->impl, count_nir_instrs_in_block, &count); + nir_foreach_block_call(function->impl, count_nir_instrs_in_block, &count); } return count; } |