mesa/src/vulkan
Icenowy Zheng 38cf1b3829
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
vulkan/wsi/headless: properly use CPU images for CPU devices
Currently the headless WSI unconditionally uses DRM images as WSI
images, which isn't proper behavior for working with lavapipe driver,
and leads to either error or crash (depending on whether udmabuf is
available).

Properly setup CPU images instead of DRM images for software-rendering
WSI devices.

This fixes (at least) `dEQP-VK.wsi.headless.swapchain.render.*` on
lavapipe.

Fixes: 90caf9bdbd ("vulkan/wsi/headless: drop the wsi_create_null_image_mem override")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40360>
2026-03-17 23:49:38 +00:00
..
anti-lag-layer anti-lag: Do not enable layer by default. 2025-09-26 13:29:38 +00:00
device-select-layer wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
overlay-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
registry vulkan: update spec to 1.4.346 2026-03-16 08:44:08 +00:00
runtime vulkan/runtime: break view mask from renderpass information 2026-03-17 20:13:35 +00:00
screenshot-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
util vk/cmd_queue: generate CmdPushConstants2 2026-03-10 21:49:18 +00:00
vram-report-limit-layer clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
wsi vulkan/wsi/headless: properly use CPU images for CPU devices 2026-03-17 23:49:38 +00:00
meson.build wsi/display: Expose HDR10 colorspace based on EDID 2025-08-05 08:50:05 +00:00
vulkan-android.sym
vulkan-icd-android-symbols.txt
vulkan-icd-symbols.txt
vulkan.sym
vulkan_api.def.in