Added dummy implementation of VmaBlockMetadata_Buddy methods related to lost allocations. Lost allocations are not supported in buddy algorithm for now.
This commit is contained in:
parent
0dbbaad040
commit
a79d2746f1
1 changed files with 10 additions and 2 deletions
|
@ -9366,12 +9366,20 @@ bool VmaBlockMetadata_Buddy::MakeRequestedAllocationsLost(
|
|||
uint32_t frameInUseCount,
|
||||
VmaAllocationRequest* pAllocationRequest)
|
||||
{
|
||||
return false; // TODO
|
||||
/*
|
||||
Lost allocations are not supported in buddy allocator at the moment.
|
||||
Support might be added in the future.
|
||||
*/
|
||||
return pAllocationRequest->itemsToMakeLostCount == 0;
|
||||
}
|
||||
|
||||
uint32_t VmaBlockMetadata_Buddy::MakeAllocationsLost(uint32_t currentFrameIndex, uint32_t frameInUseCount)
|
||||
{
|
||||
return 0; // TODO
|
||||
/*
|
||||
Lost allocations are not supported in buddy allocator at the moment.
|
||||
Support might be added in the future.
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
void VmaBlockMetadata_Buddy::Alloc(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue