Games-by-Mason/glslang-zig
Glslang ported to the Zig build system.
7200bc12a8979d13b22cd52de80ffb7d41939615.tar.gzGlslang ported to the Zig build system. If you're compiling shaders from the build system, see also shader_compiler.
Contributions or bug reports are welcome if behavior differs from official build system.
main loosely tracks Zig master. For support for Zig 0.14.0, use v1.0.0.
See glslang-zig for example usage.
See build.zig.zon for current version info.
glslang artifact, but this project does not. Contributions are welcome.glslang to glslangValidator. This build outputs glslangValidator instead of glslang and does not provide a symlink because the library artifact is already named glslang.The version of glslang is set in build.zig.zon.
Glslang depends on SPIRV-Headers, and SPIRV-Tools. When changing the glslang version you may need to update these dependencies, to find out if this is necessary check your glslang's known-good.json.
Glslang and SPIRV-Tools' official build processes generate headers at compile time. These are cached in the generated directory, and can be regenerated via the official build processes.