In order to query a swapchain’s status when rendering to a shared presentable image, call:
// Provided by VK_KHR_shared_presentable_image VkResult vkGetSwapchainStatusKHR( VkDevice device, VkSwapchainKHR swapchain);
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.