From: Dave Airlie Date: Tue, 1 Nov 2016 23:51:43 +0000 (+0000) Subject: radv: expose xlib platform extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f0726f3e509c80c78ddb5e7411fa34f676de71d;p=mesa.git radv: expose xlib platform extension I missed this when I added the xlib code, this allows dolphin emu to start and crash later. Reviewed-by: Bas Nieuwenhuizen Cc: "13.0" Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 512d366722d..58f24ec6764 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -116,6 +116,12 @@ static const VkExtensionProperties global_extensions[] = { .specVersion = 5, }, #endif +#ifdef VK_USE_PLATFORM_XLIB_KHR + { + .extensionName = VK_KHR_XLIB_SURFACE_EXTENSION_NAME, + .specVersion = 5, + }, +#endif #ifdef VK_USE_PLATFORM_WAYLAND_KHR { .extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME,