summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_clip.c')
-rw-r--r--src/compiler/nir/nir_lower_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_clip.c b/src/compiler/nir/nir_lower_clip.c
index c711230ad5b..8437d2d775f 100644
--- a/src/compiler/nir/nir_lower_clip.c
+++ b/src/compiler/nir/nir_lower_clip.c
@@ -146,7 +146,7 @@ find_output(nir_shader *shader, unsigned drvloc)
nir_foreach_function(shader, function) {
if (function->impl) {
- nir_foreach_block_reverse(function->impl,
+ nir_foreach_block_reverse_call(function->impl,
find_output_in_block, &state);
}
}