Add pipeline barriers flushing buffer data to host
authorPanagiotis Apostolou <panagiotis.apostolou@arm.com>
Thu, 25 Jul 2019 10:29:18 +0000 (12:29 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Aug 2019 11:24:22 +0000 (07:24 -0400)
commit4527c01faed83cb716d4020bf551dafa9356e11c
treee0d6094d96ab00e4fe928ef4a2611523a9afa7dc
parent7c09144947dc0ff8ab6b1b9396f21998e077c6c8
Add pipeline barriers flushing buffer data to host

This commit adds a few buffer pipeline barriers whose purpose is to flush
gpu caches, making the buffer data visible to the host.

Affects:
dEQP-VK.pipeline.push_constant.compute_pipeline.simple_test
dEQP-VK.glsl.builtin.precision.*
dEQP-VK.glsl.builtin.function.*
dEQP-VK.api.command_buffers.record_simul_use_secondary_one_primary
dEQP-VK.synchronization.op.single_queue.*
dEQP-VK.query_pool.occlusion_query.*

Components: Vulkan

VK-GL-CTS issue: 1898

Change-Id: Ic6a467b4d1db6cebebf34c8d386e519016fc3fe9
external/vulkancts/modules/vulkan/api/vktApiCommandBuffersTests.cpp
external/vulkancts/modules/vulkan/draw/vktDrawBufferObjectUtil.cpp
external/vulkancts/modules/vulkan/draw/vktDrawBufferObjectUtil.hpp
external/vulkancts/modules/vulkan/pipeline/vktPipelinePushConstantTests.cpp
external/vulkancts/modules/vulkan/query_pool/vktQueryPoolOcclusionTests.cpp
external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationOperation.cpp