diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-02-17 01:15:58 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 00:31:38 +0000 |
| commit | 045a5c0260f47f0dbd9c0367a647e3781fb9f342 (patch) | |
| tree | 070ebec89fd63afe022593334f79f0c0cefcbc02 /Graphics/GraphicsEngineVulkan | |
| parent | Fixed clang/gcc build error (diff) | |
| download | DiligentCore-045a5c0260f47f0dbd9c0367a647e3781fb9f342.tar.gz DiligentCore-045a5c0260f47f0dbd9c0367a647e3781fb9f342.zip | |
Few updates to D3D12 resource signature
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp index a4928130..36ba9075 100644 --- a/Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp @@ -691,9 +691,6 @@ void PipelineResourceSignatureVkImpl::Destruct() m_pDevice->SafeReleaseDeviceObject(std::move(Layout), ~0ull); } - if (m_pResourceAttribs == nullptr) - return; // memory is not allocated - auto& RawAllocator = GetRawAllocator(); if (m_StaticVarsMgrs != nullptr) |
