added VK_LAYER_AMD_switchable_graphics in VKInstance.h/VKProperties.cpp

This commit is contained in:
2023-12-05 02:07:25 +08:00
parent deefdf1416
commit 775e031422
2 changed files with 9 additions and 0 deletions

View File

@@ -90,6 +90,10 @@ void CheckInstanceLayer(CharPointerList &layer_list,CreateInstanceLayerInfo *lay
VK_LAYER_KHRONOS_ADD(validation)
VK_LAYER_KHRONOS_ADD(profiles)
#define VK_LAYER_AMD_ADD(name) VK_LAYER_CHECK(amd,"AMD",name)
VK_LAYER_AMD_ADD(switchable_graphics)
#define VK_LAYER_NV_ADD(name) VK_LAYER_CHECK(nv,"NV",name)
VK_LAYER_NV_ADD(optimus)