diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_atomics.c')
-rw-r--r-- | src/compiler/nir/nir_lower_atomics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_atomics.c b/src/compiler/nir/nir_lower_atomics.c index b2ea31888f8..df34fdf7773 100644 --- a/src/compiler/nir/nir_lower_atomics.c +++ b/src/compiler/nir/nir_lower_atomics.c @@ -160,7 +160,7 @@ nir_lower_atomics(nir_shader *shader, nir_foreach_function(shader, function) { if (function->impl) { - nir_foreach_block(function->impl, lower_block, (void *) &state); + nir_foreach_block_call(function->impl, lower_block, (void *) &state); nir_metadata_preserve(function->impl, nir_metadata_block_index | nir_metadata_dominance); } |