mesa/src/util/format
Valentine Burley 81ebd6ea8d util/format: Add new 12-bit P012 RGB/planar formats
Introduce three 12-bit formats: X4R12_UNORM, X4R12X4G12_UNORM, and X4G12_X4B12X4R12_420_UNORM.
These formats allocate 12 bits for each color channel with 4 bits of padding to align with Vulkan's P012
and related planar formats.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30821>
2024-10-16 14:30:15 +00:00
..
format_utils.h
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
texcompress_bptc_tmp.h
texcompress_etc_tmp.h util: use unsigned types when performing bitshift 2024-06-21 21:07:05 +00:00
texcompress_s3tc_tmp.h
u_format.c util: Add a helper for querying sparse tile sizes 2024-06-27 09:29:33 +00:00
u_format.h util: Remove Vulkan-only formats from get_plane_width/height 2024-08-29 15:57:52 +00:00
u_format.yaml util/format: Add new 12-bit P012 RGB/planar formats 2024-10-16 14:30:15 +00:00
u_format_bptc.c
u_format_bptc.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_etc.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_etc.h
u_format_fxt1.c util/format/fxt1: include "u_format_pack.h" instead of "util/format/u_format_pack.h" 2024-01-15 20:13:07 +00:00
u_format_fxt1.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_latc.c
u_format_latc.h
u_format_other.c
u_format_other.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_pack.py util/format_pack: Clamp SNORM values to [-1, 1] when unpacking 2024-06-19 01:56:22 +00:00
u_format_parse.py format: Generate sRGB<->linear conversions from table 2024-07-19 13:50:42 +00:00
u_format_rgtc.c
u_format_rgtc.h
u_format_s3tc.c
u_format_s3tc.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_table.py util/format: Add new 12-bit P012 RGB/planar formats 2024-10-16 14:30:15 +00:00
u_format_tests.c util/format: Add G8B8_G8R8_422_UNORM and B8G8_R8G8_422_UNORM formats 2023-08-14 23:44:19 +00:00
u_format_tests.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_format_unpack_neon.c
u_format_yuv.c mesa/main: add PIPE_FORMAT_VYUY and PIPE_FORMAT_B8R8_G8R8 2023-07-10 16:29:13 +00:00
u_format_yuv.h mesa/main: add PIPE_FORMAT_VYUY and PIPE_FORMAT_B8R8_G8R8 2023-07-10 16:29:13 +00:00
u_format_zs.c
u_format_zs.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_formats.h util/format: Add new 12-bit P012 RGB/planar formats 2024-10-16 14:30:15 +00:00