st/oxr: Add KHR_maintenance1

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2194>
This commit is contained in:
Christoph Haag 2024-03-22 23:47:21 +01:00 committed by Marge Bot
parent 2371d68bbe
commit bb2008ebf2
2 changed files with 13 additions and 0 deletions

View file

@ -48,6 +48,7 @@ EXTENSIONS = (
['XR_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
['XR_KHR_loader_init_android', 'OXR_HAVE_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
['XR_KHR_locate_spaces'],
['XR_KHR_maintenance1'],
['XR_KHR_opengl_enable', 'XR_USE_GRAPHICS_API_OPENGL'],
['XR_KHR_opengl_es_enable', 'XR_USE_GRAPHICS_API_OPENGL_ES'],
['XR_KHR_swapchain_usage_input_attachment_bit'],

View file

@ -190,6 +190,17 @@
#endif
/*
* XR_KHR_maintenance1
*/
#if defined(XR_KHR_maintenance1)
#define OXR_HAVE_KHR_maintenance1
#define OXR_EXTENSION_SUPPORT_KHR_maintenance1(_) _(KHR_maintenance1, KHR_MAINTENANCE1)
#else
#define OXR_EXTENSION_SUPPORT_KHR_maintenance1(_)
#endif
/*
* XR_KHR_opengl_enable
*/
@ -752,6 +763,7 @@
OXR_EXTENSION_SUPPORT_KHR_loader_init(_) \
OXR_EXTENSION_SUPPORT_KHR_loader_init_android(_) \
OXR_EXTENSION_SUPPORT_KHR_locate_spaces(_) \
OXR_EXTENSION_SUPPORT_KHR_maintenance1(_) \
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
OXR_EXTENSION_SUPPORT_KHR_opengl_es_enable(_) \
OXR_EXTENSION_SUPPORT_KHR_swapchain_usage_input_attachment_bit(_) \