nir: Add a nir_foreach_function_temp_variable helper
Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
This commit is contained in:
committed by
Marge Bot
parent
2956d53400
commit
92dcda5ce9
@@ -1178,7 +1178,7 @@ validate_function_impl(nir_function_impl *impl, validate_state *state)
|
||||
state->parent_node = &impl->cf_node;
|
||||
|
||||
exec_list_validate(&impl->locals);
|
||||
nir_foreach_variable(var, &impl->locals) {
|
||||
nir_foreach_function_temp_variable(var, impl) {
|
||||
validate_var_decl(var, nir_var_function_temp, state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user