diff --git a/doc/changes/state_trackers/mr.2578.md b/doc/changes/state_trackers/mr.2578.md new file mode 100644 index 000000000..9bfd06495 --- /dev/null +++ b/doc/changes/state_trackers/mr.2578.md @@ -0,0 +1 @@ +Update OpenXR headers to 1.1.51 \ No newline at end of file diff --git a/src/external/openxr_includes/openxr/openxr.h b/src/external/openxr_includes/openxr/openxr.h index 6907ebc9c..ed9a80076 100644 --- a/src/external/openxr_includes/openxr/openxr.h +++ b/src/external/openxr_includes/openxr/openxr.h @@ -26,7 +26,7 @@ extern "C" { ((((major) & 0xffffULL) << 48) | (((minor) & 0xffffULL) << 32) | ((patch) & 0xffffffffULL)) // OpenXR current version number. -#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 1, 50) +#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 1, 51) // OpenXR 1.0 version number #define XR_API_VERSION_1_0 XR_MAKE_VERSION(1, 0, XR_VERSION_PATCH(XR_CURRENT_API_VERSION)) diff --git a/src/external/openxr_includes/openxr/openxr_reflection.h b/src/external/openxr_includes/openxr/openxr_reflection.h index 585332f9d..ee4c52288 100644 --- a/src/external/openxr_includes/openxr/openxr_reflection.h +++ b/src/external/openxr_includes/openxr/openxr_reflection.h @@ -8095,6 +8095,7 @@ XR_ENUM_STR(XrResult); _(CreateVulkanInstanceKHR, KHR_vulkan_enable2) \ _(CreateVulkanDeviceKHR, KHR_vulkan_enable2) \ _(GetVulkanGraphicsDevice2KHR, KHR_vulkan_enable2) \ + _(GetVulkanGraphicsRequirements2KHR, KHR_vulkan_enable2) \ /// For every function defined by XR_KHR_extended_struct_name_lengths in this version of the spec, @@ -8105,6 +8106,14 @@ XR_ENUM_STR(XrResult); _(StructureTypeToString2KHR, KHR_extended_struct_name_lengths) \ +/// For every function defined by XR_KHR_locate_spaces in this version of the spec, +/// calls your macro with the function name and extension name. +/// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, +/// because it is easy to add back but impossible to remove with the preprocessor. +#define XR_LIST_FUNCTIONS_XR_KHR_locate_spaces(_) \ + _(LocateSpacesKHR, KHR_locate_spaces) \ + + /// For every function defined by XR_EXT_performance_settings in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, diff --git a/src/external/openxr_includes/openxr/openxr_reflection_parent_structs.h b/src/external/openxr_includes/openxr/openxr_reflection_parent_structs.h index cef4e8100..bd29f934d 100644 --- a/src/external/openxr_includes/openxr/openxr_reflection_parent_structs.h +++ b/src/external/openxr_includes/openxr/openxr_reflection_parent_structs.h @@ -368,6 +368,7 @@ This file contains expansion macros (X Macros) for OpenXR structures that have a _avail(XrSpatialCapabilityConfigurationMicroQrCodeEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_MICRO_QR_CODE_EXT) \ _avail(XrSpatialCapabilityConfigurationArucoMarkerEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ARUCO_MARKER_EXT) \ _avail(XrSpatialCapabilityConfigurationAprilTagEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_APRIL_TAG_EXT) \ + _avail(XrSpatialCapabilityConfigurationAnchorEXT, XR_TYPE_SPATIAL_CAPABILITY_CONFIGURATION_ANCHOR_EXT) \