From 5dc2e5a676f86fe930156339a435fca9603a33b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20Iglesias=20Gons=C3=A1lvez?= Date: Tue, 22 Sep 2020 17:28:43 +0200 Subject: [PATCH] Fix wrong access flag for depth/stencil resolve According to the spec: "End-of-subpass multisample resolves are treated as color attachment writes for the purposes of synchronization." Affects: dEQP-VK.renderpass2.depth_stencil_resolve.* Component: Vulkan VK-GL-CTS issue: 2593 Change-Id: I055049fffc0fd4bdbd162c4468cf80ff0c5ca373 --- .../modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp b/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp index 6647034..dd44021 100644 --- a/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp +++ b/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp @@ -858,7 +858,7 @@ void DepthStencilResolveTest::submit (void) VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, DE_NULL, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_TRANSFER_READ_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, -- 2.7.4