Fix errors in dynamic rendering suballocation tests
authorziga-lunarg <ziga@lunarg.com>
Sun, 13 Nov 2022 15:41:10 +0000 (16:41 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 1 Dec 2022 22:48:25 +0000 (22:48 +0000)
commit20b75468a2cdceb0f14d1cb4510bee23b0df99c1
tree6f867ae2138a4f64c2c900e62381e63faad1bf17
parent78596aeade7d7b186e066c9213e93876726af875
Fix errors in dynamic rendering suballocation tests

attachmentCount in vkCmdClearAttachments must be greater than 0
depth aspect must only be cleared if depth attachment is set
stencil aspect must only be clear if stencil attachment is set

Components: Vulkan

VK-GL-CTS issue: 4102

Affected tests:
dEQP-VK.dynamic_rendering.*.suballocation.*

Change-Id: Id7cc51794883863aa9add62adee55ef30c0f6a28
external/vulkancts/modules/vulkan/renderpass/vktRenderPassLoadStoreOpNoneTests.cpp
external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedClearAttachmentTests.cpp