-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: webgpuIssues with direct interface with WebGPUIssues with direct interface with WebGPU
Description
Currently, all methods that require a native feature will always lead to panic on the WebGPU backend. This is unlike other errors (including lacking features on wgpu-core!) which are funneled through the error callbacks, meaning it's impossible to ignore these errors on WebGPU
Describe the solution you'd like
Ideally, we'd use the same mechanism and invoke the error callbacks. They are right now directly set on the backend so this might would need some additional book-keeping.
Describe alternatives you've considered
Technically we could return a result for all of these cases, but that would make error handling awfully inconsistent.
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API surfaceIssues related to API surfacebackend: webgpuIssues with direct interface with WebGPUIssues with direct interface with WebGPU