Cross-platform, safe, pure-rust graphics api.
Go to file
2020-03-15 11:43:08 -04:00
examples [wgsl] basic typed constructors 2020-03-03 22:56:11 -05:00
src Implement a fair bit of typifier logic, resolve access ids in WGSL 2020-03-15 10:59:12 -04:00
test-data [wgsl] expect logical expressions, fix hex literals 2020-03-05 21:21:14 -05:00
tests Add WGSL parsing tests 2020-03-15 11:43:08 -04:00
.gitignore Transpiler skeleton and first bits of MSL support 2018-09-12 21:29:03 -04:00
.travis.yml Add travis integration 2020-02-24 09:58:30 -05:00
Cargo.toml [wgsl] rewrite with our own parser 2020-03-11 13:36:14 -04:00
LICENSE Initial commit 2018-09-12 21:26:50 -04:00
README.md [wgsl] expect logical expressions, fix hex literals 2020-03-05 21:21:14 -05:00

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