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

Function GetVulkanProfilesDir

vkconfig_core/path.cpp:489–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489static const std::string GetVulkanProfilesDir() {
490 const std::string TABLE[] = {
491 "/Config/VK_LAYER_KHRONOS_profiles", // ENVIRONMENT_WIN32
492 "/share/vulkan/config/VK_LAYER_KHRONOS_profiles" // ENVIRONMENT_UNIX
493 };
494 static_assert(std::size(TABLE) == ENVIRONMENT_COUNT);
495
496 return ::GetVulkanDir() + TABLE[VKC_ENV];
497}
498
499Path::Path(Path::Builtin path) {
500 bool is_file = false;

Callers 1

PathMethod · 0.85

Calls 1

GetVulkanDirFunction · 0.85

Tested by

no test coverage detected