| 101 | } |
| 102 | |
| 103 | static 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 | |
| 117 | static const wchar_t* DefragmentationAlgorithmToStr(UINT32 algorithm) |
| 118 | { |
no outgoing calls
no test coverage detected