added VK_LAYER_AMD_switchable_graphics in VKInstance.h/VKProperties.cpp
This commit is contained in:
parent
deefdf1416
commit
775e031422
@ -28,6 +28,11 @@ VK_NAMESPACE_BEGIN
|
|||||||
VK_BOOL1BIT(profiles)
|
VK_BOOL1BIT(profiles)
|
||||||
}khronos;
|
}khronos;
|
||||||
|
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
VK_BOOL1BIT(switchable_graphics)
|
||||||
|
}amd;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
VK_BOOL1BIT(optimus)
|
VK_BOOL1BIT(optimus)
|
||||||
|
@ -90,6 +90,10 @@ void CheckInstanceLayer(CharPointerList &layer_list,CreateInstanceLayerInfo *lay
|
|||||||
VK_LAYER_KHRONOS_ADD(validation)
|
VK_LAYER_KHRONOS_ADD(validation)
|
||||||
VK_LAYER_KHRONOS_ADD(profiles)
|
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)
|
#define VK_LAYER_NV_ADD(name) VK_LAYER_CHECK(nv,"NV",name)
|
||||||
|
|
||||||
VK_LAYER_NV_ADD(optimus)
|
VK_LAYER_NV_ADD(optimus)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user