mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
oxr: Add XR_KHR_vulkan_enable2 to ext generator script
This commit is contained in:
parent
58900f1db9
commit
f8a4f35572
|
@ -15,6 +15,7 @@ EXTENSIONS = (
|
|||
['XR_KHR_opengl_enable', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||
['XR_KHR_opengl_es_enable', 'XR_USE_GRAPHICS_API_OPENGL_ES'],
|
||||
['XR_KHR_vulkan_enable', 'XR_USE_GRAPHICS_API_VULKAN'],
|
||||
['XR_KHR_vulkan_enable2', 'XR_USE_GRAPHICS_API_VULKAN'],
|
||||
['XR_KHR_composition_layer_depth', 'XRT_FEATURE_OPENXR_LAYER_DEPTH'],
|
||||
['XR_KHR_composition_layer_cube', 'XRT_FEATURE_OPENXR_LAYER_CUBE'],
|
||||
['XR_KHR_composition_layer_cylinder', 'XRT_FEATURE_OPENXR_LAYER_CYLINDER'],
|
||||
|
|
|
@ -80,6 +80,18 @@
|
|||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_vulkan_enable2
|
||||
*/
|
||||
#if defined(XR_KHR_vulkan_enable2) && defined(XR_USE_GRAPHICS_API_VULKAN)
|
||||
#define OXR_HAVE_KHR_vulkan_enable2
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_vulkan_enable2(_) \
|
||||
_(KHR_vulkan_enable2, KHR_VULKAN_ENABLE2)
|
||||
#else
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_vulkan_enable2(_)
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_composition_layer_depth
|
||||
*/
|
||||
|
@ -257,6 +269,7 @@
|
|||
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_opengl_es_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable2(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_depth(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_cube(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_cylinder(_) \
|
||||
|
|
Loading…
Reference in a new issue