nir: rename nir_foreach_block*() to nir_foreach_block*_call()
[mesa.git] / src / compiler / nir / nir_lower_global_vars_to_local.c
index 7b4cd4ee8dc8d77ea0fceeb4f57f5f3e5389fddb..fc9d304b85b2dfb552808849f56c789b63b1f90a 100644 (file)
@@ -85,7 +85,7 @@ nir_lower_global_vars_to_local(nir_shader *shader)
    nir_foreach_function(shader, function) {
       if (function->impl) {
          state.impl = function->impl;
-         nir_foreach_block(function->impl, mark_global_var_uses_block, &state);
+         nir_foreach_block_call(function->impl, mark_global_var_uses_block, &state);
       }
    }