summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/PipelineStateD3D12Impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/PipelineStateD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/PipelineStateD3D12Impl.cpp
index e9515ea2..ca0d0fb8 100644
--- a/Graphics/GraphicsEngineD3D12/src/PipelineStateD3D12Impl.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/PipelineStateD3D12Impl.cpp
@@ -1016,8 +1016,6 @@ PipelineStateD3D12Impl::~PipelineStateD3D12Impl()
void PipelineStateD3D12Impl::Destruct()
{
- TPipelineStateBase::Destruct();
-
m_Signatures.fill({});
m_RootSig.Release();
@@ -1026,6 +1024,8 @@ void PipelineStateD3D12Impl::Destruct()
// D3D12 object can only be destroyed when it is no longer used by the GPU
m_pDevice->SafeReleaseDeviceObject(std::move(m_pd3d12PSO), m_Desc.CommandQueueMask);
}
+
+ TPipelineStateBase::Destruct();
}
bool PipelineStateD3D12Impl::IsCompatibleWith(const IPipelineState* pPSO) const