st/oxr: Add disabled XR_MSFT_hand_intertaction

The binding code has support for this extenstion, but the bindings are not
used in any of the drivers so totally untested and would lead to the wrong
expectations of the applications.
This commit is contained in:
Korcan Hussein 2023-06-28 16:04:39 +01:00 committed by Jakob Bornecrantz
parent ba6c35e605
commit 18e367300c
2 changed files with 13 additions and 0 deletions

View file

@ -62,6 +62,7 @@ EXTENSIONS = (
['XR_ML_ml2_controller_interaction'], ['XR_ML_ml2_controller_interaction'],
['XR_MND_headless'], ['XR_MND_headless'],
['XR_MND_swapchain_usage_input_attachment_bit'], ['XR_MND_swapchain_usage_input_attachment_bit'],
['XR_MSFT_hand_interaction', 'ALWAYS_DISABLED'],
['XR_EXTX_overlay'], ['XR_EXTX_overlay'],
['XR_HTCX_vive_tracker_interaction', 'ALWAYS_DISABLED'], ['XR_HTCX_vive_tracker_interaction', 'ALWAYS_DISABLED'],
['XR_MNDX_ball_on_a_stick_controller'], ['XR_MNDX_ball_on_a_stick_controller'],

View file

@ -349,6 +349,17 @@
#endif #endif
/*
* XR_MSFT_hand_interaction
*/
#if defined(XR_MSFT_hand_interaction) && defined(ALWAYS_DISABLED)
#define OXR_HAVE_MSFT_hand_interaction
#define OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_) _(MSFT_hand_interaction, MSFT_HAND_INTERACTION)
#else
#define OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_)
#endif
/* /*
* XR_EXTX_overlay * XR_EXTX_overlay
*/ */
@ -469,6 +480,7 @@
OXR_EXTENSION_SUPPORT_ML_ml2_controller_interaction(_) \ OXR_EXTENSION_SUPPORT_ML_ml2_controller_interaction(_) \
OXR_EXTENSION_SUPPORT_MND_headless(_) \ OXR_EXTENSION_SUPPORT_MND_headless(_) \
OXR_EXTENSION_SUPPORT_MND_swapchain_usage_input_attachment_bit(_) \ OXR_EXTENSION_SUPPORT_MND_swapchain_usage_input_attachment_bit(_) \
OXR_EXTENSION_SUPPORT_MSFT_hand_interaction(_) \
OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \ OXR_EXTENSION_SUPPORT_EXTX_overlay(_) \
OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \ OXR_EXTENSION_SUPPORT_HTCX_vive_tracker_interaction(_) \
OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \ OXR_EXTENSION_SUPPORT_MNDX_ball_on_a_stick_controller(_) \