mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-04 19:07:59 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2ae5466b2e
1 changed files with 3 additions and 1 deletions
|
@ -1613,7 +1613,7 @@ become outdated.
|
||||||
*/
|
*/
|
||||||
VMA_CALL_PRE void VMA_CALL_POST vmaGetHeapBudgets(
|
VMA_CALL_PRE void VMA_CALL_POST vmaGetHeapBudgets(
|
||||||
VmaAllocator VMA_NOT_NULL allocator,
|
VmaAllocator VMA_NOT_NULL allocator,
|
||||||
VmaBudget* VMA_NOT_NULL pBudgets);
|
VmaBudget* VMA_NOT_NULL VMA_LEN_IF_NOT_NULL("VkPhysicalDeviceMemoryProperties::memoryHeapCount") pBudgets);
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
@ -3551,6 +3551,7 @@ static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char
|
||||||
return VMA_NULL;
|
return VMA_NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if VMA_STATS_STRING_ENABLED
|
||||||
static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr, size_t strLen)
|
static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr, size_t strLen)
|
||||||
{
|
{
|
||||||
if (srcStr != VMA_NULL)
|
if (srcStr != VMA_NULL)
|
||||||
|
@ -3562,6 +3563,7 @@ static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char
|
||||||
}
|
}
|
||||||
return VMA_NULL;
|
return VMA_NULL;
|
||||||
}
|
}
|
||||||
|
#endif // VMA_STATS_STRING_ENABLED
|
||||||
|
|
||||||
static void VmaFreeString(const VkAllocationCallbacks* allocs, char* str)
|
static void VmaFreeString(const VkAllocationCallbacks* allocs, char* str)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue