[Mesa-dev] [PATCH] radv: expose xlib platform extension

Dave Airlie airlied at gmail.com
Tue Nov 1 23:53:34 UTC 2016


From: Dave Airlie <airlied at redhat.com>

I missed this when I added the xlib code, this allows
dolphin emu to start and crash later.

Cc: "13.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/vulkan/radv_device.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 1f4535c..f68e255 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,
-- 
2.7.4



More information about the mesa-dev mailing list