1 unstable release

0.1.0 Aug 10, 2020

#30 in #wgsl

Download history 31/week @ 2024-07-22 25/week @ 2024-07-29 25/week @ 2024-08-05 26/week @ 2024-08-12 18/week @ 2024-08-19 26/week @ 2024-08-26 29/week @ 2024-09-02 21/week @ 2024-09-09 19/week @ 2024-09-16 54/week @ 2024-09-23 25/week @ 2024-09-30 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

93 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
~17K SLoC