summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-09-08 21:11:20 +0000
committerazhirnov <zh1dron@gmail.com>2020-09-08 21:11:20 +0000
commitf556d61c7360b2dd850ac8712d293d8b2be02bc5 (patch)
tree3926acb2e9c41df14957ca6a8a287ac8d20b60d4 /Graphics/GraphicsEngineD3D12
parentremoved m_isDXIL flag, detect DXIL by bytecode (diff)
parentUpdated third-party modules (diff)
downloadDiligentCore-f556d61c7360b2dd850ac8712d293d8b2be02bc5.tar.gz
DiligentCore-f556d61c7360b2dd850ac8712d293d8b2be02bc5.zip
Merge branch 'master' into mesh_shader
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
index 7d8dd348..35539eb2 100644
--- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp
@@ -2142,6 +2142,7 @@ void DeviceContextD3D12Impl::TransitionBufferState(IBuffer* pBuffer, D3D12_RESOU
ID3D12GraphicsCommandList* DeviceContextD3D12Impl::GetD3D12CommandList()
{
auto& CmdCtx = GetCmdContext();
+ CmdCtx.FlushResourceBarriers();
return CmdCtx.GetCommandList();
}