mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
5def021b6ee3d5660f196825d8fcffc940c18974
Also, fix the Typifier's handling of logical operations. See https://github.com/gfx-rs/naga/pull/404 for v0.3 branch.
Naga
This is an experimental shader translation library for the needs of gfx-rs project and WebGPU.
Supported end-points
Everything is still a work-in-progress, but some end-points are usable:
| Front-end | Status | Notes |
|---|---|---|
| SPIR-V (binary) | ✅ | |
| WGSL | ✅ | |
| GLSL (Vulkan) | 🆗 | |
| Rust |
| Back-end | Status | Notes |
|---|---|---|
| SPIR-V (binary) | ✅ | |
| WGSL | ||
| Metal | ✅ | |
| HLSL | ||
| GLSL | 🆗 | |
| AIR | ||
| DXIL/DXIR | ||
| DXBC |
✅ = Primary support — 🆗 = Secondary support — 🚧 = Unsupported, but support in progress
Description
Languages
Rust
79.9%
WGSL
16.2%
HLSL
2%
GLSL
1.7%
JavaScript
0.2%