mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
a89191c234f0c99f13b4493888f41d15ca664da2
This pretty trivial change unfortunately required a loop to mutably borrow both builder and manager at the same time, so I had to separate them. Perhaps a cleaner solution would be to use an object with internal state instead of free functions.
Naga
This is an experimental shader translation library for the needs of gfx-rs project and WebGPU.
Supported end-points
| Front-end | Status | Notes |
|---|---|---|
| SPIR-V (binary) | 🚧 | |
| WGSL | 🚧 | |
| GLSL (Vulkan) | 🚧 | |
| Rust |
| Back-end | Status | Notes |
|---|---|---|
| SPIR-V (binary) | 🚧 | |
| WGSL | ||
| Metal | 🚧 | |
| HLSL | ||
| GLSL | 🚧 | |
| AIR | ||
| DXIR | ||
| DXIL | ||
| 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%