Skip to content

extended_material_bindless example wgpu validation error on MacOS/Metal #21719

@NicoZweifel

Description

@NicoZweifel

Bevy version and features

Relevant system information

AdapterInfo { name: "Apple M1", vendor: 0, device: 0, device_type: IntegratedGpu, backend: Metal }

What you did

cargo run --example extended_material_bindless

What went wrong

Discovered this issue in discord and started testing on an older macbook and was able to reproduce the issue inititally and in the example that I based my implementation on.

I tested on Windows and NixOS as well and it worked fine in both cases. (Nvidia and CPU based adapter).

wgpu error: Validation Error

Caused by:
  In Device::create_bind_group
    Number of bindings in bind group descriptor (13) does not match the number of bindings defined in the bind group layout (16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Needs-ReviewNeeds reviewer attention (from anyone!) to move forward

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions