MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetConfigsDir

Function GetConfigsDir

vkconfig_core/path.cpp:385–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385static 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
396static const std::string GetLayersSettingsPath() {
397#if VKC_ENV == VKC_ENV_WIN32

Callers 1

PathMethod · 0.85

Calls 1

GetAppDataDirFunction · 0.85

Tested by

no test coverage detected