Skip to content

Commit b3f5110

Browse files
Fix TestHeapSizeLimit to work on Radeon R7 APU with 256 MB of DEVICE_LOCAL memory
1 parent ba2bdea commit b3f5110

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,8 +1981,8 @@ static void TestBasics()
19811981

19821982
void TestHeapSizeLimit()
19831983
{
1984-
const VkDeviceSize HEAP_SIZE_LIMIT = 1ull * 1024 * 1024 * 1024; // 1 GB
1985-
const VkDeviceSize BLOCK_SIZE = 128ull * 1024 * 1024; // 128 MB
1984+
const VkDeviceSize HEAP_SIZE_LIMIT = 200ull * 1024 * 1024; // 200 MB
1985+
const VkDeviceSize BLOCK_SIZE = 20ull * 1024 * 1024; // 20 MB
19861986

19871987
VkDeviceSize heapSizeLimit[VK_MAX_MEMORY_HEAPS];
19881988
for(uint32_t i = 0; i < VK_MAX_MEMORY_HEAPS; ++i)

0 commit comments

Comments
 (0)