[BUG] validation: NULL handle not allowed as `XrCompositionLayerPassthroughHTC::space`
Spec:
https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XrCompositionLayerPassthroughHTC
space is the XrSpace that specifies the layer’s space - must be XR_NULL_HANDLE.
Validation layer error:
[VALID_ERROR|VUID-XrCompositionLayerPassthroughHTC-space-parameter|xrEndFrame]: Invalid XrSpace handle "space" 0x0000000000000000
An issue (number 2505) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2505 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.
Similar error when calling xrCreateEnvironmentDepthProviderMETA.
Spec: createFlags must be 0 for the XrEnvironmentDepthProviderCreateInfoMETA structure passed to xrCreateEnvironmentDepthProviderMETA.
Validation layer error: [VALID_ERROR|VUID-XrEnvironmentDepthProviderCreateInfoMETA-createFlags-requiredbitmask|xrCreateEnvironmentDepthProviderMETA]: XrEnvironmentDepthProviderCreateFlagsMETA "createFlags" flag must be non-zero
Is there any way to disable createFlags-requiredbitmask checking for the execution of function 'xrCreateEnvironmentDepthProviderMETA'? (because this causes the DepthProvider creation to fail when the validation layer is enabled)