This is an experimental shader translation library for the needs of gfx-rs project and WebGPU.
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