| 10392 | } |
| 10393 | |
| 10394 | void VmaCurrentBudgetData::RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) |
| 10395 | { |
| 10396 | VMA_ASSERT(m_AllocationBytes[heapIndex] >= allocationSize); |
| 10397 | m_AllocationBytes[heapIndex] -= allocationSize; |
| 10398 | VMA_ASSERT(m_AllocationCount[heapIndex] > 0); |
| 10399 | --m_AllocationCount[heapIndex]; |
| 10400 | #if VMA_MEMORY_BUDGET |
| 10401 | ++m_OperationsSinceBudgetFetch; |
| 10402 | #endif |
| 10403 | } |
| 10404 | #endif // _VMA_CURRENT_BUDGET_DATA_FUNCTIONS |
| 10405 | #endif // _VMA_CURRENT_BUDGET_DATA |
| 10406 |
no outgoing calls
no test coverage detected