Fix depth stencil multisample image usage validation error
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 20 Jun 2019 06:46:56 +0000 (08:46 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Jun 2019 07:32:58 +0000 (03:32 -0400)
commit3c032b25c10b77ee79978ef550cd308cb812457d
tree92c2a0308153a6666e31d8e6236758cb37be98c5
parent5c796a44914c10ddeda4a1aecc3bcef27c9772d0
Fix depth stencil multisample image usage validation error

Usage for depth stencil multisample image must have
VK_IMAGE_USAGE_TRANSFER_SRC_BIT since multisampleAttachment's
finalLayout is VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL.

Affected tests:

  dEQP-VK.renderpass2.depth_stencil_resolve.*

Components: Vulkan
VK-GL-CTS issue: 1835

Change-Id: I1e6b6e8883ad276e8eb817449f2fffba2d1840e4
external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp