Fix missing self dependency in renderpass tests
authorLeif-Julian Ovrelid <leif-julian.ovrelid@arm.com>
Thu, 8 Nov 2018 09:16:10 +0000 (10:16 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 15 Nov 2018 08:37:36 +0000 (03:37 -0500)
commitf659f8c9ad39c179a79a92ee3b66cb83e1dd52ed
tree20e589dfc98c64af40deedc5a0d57e4a698de29c
parent0a3e923f55c60fa23007d2297761d56cc19ab4a5
Fix missing self dependency in renderpass tests

The dEQP-VK.renderpass.suballocation.formats and
dEQP-VK.renderpass.dedicated_allocation.formats tests were missing self
dependencies in some cases where they read then write one attachment
in one subpass. In cases with overlapping rendering this would give a
read-write-then-read-write situation, which neads a self dependency to
work reliably. Some of the tests were missing the self dependency, some
of them had the color attachment bits set when depending on depth, and
one case had a self dependency where it should not.
This patch adds a self dependency to two test cases that need it,
removes self dependency from a case that does not need it, and fixes
the depth tests to have the correct bits set.

Affects:

dEQP-VK.renderpass.suballocation.formats.*.input.*
dEQP-VK.renderpass.dedicated_allocation.formats.*.input.*
dEQP-VK.renderpass2.suballocation.formats.*.input.*
dEQP-VK.renderpass2.dedicated_allocation.formats.*.input.*

Components: Vulkan

VK-GL-CTS Issue: 1454

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