summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-09-07 23:02:42 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-09-07 23:02:42 +0000
commitd2acce087786550f307f61ae9071a285f3e6fc96 (patch)
tree5cb1203c32baedd4890551c80e4771dcafb8d760 /Graphics/GraphicsEngineVulkan
parentRemoved no longer needed CommitShaderResources(nullptr) (diff)
downloadDiligentCore-d2acce087786550f307f61ae9071a285f3e6fc96.tar.gz
DiligentCore-d2acce087786550f307f61ae9071a285f3e6fc96.zip
Flushing barriers in DeviceContextD3D12Impl::GetD3D12CommandList and DeviceContextVkImpl::GetCommandBuffer
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
index ebca0282..e959ff4f 100644
--- a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
+++ b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp
@@ -320,6 +320,7 @@ public:
__forceinline VulkanUtilities::VulkanCommandBuffer& GetCommandBuffer()
{
EnsureVkCmdBuffer();
+ m_CommandBuffer.FlushBarriers();
return m_CommandBuffer;
}