ca791f5c5d
With Vulkan 1.1, we have a VkImageSwapchainCreateInfoKHR struct which lets you create a new VkImage which aliases a swapchain image. However, there is no corresponding swapchain create flag so we have to set VK_IMAGE_CREATE_ALIAS_BIT all the time. We need to do a bit of work in ANV to prevent it from asserting the moment it sees one of these. Fortunately, they're already safe because WSI images go through a different bind path for VkBindImageMemorySwapchainInfoKHR. Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12031>