anv: support VkExternalFormatANDROID in vkCreateSamplerYcbcrConversion
authorTapani Pälli <tapani.palli@intel.com>
Mon, 8 Oct 2018 11:45:52 +0000 (14:45 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 19 Dec 2018 07:38:41 +0000 (09:38 +0200)
commitc070b0e25faeb43cb43acdfde006cf9d81e6302f
treef6c443a3724a0d2cea60cd0a152f91142c0461e0
parentf1654fa7e313a97e8849973b6877700bbdb2ce06
anv: support VkExternalFormatANDROID in vkCreateSamplerYcbcrConversion

If external format is used, we store the external format identifier in
conversion to be used later when creating VkImageView.

v2: rebase to b43f955037c changes
v3: added assert, ignore components when creating external
    format conversion (Lionel)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_formats.c