summaryrefslogtreecommitdiffstats
path: root/Common/interface
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-11-05 16:58:57 +0000
committerazhirnov <zh1dron@gmail.com>2020-11-05 16:58:57 +0000
commit8e0218168e2f63812f658298b3571c53879a5780 (patch)
treeb07a48fcca9fb9440493ed00b67dd2b28872c327 /Common/interface
parentAdded AS copy with compacting. (diff)
downloadDiligentCore-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.hpp5
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;