Skip to content

Commit a740a6e

Browse files
committed
Update OpenXR to 1.0.23
1 parent abb9286 commit a740a6e

File tree

7 files changed

+1002
-37
lines changed

7 files changed

+1002
-37
lines changed

thirdparty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Patch files are provided in `oidn/patches/`.
526526
## openxr
527527

528528
- Upstream: https://github.com/KhronosGroup/OpenXR-SDK
529-
- Version: 1.0.22 (458984d7f59d1ae6dc1b597d94b02e4f7132eaba, 2022)
529+
- Version: 1.0.23 (885a90f8934d84121344ba8e4aa5159d5b496e08, 2022)
530530
- License: Apache 2.0
531531

532532
Files extracted from upstream source:

thirdparty/openxr/include/openxr/openxr.h

Lines changed: 568 additions & 27 deletions
Large diffs are not rendered by default.

thirdparty/openxr/include/openxr/openxr_platform.h

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVulkanGraphicsRequirementsKHR(
275275
#ifdef XR_USE_GRAPHICS_API_D3D11
276276

277277
#define XR_KHR_D3D11_enable 1
278-
#define XR_KHR_D3D11_enable_SPEC_VERSION 8
278+
#define XR_KHR_D3D11_enable_SPEC_VERSION 9
279279
#define XR_KHR_D3D11_ENABLE_EXTENSION_NAME "XR_KHR_D3D11_enable"
280280
// XrGraphicsBindingD3D11KHR extends XrSessionCreateInfo
281281
typedef struct XrGraphicsBindingD3D11KHR {
@@ -312,7 +312,7 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetD3D11GraphicsRequirementsKHR(
312312
#ifdef XR_USE_GRAPHICS_API_D3D12
313313

314314
#define XR_KHR_D3D12_enable 1
315-
#define XR_KHR_D3D12_enable_SPEC_VERSION 8
315+
#define XR_KHR_D3D12_enable_SPEC_VERSION 9
316316
#define XR_KHR_D3D12_ENABLE_EXTENSION_NAME "XR_KHR_D3D12_enable"
317317
// XrGraphicsBindingD3D12KHR extends XrSessionCreateInfo
318318
typedef struct XrGraphicsBindingD3D12KHR {
@@ -668,6 +668,21 @@ typedef struct XrSwapchainStateSamplerVulkanFB {
668668

669669
#endif /* XR_USE_GRAPHICS_API_VULKAN */
670670

671+
#ifdef XR_USE_GRAPHICS_API_VULKAN
672+
673+
#define XR_META_vulkan_swapchain_create_info 1
674+
#define XR_META_vulkan_swapchain_create_info_SPEC_VERSION 1
675+
#define XR_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAME "XR_META_vulkan_swapchain_create_info"
676+
// XrVulkanSwapchainCreateInfoMETA extends XrSwapchainCreateInfo
677+
typedef struct XrVulkanSwapchainCreateInfoMETA {
678+
XrStructureType type;
679+
const void* XR_MAY_ALIAS next;
680+
VkImageCreateFlags additionalCreateFlags;
681+
VkImageUsageFlags additionalUsageFlags;
682+
} XrVulkanSwapchainCreateInfoMETA;
683+
684+
#endif /* XR_USE_GRAPHICS_API_VULKAN */
685+
671686
#ifdef __cplusplus
672687
}
673688
#endif

0 commit comments

Comments
 (0)