1 unstable release

0.1.0 Aug 10, 2020

#1007 in Graphics APIs

Download history 78/week @ 2024-04-01 32/week @ 2024-04-08 44/week @ 2024-04-15 39/week @ 2024-04-22 31/week @ 2024-04-29 25/week @ 2024-05-06 31/week @ 2024-05-13 39/week @ 2024-05-20 24/week @ 2024-05-27 32/week @ 2024-06-03 20/week @ 2024-06-10 27/week @ 2024-06-17 38/week @ 2024-06-24 10/week @ 2024-07-08 26/week @ 2024-07-15

77 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