From c2ed2685fd12c03b9e87b3d344f112127e303024 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 21 Feb 2017 11:04:44 +1000 Subject: vulkan/wsi: move image count to shared structure. For prime support I need to access this, so move it in advance. [airlied: fix int->uint32_t] Reviewed-by: Jason Ekstrand Signed-off-by: Dave Airlie --- src/vulkan/wsi/wsi_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vulkan/wsi/wsi_common.h') diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h index ae9e5876112..7caabf50f4a 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -54,6 +54,7 @@ struct wsi_swapchain { const struct wsi_image_fns *image_fns; VkFence fences[3]; VkPresentModeKHR present_mode; + uint32_t image_count; VkResult (*destroy)(struct wsi_swapchain *swapchain, const VkAllocationCallbacks *pAllocator); -- cgit v1.2.3