MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / AlgorithmToStr

Function AlgorithmToStr

src/Tests.cpp:74–86  ·  view source on GitHub ↗

Copy of internal VmaAlgorithmToStr.

Source from the content-addressed store, hash-verified

72
73// Copy of internal VmaAlgorithmToStr.
74static const char* AlgorithmToStr(uint32_t algorithm)
75{
76 switch(algorithm)
77 {
78 case VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT:
79 return "Linear";
80 case 0:
81 return "TLSF";
82 default:
83 assert(0);
84 return "";
85 }
86}
87
88static const char* VirtualAlgorithmToStr(uint32_t algorithm)
89{

Callers 1

BenchmarkAlgorithmsCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected