mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-06 07:20:47 +00:00
Tests
This commit is contained in:
parent
87e466bad6
commit
057040085c
1 changed files with 5 additions and 0 deletions
|
@ -1448,6 +1448,7 @@ void TestDefragmentationFull()
|
|||
static void TestDefragmentationGpu()
|
||||
{
|
||||
wprintf(L"Test defragmentation GPU\n");
|
||||
g_MemoryAliasingWarningEnabled = false;
|
||||
|
||||
std::vector<AllocInfo> allocations;
|
||||
|
||||
|
@ -1547,6 +1548,8 @@ static void TestDefragmentationGpu()
|
|||
{
|
||||
allocations[i].Destroy();
|
||||
}
|
||||
|
||||
g_MemoryAliasingWarningEnabled = true;
|
||||
}
|
||||
|
||||
static void TestUserData()
|
||||
|
@ -4690,6 +4693,8 @@ void Test()
|
|||
// ########################################
|
||||
|
||||
TestDefragmentationGpu();
|
||||
TestDefragmentationSimple();
|
||||
TestDefragmentationFull();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue