mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-03 02:17:46 +00:00
Renamed function vmaGetBudget to vmaGetHeapBudgets. COMPATIBILITY BREAKING!
Rebuilt the docs. Closes #213
This commit is contained in:
parent
4687f53764
commit
35eeb340a3
19 changed files with 330 additions and 322 deletions
|
@ -5473,7 +5473,7 @@ static void TestBudget()
|
|||
vmaSetCurrentFrameIndex(g_hAllocator, ++g_FrameIndex);
|
||||
|
||||
VmaBudget budgetBeg[VK_MAX_MEMORY_HEAPS] = {};
|
||||
vmaGetBudget(g_hAllocator, budgetBeg);
|
||||
vmaGetHeapBudgets(g_hAllocator, budgetBeg);
|
||||
|
||||
for(uint32_t i = 0; i < memProps->memoryHeapCount; ++i)
|
||||
{
|
||||
|
@ -5514,7 +5514,7 @@ static void TestBudget()
|
|||
}
|
||||
|
||||
VmaBudget budgetWithBufs[VK_MAX_MEMORY_HEAPS] = {};
|
||||
vmaGetBudget(g_hAllocator, budgetWithBufs);
|
||||
vmaGetHeapBudgets(g_hAllocator, budgetWithBufs);
|
||||
|
||||
// DESTROY BUFFERS
|
||||
for(size_t bufIndex = BUF_COUNT; bufIndex--; )
|
||||
|
@ -5523,7 +5523,7 @@ static void TestBudget()
|
|||
}
|
||||
|
||||
VmaBudget budgetEnd[VK_MAX_MEMORY_HEAPS] = {};
|
||||
vmaGetBudget(g_hAllocator, budgetEnd);
|
||||
vmaGetHeapBudgets(g_hAllocator, budgetEnd);
|
||||
|
||||
// CHECK
|
||||
for(uint32_t i = 0; i < memProps->memoryHeapCount; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue