mesa/src
Daniel Stone ccc6442d6f u_format: Rewrite format table to use YAML
u_format has always had its format table in CSV. This is kind of nice
for some things, but is a serious pain to extend, especially with
optional fields.

In going through our many (many, many) duplicated tables of format
mappings, it would've been nice to add some descriptions to our central
u_format table, such as mapping to DRM FourCC, to EGLImage mappings, and
to GL internalformats for EGLImage imports. Unfortunately, doing so with
more additional fields would just make the CSV totally unreadable.

Move the CSV table to a YAML-based table and adjust the Python parsers
to suit. The resulting generated files are identical before and after
the transition.

The new parser also has a significant amount of format validation to
make it easier to catch common errors.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29649>
2024-07-19 13:50:42 +00:00
..
amd u_format: Rewrite format table to use YAML 2024-07-19 13:50:42 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi: eliminate load_num_workgroups from TCS unrolled ID 2024-07-15 20:09:00 +00:00
broadcom v3d/ci: mark spec@amd_performance_monitor@vc4 tests as fixed 2024-07-19 09:11:16 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler glsl: remove out of date comment 2024-07-19 10:59:11 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl: use loader's multibuffer check to deduplicate lots of code 2024-07-18 21:58:49 +00:00
etnaviv etnaviv: isa: Rework branch instruction 2024-07-09 18:33:34 +00:00
freedreno tu: Enable VK_KHR_shader_subgroup_uniform_control_flow 2024-07-19 12:54:09 +00:00
gallium rusticl: support read_write images 2024-07-19 13:26:12 +00:00
gbm gbm: link directly with libgallium 2024-07-18 20:30:43 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx loader/glx: move multibuffers check to loader 2024-07-18 21:58:49 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
loader loader/glx: move multibuffers check to loader 2024-07-18 21:58:49 +00:00
mapi mesa_interface: Move out of GL/internal/ 2024-07-17 23:47:05 +00:00
mesa mesa: Drop some version checking around ValidateEGLImage 2024-07-18 14:16:51 +00:00
microsoft build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
nouveau nak: Add minimum bindgen requirement 2024-07-19 05:45:05 +00:00
panfrost panvk: Fix assert 2024-07-17 18:27:50 +00:00
tool build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util u_format: Rewrite format table to use YAML 2024-07-19 13:50:42 +00:00
virtio venus: simplify cached mem type emulation 2024-07-12 21:28:15 +00:00
vulkan vulkan/wsi: Update sw x11 wsi to only copy damage regions 2024-07-17 00:20:54 +00:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build gbm: link directly with libgallium 2024-07-18 20:30:43 +00:00