mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
Remove unused VmaAlgorithmToStr function
This commit is contained in:
parent
df7648061c
commit
ebefe58623
@ -3377,22 +3377,6 @@ static inline bool VmaStrIsEmpty(const char* pStr)
|
|||||||
return pStr == VMA_NULL || *pStr == '\0';
|
return pStr == VMA_NULL || *pStr == '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
#if VMA_STATS_STRING_ENABLED
|
|
||||||
static const char* VmaAlgorithmToStr(uint32_t algorithm)
|
|
||||||
{
|
|
||||||
switch (algorithm)
|
|
||||||
{
|
|
||||||
case VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT:
|
|
||||||
return "Linear";
|
|
||||||
case 0:
|
|
||||||
return "TLSF";
|
|
||||||
default:
|
|
||||||
VMA_ASSERT(0);
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // VMA_STATS_STRING_ENABLED
|
|
||||||
|
|
||||||
#ifndef VMA_SORT
|
#ifndef VMA_SORT
|
||||||
template<typename Iterator, typename Compare>
|
template<typename Iterator, typename Compare>
|
||||||
Iterator VmaQuickSortPartition(Iterator beg, Iterator end, Compare cmp)
|
Iterator VmaQuickSortPartition(Iterator beg, Iterator end, Compare cmp)
|
||||||
|
Loading…
Reference in New Issue
Block a user