vulkan/wsi: Implement VK_KHR_swapchain_mutable_format
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 16 Jan 2020 20:39:58 +0000 (14:39 -0600)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jan 2020 18:27:29 +0000 (18:27 +0000)
commit4bdf8547f4dc1a383bf4e67110f44610a3790189
tree20e437952ccd185e691409e4f28336a89568416b
parenta218f132786118c6e0be64d5b85fe9a5c18c634d
vulkan/wsi: Implement VK_KHR_swapchain_mutable_format

This is only the core WSI code for the extension.  It adds the image
format list and the flags to vkCreateImage as well as handling things
properly in the modifier queries.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3434>
src/vulkan/wsi/wsi_common.c