radv: advertise v6 of the wayland surface extension
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 14 Jul 2017 15:18:59 +0000 (16:18 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 17 Jul 2017 14:24:48 +0000 (15:24 +0100)
Jason updated the Khronos spec to explicitly state that Wayland surfaces
must support VK_PRESENT_MODE_MAILBOX_KHR.

ANV did so since day one (back in 2015)

Cc: mesa-stable@lists.freedesktop.org
Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/amd/vulkan/radv_device.c

index 3b405838f391e513e60c0159b4f34a34ff284a95..a91b366721bf2efde2c16f41673792a685667f87 100644 (file)
@@ -91,7 +91,7 @@ static const VkExtensionProperties instance_extensions[] = {
 #ifdef VK_USE_PLATFORM_WAYLAND_KHR
        {
                .extensionName = VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME,
-               .specVersion = 5,
+               .specVersion = 6,
        },
 #endif
        {