Fix stencil rendering in draw_with_dynamic_rendering.multi_draw tests
authorSÅ‚awomir Cygan <slawomir.cygan@intel.com>
Thu, 21 Oct 2021 13:18:19 +0000 (15:18 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 22 Oct 2021 22:00:33 +0000 (22:00 +0000)
commit9b2067d8835e494257197cdd88f5aa890e2626c3
tree5654bf792009bc08d7700763db28f5eeb1bb0249
parent75dfbc7576633506bebb9cb7a6f1b57bdce86ef5
Fix stencil rendering in draw_with_dynamic_rendering.multi_draw tests

This fixes few issues with handling depth/stencil attachment in this test:

Stencil attachment is now passed to rendering info, alongside depth attachment.

A barrier transitioning depth stencil subresource from UNFEFINED layout is added.

A barrier initializing color subresource is fixed to be executed with desition stage
that involves color.

Components: Vulkan

VK-GL-CTS Issue: 3235

Affects: dEQP-VK.draw_with_dynamic_rendering.multi_draw.*

Change-Id: I2b1a0bb04dae24328ab798a9e436e1000db901de
(cherry picked from commit 9f2876528c93cd47a59604ce4f30e8525560f280)
external/vulkancts/framework/vulkan/vkCmdUtil.cpp
external/vulkancts/framework/vulkan/vkCmdUtil.hpp
external/vulkancts/modules/vulkan/draw/vktDrawInvertedDepthRangesTests.cpp
external/vulkancts/modules/vulkan/draw/vktDrawMultiExtTests.cpp