Fix stencilAttachmentFormat in inverted depth ranges tests
authorziga-lunarg <ziga@lunarg.com>
Fri, 14 Oct 2022 23:24:43 +0000 (01:24 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 10 Nov 2022 18:39:33 +0000 (18:39 +0000)
If format is not VK_FORMAT_UNDEFINED in
VKPipelineRenderingCreateInfo::stencilAttachmentFormat then it must be a
format that includes a stencil aspect

Components: Vulkan

VK-GL-CTS issue: 4046

Affected tests:
dEQP-VK.draw.dynamic_rendering.inverted_depth_ranges.*

Change-Id: Ia0dcb1989b8ace78632d26dd0a1e3c1101f5f547

external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp

index 8063226..5ef736b 100644 (file)
@@ -300,7 +300,7 @@ InvertedDepthRangesTestInstance::InvertedDepthRangesTestInstance (Context& conte
                1u,
                &m_colorAttachmentFormat,
                m_depthAttachmentFormat,
-               m_depthAttachmentFormat
+               VK_FORMAT_UNDEFINED
        };
 
        if (m_params.useDynamicRendering)