diff options
| author | azhirnov <zh1dron@gmail.com> | 2020-11-05 16:58:57 +0000 |
|---|---|---|
| committer | azhirnov <zh1dron@gmail.com> | 2020-11-05 16:58:57 +0000 |
| commit | 8e0218168e2f63812f658298b3571c53879a5780 (patch) | |
| tree | b07a48fcca9fb9440493ed00b67dd2b28872c327 /Common/interface | |
| parent | Added AS copy with compacting. (diff) | |
| download | DiligentCore-8e0218168e2f63812f658298b3571c53879a5780.tar.gz DiligentCore-8e0218168e2f63812f658298b3571c53879a5780.zip | |
Added support for local root signature & shader record.
Bug fix for ray tracing.
Diffstat (limited to 'Common/interface')
| -rw-r--r-- | Common/interface/LinearAllocator.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
