summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_nir_lower_blend.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_nir_lower_io.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c b/src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c
index ec76b0bdc4d..8f7ea1c9083 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c
@@ -315,7 +315,7 @@ lower_if_else_impl(nir_function_impl *impl)
state.progress = false;
nir_builder_init(&state.b, impl);
- nir_foreach_block(impl, lower_if_else_block, &state);
+ nir_foreach_block_call(impl, lower_if_else_block, &state);
if (state.progress)
nir_metadata_preserve(impl, nir_metadata_none);
diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_blend.c b/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
index cf6d2896f7d..99cbf30863a 100644
--- a/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
+++ b/src/gallium/drivers/vc4/vc4_nir_lower_blend.c
@@ -714,7 +714,7 @@ vc4_nir_lower_blend(nir_shader *s, struct vc4_compile *c)
{
nir_foreach_function(s, function) {
if (function->impl) {
- nir_foreach_block(function->impl,
+ nir_foreach_block_call(function->impl,
vc4_nir_lower_blend_block, c);
nir_metadata_preserve(function->impl,
diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_io.c b/src/gallium/drivers/vc4/vc4_nir_lower_io.c
index 22c602adb54..be89bfcc937 100644
--- a/src/gallium/drivers/vc4/vc4_nir_lower_io.c
+++ b/src/gallium/drivers/vc4/vc4_nir_lower_io.c
@@ -446,7 +446,7 @@ vc4_nir_lower_io_block(nir_block *block, void *arg)
static bool
vc4_nir_lower_io_impl(struct vc4_compile *c, nir_function_impl *impl)
{
- nir_foreach_block(impl, vc4_nir_lower_io_block, c);
+ nir_foreach_block_call(impl, vc4_nir_lower_io_block, c);
nir_metadata_preserve(impl, nir_metadata_block_index |
nir_metadata_dominance);
diff --git a/src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c b/src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c
index 6b8830743eb..0e7b2d5e25e 100644
--- a/src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c
+++ b/src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c
@@ -152,7 +152,7 @@ vc4_nir_lower_txf_ms_block(nir_block *block, void *arg)
static bool
vc4_nir_lower_txf_ms_impl(struct vc4_compile *c, nir_function_impl *impl)
{
- nir_foreach_block(impl, vc4_nir_lower_txf_ms_block, c);
+ nir_foreach_block_call(impl, vc4_nir_lower_txf_ms_block, c);
nir_metadata_preserve(impl,
nir_metadata_block_index |
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;
}