vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching
[mesa.git] / src / intel / vulkan / anv_wsi_x11.c
index 45c43f6f17fbbcb490dc014976f440758c9574f3..bfa76e88e79937f321ab3a11ca726f9ff35c5889 100644 (file)
@@ -41,7 +41,7 @@ VkBool32 anv_GetPhysicalDeviceXcbPresentationSupportKHR(
    return wsi_get_physical_device_xcb_presentation_support(
       &device->wsi_device,
       queueFamilyIndex,
-      device->local_fd, false,
+      false,
       connection, visual_id);
 }
 
@@ -56,7 +56,7 @@ VkBool32 anv_GetPhysicalDeviceXlibPresentationSupportKHR(
    return wsi_get_physical_device_xcb_presentation_support(
       &device->wsi_device,
       queueFamilyIndex,
-      device->local_fd, false,
+      false,
       XGetXCBConnection(dpy), visualID);
 }