[PATCH] winex11.drv: Add missing Vulkan extensions.

Giovanni Mascellani gmascellani at codeweavers.com
Wed Feb 10 09:17:34 CST 2021


They were flagged by validation layers as required:
VK_EXT_direct_mode_display depends on VK_KHR_display and transitively
on VK_KHR_surface. VK_KHR_external_fence_capabilities is required by
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES.

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
---
 dlls/winex11.drv/xrandr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c
index fa748c2af04..cf4683571bc 100644
--- a/dlls/winex11.drv/xrandr.c
+++ b/dlls/winex11.drv/xrandr.c
@@ -598,6 +598,9 @@ static BOOL get_gpu_properties_from_vulkan( struct x11drv_gpu *gpu, const XRRPro
         VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME,
         "VK_EXT_acquire_xlib_display",
         "VK_EXT_direct_mode_display",
+        "VK_KHR_display",
+        "VK_KHR_surface",
+        "VK_KHR_external_fence_capabilities",
     };
     const struct vulkan_funcs *vulkan_funcs = get_vulkan_driver( WINE_VULKAN_DRIVER_VERSION );
     VkResult (*pvkGetRandROutputDisplayEXT)( VkPhysicalDevice, Display *, RROutput, VkDisplayKHR * );
-- 
2.30.0




More information about the wine-devel mailing list