mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 19:48:08 +02:00
Mali's LD_TILE instruction (mapping to NIR's load_output) requires a "conversion descriptor" specifying how to convert from the register foramt to the tilebuffer format. To implement framebuffer fetch on OpenGL without shader variants, we generate these descriptors in the driver and pass them in a uniform. However, to comply with the Ekstrand Rule, we can't have magically materialized system values -- they should come only from the NIR where the driver can lower as it pleases (e.g. PanVK can lower to a constant because it knows the framebuffer format at pipeline create time). Add intrinsics to model this. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906> |
||
|---|---|---|
| .. | ||
| clc | ||
| glsl | ||
| isaspec | ||
| nir | ||
| spirv | ||
| builtin_type_macros.h | ||
| glsl_types.cpp | ||
| glsl_types.h | ||
| meson.build | ||
| nir_gl_types.h | ||
| nir_types.cpp | ||
| nir_types.h | ||
| shader_enums.c | ||
| shader_enums.h | ||
| shader_info.h | ||