From: ziga-lunarg Date: Fri, 14 Oct 2022 23:24:43 +0000 (+0200) Subject: Fix stencilAttachmentFormat in inverted depth ranges tests X-Git-Tag: upstream/1.3.5~2^2^2^2~5^2~5^2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e69d9c6da16ed60918ac26dc95a138a12749aa78;p=platform%2Fupstream%2FVK-GL-CTS.git Fix stencilAttachmentFormat in inverted depth ranges tests 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 --- diff --git a/external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp b/external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp index 8063226..5ef736b 100644 --- a/external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp +++ b/external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp @@ -300,7 +300,7 @@ InvertedDepthRangesTestInstance::InvertedDepthRangesTestInstance (Context& conte 1u, &m_colorAttachmentFormat, m_depthAttachmentFormat, - m_depthAttachmentFormat + VK_FORMAT_UNDEFINED }; if (m_params.useDynamicRendering)