wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR
authorDave Airlie <airlied@redhat.com>
Tue, 15 Nov 2016 21:18:50 +0000 (21:18 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Nov 2016 23:17:34 +0000 (09:17 +1000)
commit253fa25d09b77e18f736b97da07d57be0e6c4200
tree986743d7e605b56ef5038a3d48e953b22eec884b
parent0ac57afa6fbe59e9fd8eef38365cb3da8ec67f95
wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR

This fixes the x11 and wayland backends to not assert:
dEQP-VK.wsi.xcb.swapchain.get_images.incomplete

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