mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-28 08:27:31 +00:00
d9740858f7
Instead of looking up the location of spirv-reflect for every shader, this is now being done once and cached for all shaders. This results in shader compilation being slightly faster.
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