1 unstable release

0.1.0 Aug 10, 2020

#33 in #wgsl

Download history 1/week @ 2024-10-07 32/week @ 2024-10-14 20/week @ 2024-10-21 16/week @ 2024-10-28 25/week @ 2024-11-04 5/week @ 2024-11-11 10/week @ 2024-11-18 27/week @ 2024-11-25 24/week @ 2024-12-02 63/week @ 2024-12-09 39/week @ 2024-12-16 7/week @ 2024-12-30 28/week @ 2025-01-06 45/week @ 2025-01-13 38/week @ 2025-01-20

118 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