Skip to content

Core Validation: xrCreateSession doesn't recognise XR_TYPE_GRAPHICS_BINDING_EGL_MNDX #570

@amalon

Description

@amalon

When using EGL with the XR_MNDX_egl_enable extension (e.g. Monado and SteamVR on Linux), if the XR_APILAYER_LUNARG_core_validation API layer is enabled then xrCreateSession fails with the following validation error:

[V - VUID-xrCreateSession-next-parameter - xrCreateSession]: Invalid number of graphics binding structures provided.  Expected 1, but received 0.

and returns XR_ERROR_GRAPHICS_DEVICE_INVALID, even though a valid graphics binding has been provided with type XR_TYPE_GRAPHICS_BINDING_EGL_MNDX.

The validation layer should permit this graphics binding type, at least when the XR_MNDX_egl_enable extension is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    synced to gitlabSynchronized to OpenXR internal GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions