mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-05 00:25:50 +00:00
20cef3bce0
b2cdb1e6b4 broke compiling of SPIR-V shaders on Windows, as the output
of `spirv-reflect` contains CRLF as line separators there. This commit
fixes that.
Instructions
-
Install Python 3 and the Python dependencies
pip install -r requirements.txt -
Install
glslcand spirv-tools 2023+ (the easiest way is to install Vulkan SDK) -
For improved performance you may also install libyaml
-
Run the compile.py script
python compile.py path-to-folder-with-input-mods mod-output-path rules-path