This commit is contained in:
Adam Sawicki 2018-11-08 16:07:29 +01:00
parent 87e466bad6
commit 057040085c

View File

@ -1448,6 +1448,7 @@ void TestDefragmentationFull()
static void TestDefragmentationGpu() static void TestDefragmentationGpu()
{ {
wprintf(L"Test defragmentation GPU\n"); wprintf(L"Test defragmentation GPU\n");
g_MemoryAliasingWarningEnabled = false;
std::vector<AllocInfo> allocations; std::vector<AllocInfo> allocations;
@ -1547,6 +1548,8 @@ static void TestDefragmentationGpu()
{ {
allocations[i].Destroy(); allocations[i].Destroy();
} }
g_MemoryAliasingWarningEnabled = true;
} }
static void TestUserData() static void TestUserData()
@ -4690,6 +4693,8 @@ void Test()
// ######################################## // ########################################
TestDefragmentationGpu(); TestDefragmentationGpu();
TestDefragmentationSimple();
TestDefragmentationFull();
return; return;
} }