Skip to content

WSL2 GL device fails creation #6841

@Wumpf

Description

@Wumpf

Or more precisely: Any device supporting indirect dispatch but no dynamic array access in shaders can no longer be created ... which happens to describe the default GL driver on WSL2.

This happens because whenever indirect execution is there, we check whether we can validate it, even if validation is turned off and doing so requires the glsl DYNAMIC_ARRAY_SIZE feature.

-> We shouldn't do this check if validation is turned off (patch

let indirect_validation = if downlevel
)
-> Consider not advertising indirect dispatch availability if there's no dynamic array size. Ideally, this is conditional on validation, but that might be too much hassle

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: glesIssues with GLES or WebGLtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions