Fix subpass dependency dstStageMask in shader_fragment_mask tests
authorziga-lunarg <ziga@lunarg.com>
Fri, 18 Nov 2022 18:49:35 +0000 (19:49 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 16 Dec 2022 08:25:38 +0000 (08:25 +0000)
Stage VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUT_BIT must be included if
access mask is VK_ACCESS_COLOR_ATTACHMENT_READ_BIT

Components: Vulkan

VK-GL-CTS issue: 4120

Affected tests:
dEQP-VK.pipeline.*.shader_fragment_mask.*

Change-Id: Iea2a62ff5781c50ad39d707a8eb0f1f4ce344f48

external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleShaderFragmentMaskTests.cpp

index 3d083b0d5e14c600c1f06d1967432dd154e6d536..cf0f17b16575377e3b9a17bbae1050a76b0ae0a8 100644 (file)
@@ -798,7 +798,7 @@ void drawAndSampleInputAttachment (Context& context, const TestParams& params, W
                                0u,                                                                                                                                                                                     // uint32_t                srcSubpass;
                                1u,                                                                                                                                                                                     // uint32_t                dstSubpass;
                                VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,          // VkPipelineStageFlags    srcStageMask;
-                               VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,                                                                                                          // VkPipelineStageFlags    dstStageMask;
+                               VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,          // VkPipelineStageFlags    dstStageMask;
                                VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,                                                                                                           // VkAccessFlags           srcAccessMask;
                                dstAccessMask,                                                                                                                                                          // VkAccessFlags           dstAccessMask;
                                VK_DEPENDENCY_BY_REGION_BIT,                                                                                                                            // VkDependencyFlags       dependencyFlags;