mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-23 05:01:16 +02:00
st/oxr: Generate headers for XR_KHR_binding_modification
This commit is contained in:
1 parent
6296c9ded5
commit
6a54b4e6e3
2 files changed
+13
No files matched your search
@@ -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(_) \
|
||||
|
||||
Reference in new issue
Block a user