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

Function IsExtensionLayer

vkconfig_core/parameter.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#include <algorithm>
33
34static bool IsExtensionLayer(const std::string& key) {
35 return key == "VK_LAYER_KHRONOS_timeline_semaphore" || key == "VK_LAYER_KHRONOS_synchronization2" ||
36 key == "VK_LAYER_KHRONOS_shader_object" || key == "VK_LAYER_KHRONOS_memory_decompression";
37}
38
39static bool IsValidationLayer(const std::string& key) { return key == "VK_LAYER_KHRONOS_validation"; }
40

Callers 1

GetParameterOrderingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected