mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Currently we don't mix storage images and storage buffers in the same shader. Also we don't sample textures when we use storage buffers. In the future we need to avoid shifting descriptor sets. |
||
|---|---|---|
| .. | ||
| tests | ||
| compile.py | ||
| generate_rules.py | ||
| get-nightly-shaders.sh | ||
| merge_rules.py | ||
| README.md | ||
| requirements.txt | ||
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