mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
c12c9a9faceda2fe46ade27f11accf0e6b229c13
format major refactor Change spirv to spirv_headers Remove files First translation to naga + format Fix Int Constant error Don't add unnecessary blocks. Some cleanups format remove constructs docs fix debug leftovers format, clippy satisfy clippy
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 |
Description
Languages
Rust
79.9%
WGSL
16.2%
HLSL
2%
GLSL
1.7%
JavaScript
0.2%