OpenXR-SDK-Source icon indicating copy to clipboard operation
OpenXR-SDK-Source copied to clipboard

[BUG] validation: NULL handle not allowed as `XrCompositionLayerPassthroughHTC::space`

Open yshui opened this issue 8 months ago • 2 comments

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

yshui avatar Apr 05 '25 01:04 yshui

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.

rpavlik-bot avatar Apr 09 '25 16:04 rpavlik-bot

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)

opalomaresg avatar Jul 24 '25 16:07 opalomaresg