-
Notifications
You must be signed in to change notification settings - Fork 1k
regression: Panic instead of validation error when checking binding compatibility #6011
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
Comments
The problem is that there is no |
I have a fix in #6012, but maybe it would be worth to fallback to dummy unknown error instead of panicking unwrap? |
Ideally we'd show the same |
It's also confusing that we have the |
While updating servo from f25e07b to c0e7c1e in servo/servo#32827, I noticed new crash (also reproducible on latest firefox nightly) on: webgpu:api,validation,encoding,programmable,pipeline_bind_group_compat:bgl_binding_mismatch:* (src of the test: https://github.com/gpuweb/cts/blob/50b6e7a7435e8d1a973cbf67347938ce05188df0/src/webgpu/api/validation/encoding/programmable/pipeline_bind_group_compat.spec.ts#L636)
Description
On f25e07b there is validation error:
but c0e7c1e (also on current trunk: 205f1e3) panics on
wgpu/wgpu-core/src/command/bind.rs
Line 187 in 205f1e3
Repro steps
I was able to reproduce what CTS does by tracing wgpu functions that are called by servo; repro is available here: https://github.com/sagudev/wgpu-problem/tree/empty-bind-error
The text was updated successfully, but these errors were encountered: