Cross-platform, safe, pure-rust graphics api.
Go to file
Pelle Johnsen 6bb40ce27b
[glsl-in] Cast gl_VertexIndex to SInt (#332)
* [glsl-in] Cast gl_VertexIndex to SInt

* [glsl-in] Use conversion cast (gl_VertexIndex)

- Also cast gl_InstanceIndex

* [glsl-in] Simplify global var lookup

* [glsl-in] Fix missing comma
2020-12-15 09:24:48 -05:00
.github/workflows Make CI test on multiple rust versions (#159) 2020-08-27 10:30:04 -04:00
examples [convert] allow entry point name for GLSL output 2020-12-13 10:20:57 -05:00
fuzz Add fuzzing support 2020-07-01 08:53:54 -04:00
src [glsl-in] Cast gl_VertexIndex to SInt (#332) 2020-12-15 09:24:48 -05:00
test-data Add block boolean to the structure types in IR 2020-12-12 12:46:24 -05:00
tests Add skybox example snapshots 2020-12-13 10:20:57 -05:00
.gitignore [convert] allow entry point name for GLSL output 2020-12-13 10:20:57 -05:00
.monocodus Enable clippy on monocodus 2020-07-16 09:54:52 -04:00
Cargo.toml Add insta prototype 2020-12-10 00:24:07 -05:00
CHANGELOG.md Bump version to 0.2, add changelog 2020-08-16 23:49:48 -04:00
LICENSE-APACHE Relicense under MIT+Apache2 2020-06-21 16:59:16 -04:00
Makefile [glsl] enable conversion testing for quad and boids 2020-12-08 09:25:59 -05:00
README.md Added new external functions to the glsl backend to make it on par with the typifier (#240) 2020-10-19 09:40:30 -04: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.

Supported end-points

Front-end Status Notes
SPIR-V (binary) 🚧
WGSL 🚧
GLSL (Vulkan) 🚧
Rust
Back-end Status Notes
SPIR-V (binary) 🚧
WGSL
Metal 🚧
HLSL
GLSL 🚧
AIR
DXIR
DXIL
DXBC

✔️ = Primary support — = Secondary support — 🚧 = Unsupported, but support in progress