From 8e0218168e2f63812f658298b3571c53879a5780 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Thu, 5 Nov 2020 19:58:57 +0300 Subject: Added support for local root signature & shader record. Bug fix for ray tracing. --- Common/interface/LinearAllocator.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Common/interface') diff --git a/Common/interface/LinearAllocator.hpp b/Common/interface/LinearAllocator.hpp index 34276aea..78ee9166 100644 --- a/Common/interface/LinearAllocator.hpp +++ b/Common/interface/LinearAllocator.hpp @@ -289,6 +289,11 @@ private: m_ReservedSize = 0; m_CurrAlignment = 0; m_pAllocator = nullptr; + +#if DILIGENT_DEBUG + m_DbgCurrAllocation = 0; + m_DbgAllocations.clear(); +#endif } uint8_t* m_pDataStart = nullptr; -- cgit v1.2.3