diff options
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; } |