mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01: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
A cross-platform, safe, pure-Rust graphics API.
92 MiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%