mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Removed VMA_DEFRAGMENTATION_CAN_MAKE_LOST_BIT. Not going to implement it for now...
This commit is contained in:
parent
48a12aa835
commit
9948ca0ceb
@ -1754,7 +1754,7 @@ void Player::Defragment()
|
||||
defragInfo.maxCpuBytesToMove = VK_WHOLE_SIZE;
|
||||
defragInfo.maxGpuAllocationsToMove = UINT32_MAX;
|
||||
defragInfo.maxGpuBytesToMove = VK_WHOLE_SIZE;
|
||||
defragInfo.flags = VMA_DEFRAGMENTATION_CAN_MAKE_LOST_BIT;
|
||||
defragInfo.flags = 0;
|
||||
defragInfo.commandBuffer = m_CommandBuffer;
|
||||
|
||||
VmaDefragmentationContext defragCtx = VK_NULL_HANDLE;
|
||||
|
@ -2580,11 +2580,6 @@ VK_DEFINE_HANDLE(VmaDefragmentationContext)
|
||||
|
||||
/// Flags to be used in vmaDefragmentationBegin().
|
||||
typedef enum VmaDefragmentationFlagBits {
|
||||
/** Add this flag to enable allocations created with #VMA_ALLOCATION_CREATE_CAN_BECOME_LOST_BIT
|
||||
flag to become lost during defragmentation process if the algorithm decides it is beneficial.
|
||||
*/
|
||||
VMA_DEFRAGMENTATION_CAN_MAKE_LOST_BIT = 0x00000001,
|
||||
|
||||
/** Add this flag to change defragmentation algorithm to fast rather than default (balanced).
|
||||
This algorithm will favor speed over quality of defragmentation.
|
||||
Defragmentation will be done as fast and move as little allocations and bytes as possible while
|
||||
|
Loading…
Reference in New Issue
Block a user