hecrj / coffee

An opinionated 2D game engine for Rust
https://docs.rs/coffee
MIT License
1.09k stars 55 forks source link

Validate SPIR-V compiled shaders on CI #22

Closed hecrj closed 5 years ago

hecrj commented 5 years ago

In order to avoid directly depending on the SPIR-V compiler when building the crate, we are currently providing the compiled shaders for the wgpu graphics backend here.

It would be great to have CI validate that these binaries are up-to-date with the shader code. I guess we could just simply recompile the code in CI (using glslangValidator -V) and check for differences with Git.