Revert initial layout for depth/stencil attachment in makeRenderPass
authorBoris Zanin <boris.zanin@mobica.com>
Wed, 2 Jun 2021 11:06:00 +0000 (13:06 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 1 Jul 2021 15:33:07 +0000 (15:33 +0000)
commit3834e2d8fc14b38373a94afcbcd3ccca62654ebb
treeac88697be16fdf66f236a4e09424fd5653693e5a
parent3fd14c20b6113742ab0834d7caa9a2503147f73f
Revert initial layout for depth/stencil attachment in makeRenderPass

Return back previous initial depth/stencil attachment
layout, i.e. set it to
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL only
if loadOperation is VK_ATTACHMENT_LOAD_OP_LOAD.
Otherwise keep it undefined.

Setting vast range of affected tests, because it is
hard to determine which of the tests are using
affected by this function.

Affected tests:
 * dEQP-VK.*

Components: Framework

VK-GL-CTS public issue: 272

Change-Id: Ie96c8125144904fde5e2db6294f52947ff979424
external/vulkancts/framework/vulkan/vkObjUtil.cpp