From 057040085c234c887ff559b101098050c75856ff Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Thu, 8 Nov 2018 16:07:29 +0100 Subject: [PATCH] Tests --- src/Tests.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Tests.cpp b/src/Tests.cpp index cc2fb3e..d34c34f 100644 --- a/src/Tests.cpp +++ b/src/Tests.cpp @@ -1448,6 +1448,7 @@ void TestDefragmentationFull() static void TestDefragmentationGpu() { wprintf(L"Test defragmentation GPU\n"); + g_MemoryAliasingWarningEnabled = false; std::vector 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; }