MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator / VirtualAlgorithmToStr

Function VirtualAlgorithmToStr

src/Tests.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static const char* VirtualAlgorithmToStr(D3D12MA::VIRTUAL_BLOCK_FLAGS algorithm)
104{
105 switch (algorithm)
106 {
107 case D3D12MA::VIRTUAL_BLOCK_FLAG_ALGORITHM_LINEAR:
108 return "Linear";
109 case 0:
110 return "TLSF";
111 default:
112 assert(0);
113 return "";
114 }
115}
116
117static const wchar_t* DefragmentationAlgorithmToStr(UINT32 algorithm)
118{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected