docs(README): Update statement on naga spec conformance (#8233)

This commit is contained in:
Andy Leiserson 2025-09-16 10:45:48 -04:00 committed by GitHub
parent b55c24cf27
commit c7fd582f05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -255,12 +255,11 @@ as the implementation catches up.
Exactly which WGSL features `wgpu` supports depends on how you are using it: Exactly which WGSL features `wgpu` supports depends on how you are using it:
- When running as native code, `wgpu` uses the [Naga][naga] crate - When running as native code, `wgpu` uses [Naga][naga]
to translate WGSL code into the shading language of your platform's native GPU API. to translate WGSL code into the shading language of your platform's native GPU API.
Naga has [a milestone][naga wgsl milestone] Naga is working on catching up to the WGSL specification,
for catching up to the WGSL specification, with [bugs][naga bugs] tracking various issues,
but in general, there is no up-to-date summary but there is no concise summary of differences from the specification.
of the differences between Naga and the WGSL spec.
- When running in a web browser (by compilation to WebAssembly) - When running in a web browser (by compilation to WebAssembly)
without the `"webgl"` feature enabled, without the `"webgl"` feature enabled,
@ -274,8 +273,8 @@ Exactly which WGSL features `wgpu` supports depends on how you are using it:
[webgpu spec]: https://www.w3.org/TR/webgpu/ [webgpu spec]: https://www.w3.org/TR/webgpu/
[wgsl spec]: https://gpuweb.github.io/gpuweb/wgsl/ [wgsl spec]: https://gpuweb.github.io/gpuweb/wgsl/
[naga]: https://github.com/gfx-rs/naga/ [naga]: https://github.com/gfx-rs/wgpu/tree/trunk/naga/
[naga wgsl milestone]: https://github.com/gfx-rs/naga/milestone/4 [naga bugs]: https://github.com/gfx-rs/wgpu/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22naga%22
## Coordinate Systems ## Coordinate Systems