vulkan/wsi/wayland: fix ARGB window support
authorFredrik Höglund <fredrik@kde.org>
Fri, 21 Oct 2016 17:07:37 +0000 (19:07 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2016 02:40:39 +0000 (12:40 +1000)
commit68db0fe0346386c8d231eb81da6340b24b7878b0
tree6df90764a0e20e4ee693fb5b8edfab95fe2b71b4
parent972670c2007c1c5a51b4f0876d31476858f79351
vulkan/wsi/wayland: fix ARGB window support

Use an ARGB format for the DRM buffer when the compositeAlpha field
in VkSwapchainCreateInfoKHR is set to
VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common_wayland.c