mesa/src/vulkan/device-select-layer
Yogesh Mohanmarimuthu 5317874f91 vulkan/device-select: select correct default device for xcb apiVersion 1.0
In function fill_drm_device_info(), struct ext_pci_properties is filled only
if has_vulkan11 is true. But the data received from ext_pci_properties is used
without checking for has_vulkan11. Fixing this by setting
drm_device->has_bus_info also if has_vulkan11 is true.

This fix will help in case of nonidentical gpu being used and xcb_surface
extension enabled.

Signed-off-by: Yogesh Mohanmarimuthu <yogesh.mohanmarimuthu@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12816>
2021-10-08 13:51:33 +00:00
..
device_select.h vulkan/device_select: Store Vulkan vendorID and deviceID as uint32_t 2020-12-08 16:19:25 +00:00
device_select_layer.c vulkan/device-select: select correct default device for xcb apiVersion 1.0 2021-10-08 13:51:33 +00:00
device_select_wayland.c vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable 2021-05-04 21:26:21 +00:00
device_select_x11.c device_select: close dri3 fd after using it. 2021-10-06 18:24:54 +10:00
meson.build build: unify vulkan cpp platform args 2021-10-06 14:19:35 +00:00
VkLayer_MESA_device_select.json device-select-layer: update for vulkan 1.2 2021-01-15 20:37:05 +00:00