Fork of (deprecated) glsl-to-spirv for use in Bevy while we wait for a pure rust shader compiler
https://github.com/cart/glsl-to-spirv.git
This crate is deprecated please use shaderc-rs instead.
BEVY NOTE: This crate is a temporary measure until native rust shader compilation like https://github.com/gfx-rs/naga lands.
glslang will be built from source the first time. Compiled libraries are re-used afterwards.
cmake is required to build from source.
The glslang submodule is assumed to be initialized.
Run git submodule update --init if you're checking out from git.
NOTE: There is an additional commit not from upstream that changes one file. This change is what allows gnu toolchains to build.
i686-pc-windows-msvci686-pc-windows-gnu, x86_64-pc-windows-gnupacman -S mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain)C:\msys64\mingw64\bin)