summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
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;
}