File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -10537,8 +10537,7 @@ struct VmaAllocator_T
10537
10537
size_t allocationCount);
10538
10538
VkResult CalcAllocationParams(
10539
10539
VmaAllocationCreateInfo& outCreateInfo,
10540
- bool dedicatedRequired,
10541
- bool dedicatedPreferred);
10540
+ bool dedicatedRequired);
10542
10541
10543
10542
/*
10544
10543
Calculates and returns bit mask of memory types that can support defragmentation
@@ -13940,8 +13939,7 @@ VkResult VmaAllocator_T::CalcMemTypeParams(
13940
13939
13941
13940
VkResult VmaAllocator_T::CalcAllocationParams(
13942
13941
VmaAllocationCreateInfo& inoutCreateInfo,
13943
- bool dedicatedRequired,
13944
- bool dedicatedPreferred)
13942
+ bool dedicatedRequired)
13945
13943
{
13946
13944
VMA_ASSERT((inoutCreateInfo.flags &
13947
13945
(VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT | VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT)) !=
@@ -14029,7 +14027,7 @@ VkResult VmaAllocator_T::AllocateMemory(
14029
14027
}
14030
14028
14031
14029
VmaAllocationCreateInfo createInfoFinal = createInfo;
14032
- VkResult res = CalcAllocationParams(createInfoFinal, requiresDedicatedAllocation, prefersDedicatedAllocation );
14030
+ VkResult res = CalcAllocationParams(createInfoFinal, requiresDedicatedAllocation);
14033
14031
if(res != VK_SUCCESS)
14034
14032
return res;
14035
14033
You can’t perform that action at this time.
0 commit comments