Naga

Matrix Crates.io Docs.rs Build Status

This is an experimental shader translation library for the needs of gfx-rs project and WebGPU.

Supported end-points

Everything is still a work-in-progress, but some end-points are usable:

Front-end | Status | Notes | --------------- | ------------------ | ----- | SPIR-V (binary) | :heavycheckmark: | | WGSL | :heavycheckmark: | | GLSL (Vulkan) | :whitecheckmark: | | Rust | | |

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

:heavycheckmark: = Primary support — :whitecheckmark: = Secondary support — :construction: = Unsupported, but support in progress