1
0
forked from mirrors/0ad
Files
0ad/source/tools/spirv
Dunedan c4047b1cf2 Parallelize generation of SPIR-V shaders
For each program this parallelizes the generation of shaders by program
combinations. This leads to significantly faster shader generation on
systems with multiple CPU-cores. The resulting shaders are identical to
the ones prior to this change.
2024-10-05 07:29:43 +02:00
..
2024-08-27 10:06:31 +02:00

Instructions

Install python 3 and the python dependencies

pip install -r requirements.txt

Install glslc and spirv-tools 2023+ (the easiest way is to install Vulkan SDK)

Run the compile.py script

python compile.py path-to-folder-with-input-mods mod-output-path rules-path