dEQP-VK.renderpass.sparserendertarget: bind metadata
authorSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 19 Jan 2018 13:20:47 +0000 (14:20 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 24 Jan 2018 07:02:26 +0000 (02:02 -0500)
commitd04c2b650db561fb28f5888ae3de244fc70e6748
tree20c8e4e4b0622c1ef0e8f9cc7c774691d211b21c
parent00afe4fae1e46ce28122ccbbfb8a5d95f8c22b7a
dEQP-VK.renderpass.sparserendertarget: bind metadata

Memory was not bound to METADATA aspect, when COLOR aspect
mip tail size was 0. METADATA requirements are not related
to mip tails in other aspects - memory must be always and
unconditionally bound to METADATA.

Additionally, change VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT
condition to layerNdx == 0, as imageMipTailMemoryBinds vector
is now used both for metadata and other mip tails.

Affects: dEQP-VK.renderpass.sparserendertarget.*

Components: Vulkan

VK-GL-CTS issue: 958

Change-Id: I34661c82e0d9829448ac85546055c72151bfe85e
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageUtil.cpp