From fbaccff808189d920f819e0113333ef48ce4043b Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 9 Mar 2020 17:09:23 +0100 Subject: [PATCH] Minor tweak in TestHeapSizeLimit to pass on AMD integrated graphics which has only 200 MB of DEVICE_LOCAL memory --- src/Tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tests.cpp b/src/Tests.cpp index d4749f6..5935600 100644 --- a/src/Tests.cpp +++ b/src/Tests.cpp @@ -2765,8 +2765,8 @@ static void TestPool_MinBlockCount() void TestHeapSizeLimit() { - const VkDeviceSize HEAP_SIZE_LIMIT = 200ull * 1024 * 1024; // 200 MB - const VkDeviceSize BLOCK_SIZE = 20ull * 1024 * 1024; // 20 MB + const VkDeviceSize HEAP_SIZE_LIMIT = 100ull * 1024 * 1024; // 100 MB + const VkDeviceSize BLOCK_SIZE = 10ull * 1024 * 1024; // 10 MB VkDeviceSize heapSizeLimit[VK_MAX_MEMORY_HEAPS]; for(uint32_t i = 0; i < VK_MAX_MEMORY_HEAPS; ++i)