Clear the stencil attachment if it exists
authorPiers Daniell <pdaniell@nvidia.com>
Thu, 20 Jul 2017 21:53:13 +0000 (15:53 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 9 Aug 2017 12:12:39 +0000 (08:12 -0400)
commit38b816636c14b30fe07a3d90238b570d26c3dd96
treed11c8415a5869fde45341b8b1e061ed5a58b7d02
parent49f79dde6b72ce6c3d5c613d9fd42e493f798ae5
Clear the stencil attachment if it exists

The test uses VK_STENCIL_OP_INCREMENT_AND_WRAP which needs the
stencil attachment in a known state in order to produce
predictable results.

Affects:

dEQP-VK.renderpass.suballocation.multisample.s8_uint.samples_*
dEQP-VK.renderpass.suballocation.multisample.d16_unorm_s8_uint.samples_*
dEQP-VK.renderpass.suballocation.multisample.d24_unorm_s8_uint.samples_*
dEQP-VK.renderpass.suballocation.multisample.d32_sfloat_s8_uint.samples_*
dEQP-VK.renderpass.multisample.s8_uint.samples_*
dEQP-VK.renderpass.multisample.d16_unorm_s8_uint.samples_*
dEQP-VK.renderpass.multisample.d24_unorm_s8_uint.samples_*
dEQP-VK.renderpass.multisample.d32_sfloat_s8_uint.samples_*

Components: Vulkan

VK-GL-CTS issue: 584

Change-Id: I7ed5ced8b77a4563301320e50b2c247e95c34936
external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleTests.cpp