mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-29 16:09:21 +00:00
Fix TestHeapSizeLimit to work on Radeon R7 APU with 256 MB of DEVICE_LOCAL memory
This commit is contained in:
parent
ba2bdea58e
commit
b3f5110987
1 changed files with 2 additions and 2 deletions
|
@ -1981,8 +1981,8 @@ static void TestBasics()
|
|||
|
||||
void TestHeapSizeLimit()
|
||||
{
|
||||
const VkDeviceSize HEAP_SIZE_LIMIT = 1ull * 1024 * 1024 * 1024; // 1 GB
|
||||
const VkDeviceSize BLOCK_SIZE = 128ull * 1024 * 1024; // 128 MB
|
||||
const VkDeviceSize HEAP_SIZE_LIMIT = 200ull * 1024 * 1024; // 200 MB
|
||||
const VkDeviceSize BLOCK_SIZE = 20ull * 1024 * 1024; // 20 MB
|
||||
|
||||
VkDeviceSize heapSizeLimit[VK_MAX_MEMORY_HEAPS];
|
||||
for(uint32_t i = 0; i < VK_MAX_MEMORY_HEAPS; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue