From aeeab1c1f5b9fd5fc907f8f833b334a5019bfba9 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Mon, 24 Jan 2022 09:34:29 -0700 Subject: [PATCH] Fix issue #802 The loader assumed if Vulkan 1.1 is supported, then the PCI bus extension must automatically be supported. This was a mistake as that extension is not part of core. --- loader/loader_linux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/loader/loader_linux.c b/loader/loader_linux.c index 86fcae23..ff82c9c3 100644 --- a/loader/loader_linux.c +++ b/loader/loader_linux.c @@ -270,7 +270,6 @@ VkResult linux_read_sorted_physical_devices(struct loader_instance *inst, uint32 bool device_is_1_1_capable = VK_API_VERSION_MAJOR(dev_props.apiVersion) == 1 && VK_API_VERSION_MINOR(dev_props.apiVersion) >= 1; - sorted_device_info[index].has_pci_bus_info = device_is_1_1_capable; if (!sorted_device_info[index].has_pci_bus_info) { uint32_t ext_count; icd_term->dispatch.EnumerateDeviceExtensionProperties(sorted_device_info[index].physical_device, NULL, &ext_count, @@ -374,7 +373,6 @@ VkResult linux_read_sorted_physical_device_groups(struct loader_instance *inst, bool device_is_1_1_capable = VK_API_VERSION_MAJOR(dev_props.apiVersion) == 1 && VK_API_VERSION_MINOR(dev_props.apiVersion) >= 1; - sorted_group_term[group].internal_device_info[gpu].has_pci_bus_info = device_is_1_1_capable; if (!sorted_group_term[group].internal_device_info[gpu].has_pci_bus_info) { uint32_t ext_count; icd_term->dispatch.EnumerateDeviceExtensionProperties( -- 2.34.1