summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-11-01 23:51:43 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-09 13:09:45 +0000
commit620ef8e7429e47d243db2dfb477567f14520bcb8 (patch)
treecf93b27d357eeb8e6d5a114d95f764eb2fd3ff58
parent2f8b48d274bd51613e95a5ca09fd767e431d85a2 (diff)
downloadexternal_mesa3d-620ef8e7429e47d243db2dfb477567f14520bcb8.zip
external_mesa3d-620ef8e7429e47d243db2dfb477567f14520bcb8.tar.gz
external_mesa3d-620ef8e7429e47d243db2dfb477567f14520bcb8.tar.bz2
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 <bas@basnieuwenhuizen.nl> Cc: "13.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 9f0726f3e509c80c78ddb5e7411fa34f676de71d)
-rw-r--r--src/amd/vulkan/radv_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 7410bbc..e9efe31 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,