summaryrefslogtreecommitdiff
path: root/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
diff options
context:
space:
mode:
authorMatthew Netsch <quic_mnetsch@quicinc.com>2022-01-09 10:39:46 -0500
committerMatthew Netsch <quic_mnetsch@quicinc.com>2022-01-09 12:56:22 -0500
commit671555af4f63c96b222b803ede2c8a0b93a9c2d7 (patch)
treed116a0832dffc04c78de75a50137799de7a98747 /external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
parent1a1991357ca2a1b3d596c20bbf520f45ba839dce (diff)
parent6e40341a34fdb399ad1e93e706b04418b0f91d81 (diff)
downloadVK-GL-CTS-671555af4f63c96b222b803ede2c8a0b93a9c2d7.tar.gz
VK-GL-CTS-671555af4f63c96b222b803ede2c8a0b93a9c2d7.tar.bz2
VK-GL-CTS-671555af4f63c96b222b803ede2c8a0b93a9c2d7.zip
Merge vk-gl-cts/vulkan-cts-1.2.8 into vk-gl-cts/vulkan-cts-1.3.0
Change-Id: Iba40a0634a1de5fde930a2f469b5c9bc31d8c4d9
Diffstat (limited to 'external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp')
-rw-r--r--external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp b/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
index 4d53a1399..4788d046e 100644
--- a/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
+++ b/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp
@@ -5911,7 +5911,8 @@ void addAttachmentAllocationTests (tcu::TestCaseGroup* group, const TestConfigEx
| VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT,
VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,
- VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT,
+ VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT
+ | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT,
dependencyFlags);
for (SubpassDependency& dependency : deps)
@@ -5919,7 +5920,7 @@ void addAttachmentAllocationTests (tcu::TestCaseGroup* group, const TestConfigEx
if (dependency.getSrcPass() == srcPass && dependency.getDstPass() == dstPass)
{
const VkAccessFlags newSrcFlags = dependency.getSrcAccessMask() | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT;
- const VkAccessFlags newDstFlags = dependency.getDstAccessMask() | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT;
+ const VkAccessFlags newDstFlags = dependency.getDstAccessMask() | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT;
dependency.setDstAccessMask(newSrcFlags);
dependency.setDstAccessMask(newDstFlags);
foundDuplicate = true;