mesa/src/intel/vulkan_hasvk
Daniel Stone b8eb0f88d3 vulkan/wsi/wayland: Correctly map 24bpp format types
VK_FORMAT_{R8G8B8,B8G8R8}_{UNORM,SRGB} describe a 3-component, 8bpc,
24bpp, format. This is mapped to that type for Android, and implemented
as such by panvk. radv maps these to 4-component/32bpp formats, but only
support these formats for buffers rather than images. The outlier is
ANV, which relies on the 24->32bpp mapping to happen.

The Wayland WSI was mapping this to the 32bpp R8G8B8A8/B8G8R8A8 formats
instead. This would cause a failure to import the dmabuf into the
compositor on panvk, as it would send a buffer which was too small. (Or,
if it did import: garbage.)

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39552>
2026-02-17 19:25:19 +00:00
..
layers
tests
anv_allocator.c treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
anv_android.c hasvk: Remove special CROS_GRALLOC path from format logic 2025-08-22 23:40:32 +00:00
anv_android.h hasvk: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
anv_android_stubs.c
anv_batch_chain.c hasvk: Switch to util/cache_ops.h 2025-10-16 01:19:44 +00:00
anv_blorp.c anv, hasvk: handle MSAA resolving to a 3D slice 2026-02-11 19:16:54 +00:00
anv_cmd_buffer.c intel/elk, hasvk: Drop indirect_ubos_use_sampler option and DP code 2026-02-16 21:33:42 +00:00
anv_descriptor_set.c treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
anv_device.c intel/elk, hasvk: Drop indirect_ubos_use_sampler option and DP code 2026-02-16 21:33:42 +00:00
anv_formats.c docs: update/fix vk spec urls 2025-10-22 09:23:34 +02:00
anv_gem.c intel: Move intel_define.h to i915/intel_define.h 2024-02-21 18:10:54 +00:00
anv_gem_stubs.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
anv_genX.h intel: move deref_block_size to intel_urb_config 2025-08-01 11:35:05 +00:00
anv_image.c intel/isl: Define ISL_AUX_STATE_COMPRESSED_HIER_DEPTH aux state. 2026-01-27 08:52:12 +00:00
anv_measure.c hasvk: move cmd_emit_timestamp initialization to genX 2024-07-03 21:10:13 +00:00
anv_measure.h
anv_nir.h anv: Remove NIR_PASS_V usage 2025-07-14 19:25:52 +00:00
anv_nir_apply_pipeline_layout.c nir: remove manual nir_load_global_constant 2025-10-21 12:39:53 +02:00
anv_nir_compute_push_layout.c hasvk: create a new intrinsic for push constant to uniform load lowering 2026-01-16 13:02:15 +00:00
anv_nir_lower_multiview.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
anv_nir_lower_ubo_loads.c treewide: use nir_load_global_constant alias of nir_build_load_global_constant 2025-10-21 12:39:53 +02:00
anv_nir_lower_ycbcr_textures.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
anv_perf.c anv/hasvk: Add intel_perf_get_configuration_id() and replace intel_perf_load_configuration() usage 2026-01-19 19:24:15 +00:00
anv_pipeline.c nir/lower_non_uniform_access: add an option not to lower tex & image queries 2026-02-16 12:59:36 +00:00
anv_pipeline_cache.c anv: use SHA1_DIGEST_LENGTH 2026-01-07 08:32:33 +00:00
anv_private.h intel/elk, hasvk: Drop indirect_ubos_use_sampler option and DP code 2026-02-16 21:33:42 +00:00
anv_queue.c
anv_util.c
anv_utrace.c u_trace: pass tracepoint flags to the read_timestamp callback 2025-02-24 08:08:02 +00:00
anv_wsi.c vulkan/wsi/wayland: Correctly map 24bpp format types 2026-02-17 19:25:19 +00:00
genX_blorp_exec.c intel: Rename wm_prog_data to fs_prog_data 2026-02-06 20:51:59 -08:00
genX_cmd_buffer.c treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
genX_gpu_memcpy.c intel: move deref_block_size to intel_urb_config 2025-08-01 11:35:05 +00:00
genX_pipeline.c intel: Rename wm_prog_data to fs_prog_data 2026-02-06 20:51:59 -08:00
genX_query.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
genX_state.c hasvk: don't report custom sample locations for sample count 1 2025-10-16 14:48:06 +00:00
gfx7_cmd_buffer.c vulkan: rename depth bias graphics states 2024-12-06 13:48:26 -05:00
gfx8_cmd_buffer.c intel: Rename wm_prog_data to fs_prog_data 2026-02-06 20:51:59 -08:00
meson.build meson: Remove VK_ICD_FILENAMES totally from source tree. 2025-12-10 14:46:11 +00:00