st/oxr: Generate headers for XR_EXT_dpad_binding

This commit is contained in:
Jakob Bornecrantz 2022-01-04 18:44:32 +00:00 committed by Jakob Bornecrantz
parent 2715b0e144
commit 6296c9ded5
2 changed files with 13 additions and 0 deletions

View file

@ -26,6 +26,7 @@ EXTENSIONS = (
['XR_KHR_vulkan_enable', 'XR_USE_GRAPHICS_API_VULKAN'],
['XR_KHR_vulkan_enable2', 'XR_USE_GRAPHICS_API_VULKAN'],
['XR_EXT_debug_utils', 'XRT_FEATURE_OPENXR_DEBUG_UTILS'],
['XR_EXT_dpad_binding'],
['XR_EXT_hand_tracking'],
['XR_FB_display_refresh_rate'],
['XR_MND_headless'],

View file

@ -201,6 +201,17 @@
#endif
/*
* XR_EXT_dpad_binding
*/
#if defined(XR_EXT_dpad_binding)
#define OXR_HAVE_EXT_dpad_binding
#define OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_) _(EXT_dpad_binding, EXT_DPAD_BINDING)
#else
#define OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_)
#endif
/*
* XR_EXT_hand_tracking
*/
@ -319,6 +330,7 @@
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable(_) \
OXR_EXTENSION_SUPPORT_KHR_vulkan_enable2(_) \
OXR_EXTENSION_SUPPORT_EXT_debug_utils(_) \
OXR_EXTENSION_SUPPORT_EXT_dpad_binding(_) \
OXR_EXTENSION_SUPPORT_EXT_hand_tracking(_) \
OXR_EXTENSION_SUPPORT_FB_display_refresh_rate(_) \
OXR_EXTENSION_SUPPORT_MND_headless(_) \