Add memory barrier to fragment shader interlock tests.
authorSzymon Szczyrbak <szymon.szczyrbak@intel.com>
Tue, 14 Jan 2020 12:40:51 +0000 (13:40 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 17 Apr 2020 12:13:04 +0000 (08:13 -0400)
commit3abe621c46308337bcb1afd3f4f40be5e669e175
treea22bc6a1888a7fffa43a935fe7f16b86c604129a
parent4100aac26b2a57de9e57770558a84b85d19d6395
Add memory barrier to fragment shader interlock tests.

Image or buffer written by GPU are copied to host-visible buffer used to
verify test's results.
Added a TRANSFER_WRITE/HOST_READ pipeline barrier to make sure that the data
accessed by host is up-to-date.

Component: Vulkan

Affects: dEQP-VK.fragment_shader_interlock.basic.*

VK-GL-CTS Issue: 2165

Change-Id: I6d458b2e650a3813e62948d670b8a53e864aed37
(cherry picked from commit 1f1f54995a1a32ad4b7f9f357a39c19d3c1c0a7c)
external/vulkancts/modules/vulkan/fragment_shader_interlock/vktFragmentShaderInterlockBasic.cpp