summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-09-16 18:49:54 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-09-16 18:49:54 +0000
commit609a63ef71c504981e38d115dafc9cbf52dfa640 (patch)
treebfe75873dca09ead4b2a7939ff3b7703ab378088 /Graphics/GraphicsEngineVulkan
parentFixed one more gcc warning (diff)
downloadDiligentCore-609a63ef71c504981e38d115dafc9cbf52dfa640.tar.gz
DiligentCore-609a63ef71c504981e38d115dafc9cbf52dfa640.zip
Reworked dynamic memory allocation in D3D12 backend to not rely on ring buffer (fixed https://github.com/DiligentGraphics/DiligentCore/issues/23)
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/CommandListVkImpl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/CommandListVkImpl.h b/Graphics/GraphicsEngineVulkan/include/CommandListVkImpl.h
index b64f32bb..992a1d8e 100644
--- a/Graphics/GraphicsEngineVulkan/include/CommandListVkImpl.h
+++ b/Graphics/GraphicsEngineVulkan/include/CommandListVkImpl.h
@@ -39,9 +39,9 @@ class CommandListVkImpl final : public CommandListBase<ICommandList, RenderDevic
public:
using TCommandListBase = CommandListBase<ICommandList, RenderDeviceVkImpl>;
- CommandListVkImpl(IReferenceCounters* pRefCounters,
- RenderDeviceVkImpl* pDevice,
- IDeviceContext* pDeferredCtx,
+ CommandListVkImpl(IReferenceCounters* pRefCounters,
+ RenderDeviceVkImpl* pDevice,
+ IDeviceContext* pDeferredCtx,
VkCommandBuffer vkCmdBuff,
Uint64 CommandListNumber) :
TCommandListBase (pRefCounters, pDevice),
@@ -56,14 +56,14 @@ public:
VERIFY(m_vkCmdBuff == VK_NULL_HANDLE && !m_pDeferredCtx, "Destroying command list that was never executed");
}
- void Close(VkCommandBuffer& CmdBuff,
- RefCntAutoPtr<IDeviceContext>& pDeferredCtx,
- Uint64& CommandBufferNumber)
+ void Close(VkCommandBuffer& CmdBuff,
+ RefCntAutoPtr<IDeviceContext>& pDeferredCtx,
+ Uint64& CommandBufferNumber)
{
- CmdBuff = m_vkCmdBuff;
- m_vkCmdBuff = VK_NULL_HANDLE;
- pDeferredCtx = std::move(m_pDeferredCtx);
- CommandBufferNumber = m_CommandBufferNumber;
+ CmdBuff = m_vkCmdBuff;
+ m_vkCmdBuff = VK_NULL_HANDLE;
+ pDeferredCtx = std::move(m_pDeferredCtx);
+ CommandBufferNumber = m_CommandBufferNumber;
m_CommandBufferNumber = 0;
}