aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_load_const_to_scalar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_load_const_to_scalar.c')
-rw-r--r--src/compiler/nir/nir_lower_load_const_to_scalar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_load_const_to_scalar.c b/src/compiler/nir/nir_lower_load_const_to_scalar.c
index db5865fb0c0..44242320b72 100644
--- a/src/compiler/nir/nir_lower_load_const_to_scalar.c
+++ b/src/compiler/nir/nir_lower_load_const_to_scalar.c
@@ -81,7 +81,7 @@ lower_load_const_to_scalar_block(nir_block *block, void *data)
static void
nir_lower_load_const_to_scalar_impl(nir_function_impl *impl)
{
- nir_foreach_block(impl, lower_load_const_to_scalar_block, NULL);
+ nir_foreach_block_call(impl, lower_load_const_to_scalar_block, NULL);
}
void