Fix depth/stencil image logging in renderpass tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 5 Nov 2020 13:37:32 +0000 (14:37 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 18 Nov 2020 07:55:16 +0000 (02:55 -0500)
commitfc2dbdb677bd4cb47c801bd3a350f94cbe81ea23
tree4f17589e6fd92dcf0c13611ecb84d8c54e6d6ee8
parenta42cfa24c5de05ed2e08a7cc8451cc63725cad83
Fix depth/stencil image logging in renderpass tests

Renderpass tests checking results in depth/stencil images containing
both depth and stencil aspects attempt to log the depth/stencil image
when the test fails (but not when the test passes).

When the logging facilities log those depth/stencil images, they convert
them to an image set with two images in order to separate the depth and
stencil views. If this image set is logged as part of another image set
in the log, the logging facilities fail an assertion because image sets
cannot contain other image sets.

Affected tests (only on failures for depth/stencil formats):
dEQP-VK.renderpass*.*allocation.simple.*
dEQP-VK.renderpass*.*allocation.formats.*
dEQP-VK.renderpass*.*allocation.attachment.*
dEQP-VK.renderpass*.*allocation.attachment_allocation.*
dEQP-VK.renderpass*.*allocation.attachment_write_mask.*

Components: Vulkan
VK-GL-CTS issue: 2642

Change-Id: I72ba603e3b42b34730f1f51234f0b6cd64f23da2
external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp