Fix multiview dependency access mask for depth stencil attachments
authorVarvara Poskonina <varvara.poskonina@arm.com>
Fri, 19 Jun 2020 09:02:50 +0000 (11:02 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 26 Jun 2020 10:38:53 +0000 (06:38 -0400)
commit8c6b445161879a5eb6f8453fd5cfc58acd4ea133
tree5910cf1c6203cd2b5f9a0cf8f0b5cda93e7ca822
parent91e0de14cb4f07bdf52d550f68858113b87b1d0f
Fix multiview dependency access mask for depth stencil attachments

Vulkan spec states that in case if depth stencil attachment storeOp
and/or stencilStoreOp is set to VK_ATTACHMENT_STORE_OP_STORE in its
description, corresponding access type should be write permissive.

This change sets subpass depencency source access mask to
VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT in case if DS
attachment is present.

Components: Vulkan

Affects: dEQP-VK.multiview.*

VK-GL-CTS Issue: 2428

Change-Id: Ie34a6d93a8bdfad163150483b2fb8feb780ce0db
external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderUtil.cpp