Open
Bug 1894014
Opened 10 months ago
Updated 10 months ago
Avoid redundant UTF-8 validation in `wgpu_bindings`
Categories
(Core :: Graphics: WebGPU, task, P4)
Core
Graphics: WebGPU
Tracking
()
NEW
People
(Reporter: ErichDonGubler, Unassigned)
References
Details
With patches for bug 1893057, it became obvious that we're validating UTF-8 strings multiple times when recording commands for compute and render passes. We shouldn't do this. We should use the nsstring
crate API to keep type-level knowledge that we're dealing with UTF-8 strings all the way from the content process to wgpu_core
.
You need to log in
before you can comment on or make changes to this bug.
Description
•