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
2020-07-01 08:53:54 -04:00
2020-12-13 10:20:57 -05:00
2020-07-16 09:54:52 -04:00
2020-12-10 00:24:07 -05:00
2020-06-21 16:59:16 -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

Description
No description provided
Readme 137 MiB
Languages
Rust 79.9%
WGSL 16.2%
HLSL 2%
GLSL 1.7%
JavaScript 0.2%