Fix post-clear barrier in depth/stencil descriptor tests
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 12 Nov 2021 16:19:38 +0000 (17:19 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Sat, 20 Nov 2021 03:26:05 +0000 (03:26 +0000)
commitfed96746e59f6ebe2c8040b0b0dc14da390a8d56
tree7eff2b39bb3b41e7614f92b984bacd0be994d90a
parent9be1da8f3830629fbe256b4ff20202d94b71ee51
Fix post-clear barrier in depth/stencil descriptor tests

After clearing the color and depth/stencil image, the tests were using a
barrier to VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT with an access mask of 0.
This commit fixes that barrier to use VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
and an access mask covering all uses of these descriptors in the render
pass.

Affected tests:
dEQP-VK.image.depth_stencil_descriptor.*

Components: Vulkan
VK-GL-CTS issue: 3305

Change-Id: I7d8c41b3dbbe69f3a613ba1bd09a0482f77133f2
external/vulkancts/modules/vulkan/image/vktImageDepthStencilDescriptorTests.cpp