0ad/source/tools/spirv
Vladislav Belov e27909e603
Fixes SPIR-V compilation for compute_skinning shader.
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.
2024-12-11 01:18:05 +01:00
..
tests Moves tests for generate_rules and merge_rules to a separate folder. 2024-12-05 17:25:54 +01:00
compile.py Fixes SPIR-V compilation for compute_skinning shader. 2024-12-11 01:18:05 +01:00
generate_rules.py Moves tests for generate_rules and merge_rules to a separate folder. 2024-12-05 17:25:54 +01:00
get-nightly-shaders.sh Fix issues pointed out by shellcheck 2024-08-28 18:23:18 +02:00
merge_rules.py Moves tests for generate_rules and merge_rules to a separate folder. 2024-12-05 17:25:54 +01:00
README.md Improve YAML loading performance using libyaml 2024-10-17 17:52:08 +02:00
requirements.txt

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)

  • 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