Skip to content

WebGL2 broken: no compute shaders #20276

@mockersf

Description

@mockersf

Bevy version

main since #19076

What you did

Run any example in WebGL2

What went wrong

wgpu error: Validation Error

Caused by:
  In Device::create_bind_group_layout, label = 'downsampling_first_bind_group_layout'
    Too many bindings of type StorageTextures in Stage ShaderStages(COMPUTE), limit is 0, count was 6. Check the limit `max_storage_textures_per_shader_stage` passed to `Adapter::request_device`

Additional information

#19076 uses compute shaders. There are no compute shaders in WebGL2

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebGL2Specific to the WebGL2 render API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions