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

Function GetExplicitLayersDir

vkconfig_core/path.cpp:435–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433static const std::string GetSDKDir() { return qgetenv("VULKAN_SDK").toStdString(); }
434
435static const std::string GetExplicitLayersDir() {
436 const std::string TABLE[] = {
437 "/Bin", // ENVIRONMENT_WIN32
438 "/share/vulkan/explicit_layer.d" // ENVIRONMENT_UNIX
439 };
440 static_assert(std::size(TABLE) == ENVIRONMENT_COUNT);
441
442 return GetSDKDir() + TABLE[VKC_ENV];
443}
444
445static const std::string GetVulkanDir() {
446 const char* TABLE[] = {

Callers 1

PathMethod · 0.85

Calls 1

GetSDKDirFunction · 0.85

Tested by

no test coverage detected