| 383 | } |
| 384 | |
| 385 | static const std::string GetConfigsDir() { |
| 386 | const std::string TABLE[] = { |
| 387 | "/" + VKCONFIG_VERSION + "/configurations", // ENVIRONMENT_WIN32 |
| 388 | "/lunarg-" + VKCONFIG_VERSION + "/configurations" // ENVIRONMENT_UNIX |
| 389 | }; |
| 390 | static_assert(std::size(TABLE) == ENVIRONMENT_COUNT); |
| 391 | |
| 392 | std::string absolute_path(GetAppDataDir() + TABLE[VKC_ENV]); |
| 393 | return absolute_path; |
| 394 | } |
| 395 | |
| 396 | static const std::string GetLayersSettingsPath() { |
| 397 | #if VKC_ENV == VKC_ENV_WIN32 |