anv: implement VK_KHR_swapchain revision 70
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 25 Mar 2019 15:02:47 +0000 (15:02 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 8 Apr 2019 17:27:02 +0000 (18:27 +0100)
commitce790c96a958615f7d3b42635e2c4bac1fdf7543
tree1dad4b61faefb29ed3ecfea473d18abab53465e7
parented91ca0629a929bd3031d0acd908f7b46b6eb80c
anv: implement VK_KHR_swapchain revision 70

This revision allows for images to be :

   - created by reusing image parameters from swapchain

   - bound to memory from a swapchain

v2: Add color attachment flag
    Use same implicit WSI parameters (tiling, samples, usage)

v3: Fix missing break in vk_foreach_struct_const() switch (Lionel)

v4: Fix accessing image aspects before android resolve (Tapani)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/vulkan/anv_extensions.py
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h
src/vulkan/util/vk_util.h