mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-31 17:07:44 +00:00
Minor tweak in TestHeapSizeLimit to pass on AMD integrated graphics which has only 200 MB of DEVICE_LOCAL memory
This commit is contained in:
parent
6a93b8aa5f
commit
fbaccff808
1 changed files with 2 additions and 2 deletions
|
@ -2765,8 +2765,8 @@ static void TestPool_MinBlockCount()
|
||||||
|
|
||||||
void TestHeapSizeLimit()
|
void TestHeapSizeLimit()
|
||||||
{
|
{
|
||||||
const VkDeviceSize HEAP_SIZE_LIMIT = 200ull * 1024 * 1024; // 200 MB
|
const VkDeviceSize HEAP_SIZE_LIMIT = 100ull * 1024 * 1024; // 100 MB
|
||||||
const VkDeviceSize BLOCK_SIZE = 20ull * 1024 * 1024; // 20 MB
|
const VkDeviceSize BLOCK_SIZE = 10ull * 1024 * 1024; // 10 MB
|
||||||
|
|
||||||
VkDeviceSize heapSizeLimit[VK_MAX_MEMORY_HEAPS];
|
VkDeviceSize heapSizeLimit[VK_MAX_MEMORY_HEAPS];
|
||||||
for(uint32_t i = 0; i < VK_MAX_MEMORY_HEAPS; ++i)
|
for(uint32_t i = 0; i < VK_MAX_MEMORY_HEAPS; ++i)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue