mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-29 07:59:17 +00:00
Final fixes before v2.2.0 release. Minor fixes after tests. Rebuilt binaries and documentation again.
This commit is contained in:
parent
1a8424f41a
commit
bdb89a93eb
6 changed files with 14 additions and 12 deletions
|
@ -13,6 +13,10 @@ extern VkCommandBuffer g_hTemporaryCommandBuffer;
|
|||
void BeginSingleTimeCommands();
|
||||
void EndSingleTimeCommands();
|
||||
|
||||
#ifndef VMA_DEBUG_MARGIN
|
||||
#define VMA_DEBUG_MARGIN 0
|
||||
#endif
|
||||
|
||||
enum CONFIG_TYPE {
|
||||
CONFIG_TYPE_MINIMUM,
|
||||
CONFIG_TYPE_SMALL,
|
||||
|
@ -1379,6 +1383,7 @@ void TestDefragmentationSimple()
|
|||
Allocation that must be move to an overlapping place using memmove().
|
||||
Create 2 buffers, second slightly bigger than the first. Delete first. Then defragment.
|
||||
*/
|
||||
if(VMA_DEBUG_MARGIN == 0) // FAST algorithm works only when DEBUG_MARGIN disabled.
|
||||
{
|
||||
AllocInfo allocInfo[2];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue