From d2acce087786550f307f61ae9071a285f3e6fc96 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 7 Sep 2020 16:02:42 -0700 Subject: Flushing barriers in DeviceContextD3D12Impl::GetD3D12CommandList and DeviceContextVkImpl::GetCommandBuffer --- Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsEngineVulkan') 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; } -- cgit v1.2.3