mesa/src/util/format
Christian Gmeiner 9f172ba4da util/format, vulkan: Add PIPE_FORMAT_X6R10X6G10X6B10X6A10_UNORM
The format has 4 x 16-bit words with 10-bit unorm values in bits [15:6]
and 6 padding bits in [5:0]. Since this requires 8 channel slots but the
format system only supports 4, use layout "other" with hand-written
pack/unpack conversion functions.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40653>
2026-04-15 12:16:53 +00:00
..
format_utils.h util: Don't force 64-bit division on 32-bit platforms 2026-01-05 20:52:24 +00:00
meson.build
texcompress_bptc_tmp.h
texcompress_etc_tmp.h
texcompress_s3tc_tmp.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
u_format.c util/format: Autogen type conversion helpers 2025-09-15 10:59:04 +00:00
u_format.h util/format: Add a util_format_get_depth_bits() helper 2026-02-26 11:15:28 +00:00
u_format.yaml util/format, vulkan: Add PIPE_FORMAT_X6R10X6G10X6B10X6A10_UNORM 2026-04-15 12:16:53 +00:00
u_format_bptc.c
u_format_bptc.h
u_format_etc.c
u_format_etc.h
u_format_fxt1.c
u_format_fxt1.h
u_format_latc.c
u_format_latc.h
u_format_other.c util/format, vulkan: Add PIPE_FORMAT_X6R10X6G10X6B10X6A10_UNORM 2026-04-15 12:16:53 +00:00
u_format_other.h util/format, vulkan: Add PIPE_FORMAT_X6R10X6G10X6B10X6A10_UNORM 2026-04-15 12:16:53 +00:00
u_format_pack.py
u_format_parse.py util/format: Use more descriptive names for YUV formats 2025-08-20 14:01:07 +00:00
u_format_rgtc.c
u_format_rgtc.h
u_format_s3tc.c
u_format_s3tc.h
u_format_table.py util/format: Place PAN_FORMAT_FOO_START after the first format 2026-02-23 21:00:07 +00:00
u_format_tests.c util/format, vulkan: Add PIPE_FORMAT_X6R10X6G10X6B10X6A10_UNORM 2026-04-15 12:16:53 +00:00
u_format_tests.h
u_format_unpack_neon.c
u_format_yuv.c util/format: Add subsampling info to our YUV-as-RGB format names 2025-08-20 14:01:07 +00:00
u_format_yuv.h util/format: Add subsampling info to our YUV-as-RGB format names 2025-08-20 14:01:07 +00:00
u_format_zs.c util/format: Add a Z24_UNORM_PACKED format 2025-09-15 10:59:04 +00:00
u_format_zs.h util/format: Add a Z24_UNORM_PACKED format 2025-09-15 10:59:04 +00:00
u_formats.h ac,radeonsi: move SX PS downconversion code into ac_formats.c 2026-01-02 16:46:20 +00:00