mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-06 23:40:48 +00:00
Implemented VmaBlockMetadata_Linear::AddPoolStats.
This commit is contained in:
parent
6540b19ed5
commit
21017c6cbe
2 changed files with 18 additions and 1 deletions
|
@ -4133,6 +4133,10 @@ static void BasicTestBuddyAllocator()
|
|||
|
||||
SaveAllocatorStatsToFile(L"BuddyTest01.json");
|
||||
|
||||
VmaPoolStats stats = {};
|
||||
vmaGetPoolStats(g_hAllocator, pool, &stats);
|
||||
int DBG = 0; // Set breakpoint here to inspect `stats`.
|
||||
|
||||
// Destroy the buffers in random order.
|
||||
while(!bufInfo.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue