mesa/src/vulkan/device-select-layer
Dave Airlie 833706e381 device-select: add a layer setting to disable device selection logic
There are cases like zink where we have a file descriptors we are searching
for devices for, so we don't need device selecting reordering, we just want
the fastest path to get the devices so we can match them.

This also helps avoid some cases of deadlock inside compositors where
zink/vulkan initialises later and tries to connect to the compositor.

This uses a VK_EXT_layer_setting to add a bypass setting.

Cc: mesa-stable
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38252>
2026-01-05 23:51:26 +00:00
..
.clang-format device-select: clang-format 2025-08-29 15:51:03 +00:00
device_select.c device_select: Allow shortcut names for device types 2025-08-29 15:51:06 +00:00
device_select.h device-select: add a layer setting to disable device selection logic 2026-01-05 23:51:26 +00:00
device_select_layer.c device-select: add a layer setting to disable device selection logic 2026-01-05 23:51:26 +00:00
device_select_wayland.c device-select: Fix error check. 2025-09-29 17:19:34 +02:00
device_select_x11.c device-select: clang-format 2025-08-29 15:51:03 +00:00
meson.build device-select: move get_default_device to it's own file 2025-08-29 15:51:04 +00:00
VkLayer_MESA_device_select.json.in device-select: add a layer setting to disable device selection logic 2026-01-05 23:51:26 +00:00