Skip to content

vulkan/device-select: select correct default device for xcb apiVersion 1.0

Yogesh Mohan Marmithu requested to merge yogeshmohan/mesa:vulkan_def_sel into main

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

Merge request reports