Fix depth store flag in seperate_channels tests
authorJarred Davies <jarred.davies@imgtec.com>
Fri, 13 Sep 2019 17:24:55 +0000 (18:24 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sat, 21 Sep 2019 14:39:59 +0000 (10:39 -0400)
Depth wasn't being stored despite being used.

Affects:

dEQP-VK.renderpass*.suballocation.subpass_dependencies.separate_channels.*

Components: Vulkan

VK-GL-CTS Issue: 2002

Change-Id: Ib2c678dcaef1f0c87756424c23057fb1df1c311e

external/vulkancts/modules/vulkan/renderpass/vktRenderPassSubpassDependencyTests.cpp

index 347f9ab..365ded4 100644 (file)
@@ -2511,7 +2511,7 @@ tcu::TestStatus SeparateChannelsTestInstance::iterateInternal (void)
 
                if (isDSFormat)
                {
-                       attachments.push_back(Attachment(m_format, VK_SAMPLE_COUNT_1_BIT, VK_ATTACHMENT_LOAD_OP_LOAD, VK_ATTACHMENT_STORE_OP_DONT_CARE, VK_ATTACHMENT_LOAD_OP_DONT_CARE, VK_ATTACHMENT_STORE_OP_STORE, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL));
+                       attachments.push_back(Attachment(m_format, VK_SAMPLE_COUNT_1_BIT, VK_ATTACHMENT_LOAD_OP_LOAD, VK_ATTACHMENT_STORE_OP_STORE, VK_ATTACHMENT_LOAD_OP_DONT_CARE, VK_ATTACHMENT_STORE_OP_STORE, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL));
                }
                else
                {