0ad/source/tools/spirv
Dunedan c49d4eedd0
Lint and format Python files using ruff
To improve quality und uniformity of the included Python code this
lints and formats the included Python files with ruff.
2024-08-24 10:54:26 +02:00
..
compile.py Lint and format Python files using ruff 2024-08-24 10:54:26 +02:00
get-nightly-shaders.bat Generate nightly SVN builds for end users, fixes #1819. 2024-08-20 19:15:56 +02:00
get-nightly-shaders.sh Generate nightly SVN builds for end users, fixes #1819. 2024-08-20 19:15:56 +02:00
README.md Adds script to generate SPIR-V from GLSL shaders. Refs #6636 2023-05-02 17:31:28 +00:00
requirements.txt Adds script to generate SPIR-V from GLSL shaders. Refs #6636 2023-05-02 17:31:28 +00: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