Fix bad depth/stencil sync for depth_range_unrestricted
authorGraeme Leese <gleese@broadcom.com>
Wed, 14 Sep 2022 13:45:58 +0000 (14:45 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 29 Sep 2022 16:53:20 +0000 (16:53 +0000)
commit741ee2285daaf0d26f283b1880e8d9433d12b54f
tree10fb3cee593e2ab1075a672fddafd6f6d2b0d688
parent3b5749c0abe04f7ec515c8f920775dd222a38624
Fix bad depth/stencil sync for depth_range_unrestricted

The synchronisation for the depth image was only for the late fragment
tests stage and only for writing. Since the depth test needs to read the
existing value the sync requires the READ bit and should apply at the
earliest stage that might perform the test (EARLY_FRAGMENT_TESTS, rather
than LATE_FRAGMENT_TESTS).

Component: Vulkan
Affects: dEQP-VK.pipeline.depth_range_unrestricted.*

Change-Id: I329e0f201735d0241c35f37a33379f361334f43e
external/vulkancts/modules/vulkan/pipeline/vktPipelineDepthRangeUnrestrictedTests.cpp