mesa/src/vulkan
Valentine Burley 47289ebc8d vulkan/wsi: Refactor can_present_on_device
Make wsi_device_matches_drm_fd() a default helper that PCI based GPUs plug in to
wsi_dev->can_present_on_device. This is needed for devices without libdrm, where
wsi_device_matches_drm_fd was still being called causing an "undefined reference"
build error.

Suggested-by: Rob Clark <robdclark@chromium.org>
Fixes: baa38c144f ("vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching")
Reviewed-by: Mark Collins <mark@igalia.com>
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/29627>
2024-08-12 16:00:37 +00:00
..
device-select-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
overlay-layer build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
registry vulkan: Update XML and headers to 1.3.292 2024-08-01 18:59:33 +00:00
runtime vulkan/runtime: Use DMA_BUF to import anb 2024-08-08 09:04:47 +00:00
util vulkan/format: Translate two 420_UNORM formats properly 2024-08-01 07:44:18 +00:00
wsi vulkan/wsi: Refactor can_present_on_device 2024-08-12 16:00:37 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00