mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 04:40:09 +01:00
This function is added for create strong relationship between nir_function_impl and nir_function. So that nir_function->impl->function == nir_function is always true when (nir_function->impl != NULL && nir_function->impl != NIR_SERIALIZE_FUNC_HAS_IMPL) And indeed this invariant is already done in functions validate_function and validate_function_impl of nir_validate Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23820> |
||
|---|---|---|
| .. | ||
| clc.c | ||
| clc.h | ||
| clc_helpers.cpp | ||
| clc_helpers.h | ||
| meson.build | ||
| nir_clc_helpers.h | ||
| nir_load_libclc.c | ||
| nir_lower_libclc.c | ||