| 256 | } |
| 257 | |
| 258 | static const char* GetAllocationStrategyName(VmaAllocationCreateFlags allocStrategy) |
| 259 | { |
| 260 | switch(allocStrategy) |
| 261 | { |
| 262 | case VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT: return "MIN_MEMORY"; break; |
| 263 | case VMA_ALLOCATION_CREATE_STRATEGY_MIN_TIME_BIT: return "MIN_TIME"; break; |
| 264 | case 0: return "Default"; break; |
| 265 | default: assert(0); return ""; |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | static const char* GetVirtualAllocationStrategyName(VmaVirtualAllocationCreateFlags allocStrategy) |
| 270 | { |
no outgoing calls
no test coverage detected