mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
dd5021234d8550723c9cf2a3d3d102daf2aec672
The backend now works in a similar way to the msl backend Should require less loops, allocations and backtracking Overall just better to work with it Added a build script which reads a file with the glsl keywords and generates a slice to be used in the Namer Added a way to build a call graph
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%