From: Zhiyi Zhang Subject: Re: [PATCH] winex11.drv: Add missing Vulkan extensions. Message-Id: <004535d2-74fd-720e-9b34-740e76d580b4@codeweavers.com> Date: Wed, 10 Feb 2021 23:47:43 +0800 In-Reply-To: <20210210151734.3354128-1-gmascellani@codeweavers.com> References: <20210210151734.3354128-1-gmascellani@codeweavers.com> On 2/10/21 11:17 PM, Giovanni Mascellani wrote: > 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 > --- > 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", VK_KHR_external_fence_capabilities is probably a false positive. See https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/2457 > }; > const struct vulkan_funcs *vulkan_funcs = get_vulkan_driver( WINE_VULKAN_DRIVER_VERSION ); > VkResult (*pvkGetRandROutputDisplayEXT)( VkPhysicalDevice, Display *, RROutput, VkDisplayKHR * );