Skip to content

"Internal error" message when forgetting to set bind group #5328

@msvbg

Description

@msvbg

Description
I ran into this error message when dispatching a compute shader:

Incompatible bind group at index 0 in the current compute pipeline
      note: Should be compatible an with an explicit bind group layout with label = `...`
      note: Assigned bind group layout not found (internal error)

Repro steps
N/A

Expected vs observed behavior
I thought it was a bug in wgpu since it said "internal error", but it turns out that I had just forgotten to call set_bind_group. A nicer error message here would be good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions