diff options
author | Dave Airlie <[email protected]> | 2016-11-01 23:51:43 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-11-02 10:00:38 +1000 |
commit | 9f0726f3e509c80c78ddb5e7411fa34f676de71d (patch) | |
tree | e26583c02910eb3c68a3905d45efc33f459abc01 | |
parent | a28db12e214df94d601fcbbf09c776403c8d9384 (diff) |
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 <[email protected]>
Cc: "13.0" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 6 insertions, 0 deletions
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, |