Show `GPUObject.label` where applicable in WebGPU errors
Categories
(Core :: Graphics: WebGPU, enhancement, P2)
Tracking
()
People
(Reporter: ErichDonGubler, Unassigned)
References
(Blocks 2 open bugs)
Details
GPUObjectBase is useful primarily for its label field. This label is usually a user-provided value set by descriptors that are used to construct objects (i.e., as a GPUDescriptorBase.label). The spec. strongly encourages us to use these labels in the debugging experience we build for WebGPU users in Firefox.
…and we currently don't use these labels hardly at all in WebGPU diagnostics in Firefox! We should fix this as an important part of Firefox's usability story with the WebGPU API.
This is likely to become a meta-bug, since the breadth of errors in WebGPU is vast. It's unlikely that a single patch series will be a tractable way to resolve the above.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Comment 1•2 years ago
|
||
Possibly related/to implement as part of this bug: https://github.com/gfx-rs/wgpu/issues/3790
Updated•2 years ago
|
Description
•