mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
parent
c61770a162
commit
204fcdc0a3
@ -14321,7 +14321,7 @@ VmaPool_T::VmaPool_T(
|
||||
(createInfo.flags& VMA_POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BIT) != 0 ? 1 : hAllocator->GetBufferImageGranularity(),
|
||||
createInfo.frameInUseCount,
|
||||
createInfo.blockSize != 0, // explicitBlockSize
|
||||
createInfo.flags& VMA_POOL_CREATE_ALGORITHM_MASK, // algorithm
|
||||
createInfo.flags & VMA_POOL_CREATE_ALGORITHM_MASK, // algorithm
|
||||
createInfo.priority,
|
||||
VMA_MAX(hAllocator->GetMemoryTypeMinAlignment(createInfo.memoryTypeIndex), createInfo.minAllocationAlignment),
|
||||
createInfo.pMemoryAllocateNext),
|
||||
@ -15106,7 +15106,7 @@ VmaAllocator_T::VmaAllocator_T(const VmaAllocatorCreateInfo* pCreateInfo) :
|
||||
GetBufferImageGranularity(),
|
||||
pCreateInfo->frameInUseCount,
|
||||
false, // explicitBlockSize
|
||||
false, // linearAlgorithm
|
||||
0, // algorithm
|
||||
0.5f, // priority (0.5 is the default per Vulkan spec)
|
||||
GetMemoryTypeMinAlignment(memTypeIndex), // minAllocationAlignment
|
||||
VMA_NULL); // // pMemoryAllocateNext
|
||||
|
Loading…
Reference in New Issue
Block a user