From cf9c56aae857803ad4d3f1d624941317ccb9f96e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 1 Oct 2018 08:30:02 -0700 Subject: Added few extra debug checks to Vk backend --- Graphics/GraphicsEngineNextGenBase/include/DynamicHeap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Graphics/GraphicsEngineNextGenBase') 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) { -- cgit v1.2.3