summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineNextGenBase
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-01 15:30:02 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-01 15:30:02 +0000
commitcf9c56aae857803ad4d3f1d624941317ccb9f96e (patch)
treea41f91620e0c9eda140db502a85bd05cc05172e8 /Graphics/GraphicsEngineNextGenBase
parentMultiple minor updates to resource lifetime management system in Vk backend (diff)
downloadDiligentCore-cf9c56aae857803ad4d3f1d624941317ccb9f96e.tar.gz
DiligentCore-cf9c56aae857803ad4d3f1d624941317ccb9f96e.zip
Added few extra debug checks to Vk backend
Diffstat (limited to 'Graphics/GraphicsEngineNextGenBase')
-rw-r--r--Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h b/Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h
index 6707296a..6c3dcbc7 100644
--- a/Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h
+++ b/Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h
@@ -158,6 +158,10 @@ public:
OffsetType GetSize() const { return m_AllocationsMgr.GetMaxSize(); }
OffsetType GetUsedSize()const { return m_AllocationsMgr.GetUsedSize();}
+#ifdef DEVELOPMENT
+ int32_t GetMasterBlockCounter()const{return m_MasterBlockCounter;}
+#endif
+
protected:
MasterBlock AllocateMasterBlock(OffsetType SizeInBytes, OffsetType Alignment)
{