mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
st/oxr: Generate headers for XR_KHR_binding_modification
This commit is contained in:
parent
6296c9ded5
commit
6a54b4e6e3
|
@ -11,6 +11,7 @@ from pathlib import Path
|
|||
# Keep sorted, KHR, EXT, Vendor, experimental (same order).
|
||||
EXTENSIONS = (
|
||||
['XR_KHR_android_create_instance', 'XR_USE_PLATFORM_ANDROID'],
|
||||
['XR_KHR_binding_modification'],
|
||||
['XR_KHR_composition_layer_cube', 'XRT_FEATURE_OPENXR_LAYER_CUBE'],
|
||||
['XR_KHR_composition_layer_cylinder', 'XRT_FEATURE_OPENXR_LAYER_CYLINDER'],
|
||||
['XR_KHR_composition_layer_depth', 'XRT_FEATURE_OPENXR_LAYER_DEPTH'],
|
||||
|
|
|
@ -32,6 +32,17 @@
|
|||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_binding_modification
|
||||
*/
|
||||
#if defined(XR_KHR_binding_modification)
|
||||
#define OXR_HAVE_KHR_binding_modification
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_binding_modification(_) _(KHR_binding_modification, KHR_BINDING_MODIFICATION)
|
||||
#else
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_binding_modification(_)
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_composition_layer_cube
|
||||
*/
|
||||
|
@ -315,6 +326,7 @@
|
|||
// clang-format off
|
||||
#define OXR_EXTENSION_SUPPORT_GENERATE(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_android_create_instance(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_binding_modification(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_cube(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_cylinder(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_depth(_) \
|
||||
|
|
Loading…
Reference in a new issue