Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
msvbg opened this issue Mar 2, 2024 · 0 comments · Fixed by #5897
Closed

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

msvbg opened this issue Mar 2, 2024 · 0 comments · Fixed by #5897
Labels
kind: diagnostics Error message should be better

Comments

@msvbg
Copy link

msvbg commented Mar 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: diagnostics Error message should be better
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants