0ad/source/tools/spirv/README.md
Dunedan b2cdb1e6b4
Improve YAML loading performance using libyaml
This adds optional support for loading the YAML reflection data using
`libyaml`, which is faster than PyYAML's pure Python implementation.
2024-10-17 17:52:08 +02:00

16 lines
421 B
Markdown

# Instructions
- Install Python 3 and the Python dependencies
```sh
pip install -r requirements.txt
```
- Install `glslc` and spirv-tools 2023+ (the easiest way is to install Vulkan SDK)
- For improved performance you may also install [libyaml](https://github.com/yaml/libyaml)
- Run the compile.py script
```sh
python compile.py path-to-folder-with-input-mods mod-output-path rules-path
```