| 241 | } |
| 242 | |
| 243 | static uint32_t GetAllocationStrategyCount() |
| 244 | { |
| 245 | switch(ConfigType) |
| 246 | { |
| 247 | case CONFIG_TYPE_MINIMUM: |
| 248 | case CONFIG_TYPE_SMALL: |
| 249 | return 1; |
| 250 | default: assert(0); |
| 251 | case CONFIG_TYPE_AVERAGE: |
| 252 | case CONFIG_TYPE_LARGE: |
| 253 | case CONFIG_TYPE_MAXIMUM: |
| 254 | return 2; |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | static const char* GetAllocationStrategyName(VmaAllocationCreateFlags allocStrategy) |
| 259 | { |
no outgoing calls
no test coverage detected