mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-23 08:02:04 +02:00
st/oxr: Add d3d12 support to the extension support header.
This commit is contained in:
1 parent
5c24b8e637
commit
f718ff151f
2 files changed
+13
No files matched your search
@@ -19,6 +19,7 @@ EXTENSIONS = (
|
||||
['XR_KHR_composition_layer_equirect2', 'XRT_FEATURE_OPENXR_LAYER_EQUIRECT2'],
|
||||
['XR_KHR_convert_timespec_time', 'XR_USE_TIMESPEC'],
|
||||
['XR_KHR_D3D11_enable', 'XR_USE_GRAPHICS_API_D3D11'],
|
||||
['XR_KHR_D3D12_enable', 'XR_USE_GRAPHICS_API_D3D12'],
|
||||
['XR_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
|
||||
['XR_KHR_loader_init_android', 'OXR_HAVE_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
|
||||
['XR_KHR_opengl_enable', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||
|
||||
@@ -123,6 +123,17 @@
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_D3D12_enable
|
||||
*/
|
||||
#if defined(XR_KHR_D3D12_enable) && defined(XR_USE_GRAPHICS_API_D3D12)
|
||||
#define OXR_HAVE_KHR_D3D12_enable
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_D3D12_enable(_) _(KHR_D3D12_enable, KHR_D3D12_ENABLE)
|
||||
#else
|
||||
#define OXR_EXTENSION_SUPPORT_KHR_D3D12_enable(_)
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* XR_KHR_loader_init
|
||||
*/
|
||||
@@ -346,6 +357,7 @@
|
||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_equirect2(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_D3D11_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_D3D12_enable(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_loader_init(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_loader_init_android(_) \
|
||||
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
|
||||
|
||||
Reference in new issue
Block a user