summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c b/src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c
index 9c65e54..57cc07d 100644
--- a/src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c
+++ b/src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c
@@ -163,7 +163,7 @@ brw_nir_apply_attribute_workarounds(nir_shader *shader,
nir_builder_init(&state.builder, func->impl);
state.impl_progress = false;
- nir_foreach_block(func->impl, apply_attr_wa_block, &state);
+ nir_foreach_block_call(func->impl, apply_attr_wa_block, &state);
if (state.impl_progress) {
nir_metadata_preserve(func->impl, nir_metadata_block_index |