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) | :construction: | | WGSL (Tint) | :construction: | | GLSL (Vulkan) | :construction: | | Rust | | |

Back-end | Status | Notes | --------------- | ------------------ | ----- | SPIR-V (binary) | :construction: | | WGSL | | | Metal | :construction: | | HLSL | | | GLSL | | | AIR | | | DXIR | | | DXIL | | | DXBC | | |