1 unstable release

0.1.0 Aug 10, 2020

#1044 in Graphics APIs

Download history 9/week @ 2023-12-04 14/week @ 2023-12-11 23/week @ 2023-12-18 13/week @ 2023-12-25 13/week @ 2024-01-08 14/week @ 2024-01-15 10/week @ 2024-01-22 4/week @ 2024-01-29 10/week @ 2024-02-05 20/week @ 2024-02-12 38/week @ 2024-02-19 40/week @ 2024-02-26 32/week @ 2024-03-04 36/week @ 2024-03-11 34/week @ 2024-03-18

144 downloads per month
Used in 2 crates (via cart-tmp-wgc)

MPL-2.0 license

395KB
10K SLoC

Naga

Matrix Crates.io Docs.rs Build Status

This is an experimental shader translation library for the needs of gfx-rs project and WebGPU. It's meant to provide a safe and performant way of converting to and from SPIR-V.

Supported end-points

Front-end Status Notes
SPIR-V (binary) 🚧
WGSL (Tint) 🚧
GLSL (Vulkan) 🚧
Rust
Back-end Status Notes
SPIR-V (binary) 🚧
WGSL
Metal 🚧
HLSL
GLSL
AIR
DXIR
DXIL
DXBC

Dependencies

~0.5–0.8MB
~17K SLoC