mirror of
https://github.com/encounter/naga.git
synced 2026-03-30 11:30:15 -07:00
v0.3
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
89.6%
WGSL
5.9%
GLSL
2.9%
HLSL
1.4%
Makefile
0.1%