1 unstable release

0.1.0 Aug 10, 2020

#112 in #spir-v

Download history 48/week @ 2025-07-21 28/week @ 2025-07-28 16/week @ 2025-08-04 36/week @ 2025-08-11 46/week @ 2025-08-18 36/week @ 2025-08-25 58/week @ 2025-09-01 38/week @ 2025-09-08 44/week @ 2025-09-15 42/week @ 2025-09-22 31/week @ 2025-09-29 24/week @ 2025-10-06 38/week @ 2025-10-13 53/week @ 2025-10-20 27/week @ 2025-10-27 26/week @ 2025-11-03

146 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.9MB
~18K SLoC