mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
st/oxr: Update extension support header for D3D11
This commit is contained in:
parent
bd90347fce
commit
4dd1608950
|
@ -17,6 +17,7 @@ EXTENSIONS = (
|
||||||
['XR_KHR_composition_layer_equirect', 'XRT_FEATURE_OPENXR_LAYER_EQUIRECT1'],
|
['XR_KHR_composition_layer_equirect', 'XRT_FEATURE_OPENXR_LAYER_EQUIRECT1'],
|
||||||
['XR_KHR_composition_layer_equirect2', 'XRT_FEATURE_OPENXR_LAYER_EQUIRECT2'],
|
['XR_KHR_composition_layer_equirect2', 'XRT_FEATURE_OPENXR_LAYER_EQUIRECT2'],
|
||||||
['XR_KHR_convert_timespec_time', 'XR_USE_TIMESPEC'],
|
['XR_KHR_convert_timespec_time', 'XR_USE_TIMESPEC'],
|
||||||
|
['XR_KHR_D3D11_enable', 'XR_USE_GRAPHICS_API_D3D11'],
|
||||||
['XR_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
|
['XR_KHR_loader_init', 'XR_USE_PLATFORM_ANDROID'],
|
||||||
['XR_KHR_loader_init_android', 'OXR_HAVE_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'],
|
['XR_KHR_opengl_enable', 'XR_USE_GRAPHICS_API_OPENGL'],
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "xrt/xrt_config_build.h"
|
#include "xrt/xrt_config_build.h"
|
||||||
|
#include "xrt/xrt_openxr_includes.h"
|
||||||
|
|
||||||
// beginning of GENERATED defines - do not modify - used by scripts
|
// beginning of GENERATED defines - do not modify - used by scripts
|
||||||
|
|
||||||
|
@ -100,6 +101,17 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* XR_KHR_D3D11_enable
|
||||||
|
*/
|
||||||
|
#if defined(XR_KHR_D3D11_enable) && defined(XR_USE_GRAPHICS_API_D3D11)
|
||||||
|
#define OXR_HAVE_KHR_D3D11_enable
|
||||||
|
#define OXR_EXTENSION_SUPPORT_KHR_D3D11_enable(_) _(KHR_D3D11_enable, KHR_D3D11_ENABLE)
|
||||||
|
#else
|
||||||
|
#define OXR_EXTENSION_SUPPORT_KHR_D3D11_enable(_)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XR_KHR_loader_init
|
* XR_KHR_loader_init
|
||||||
*/
|
*/
|
||||||
|
@ -298,6 +310,7 @@
|
||||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_equirect(_) \
|
OXR_EXTENSION_SUPPORT_KHR_composition_layer_equirect(_) \
|
||||||
OXR_EXTENSION_SUPPORT_KHR_composition_layer_equirect2(_) \
|
OXR_EXTENSION_SUPPORT_KHR_composition_layer_equirect2(_) \
|
||||||
OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \
|
OXR_EXTENSION_SUPPORT_KHR_convert_timespec_time(_) \
|
||||||
|
OXR_EXTENSION_SUPPORT_KHR_D3D11_enable(_) \
|
||||||
OXR_EXTENSION_SUPPORT_KHR_loader_init(_) \
|
OXR_EXTENSION_SUPPORT_KHR_loader_init(_) \
|
||||||
OXR_EXTENSION_SUPPORT_KHR_loader_init_android(_) \
|
OXR_EXTENSION_SUPPORT_KHR_loader_init_android(_) \
|
||||||
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
|
OXR_EXTENSION_SUPPORT_KHR_opengl_enable(_) \
|
||||||
|
|
Loading…
Reference in a new issue