mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
6fb195cdc85a13c45198b337c2b6b8ea2b67a9b6
* [clippy] disable match_like_matches_macro for now * [wgsl-in] Return error instead of panic * [typifier] Convert panics to return error Still one panic in clone impl for Resolution, disabled clippy for that one * [spv-in] REturn error instead of panic'ing * [spv-out] Return error instead of panic'ing * [typifier] Use IncompatibleOperand(s) error Instead of just Other * [typifier] Use Expression for op in Error For IncompatibleOperands * [typifier] revert last commit
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%