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

Function GetInitPath

vkconfig_core/path.cpp:374–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374static const std::string GetInitPath() {
375 const std::string TABLE[] = {
376 "/" + VKCONFIG_VERSION + "/vkconfig.json", // ENVIRONMENT_WIN32
377 "/lunarg-" + VKCONFIG_VERSION + "/vkconfig.json" // ENVIRONMENT_UNIX
378 };
379 static_assert(std::size(TABLE) == ENVIRONMENT_COUNT);
380
381 std::string absolute_path = GetAppDataDir() + TABLE[VKC_ENV];
382 return absolute_path;
383}
384
385static const std::string GetConfigsDir() {
386 const std::string TABLE[] = {

Callers 1

PathMethod · 0.85

Calls 1

GetAppDataDirFunction · 0.85

Tested by

no test coverage detected