1 unstable release

0.1.0 Aug 10, 2020

#39 in #wgsl

Download history 5/week @ 2024-11-13 18/week @ 2024-11-20 23/week @ 2024-11-27 26/week @ 2024-12-04 75/week @ 2024-12-11 19/week @ 2024-12-18 12/week @ 2025-01-01 26/week @ 2025-01-08 50/week @ 2025-01-15 30/week @ 2025-01-22 26/week @ 2025-01-29 53/week @ 2025-02-05 46/week @ 2025-02-12 22/week @ 2025-02-19 54/week @ 2025-02-26

182 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