Files
filament/third_party/spirv-tools/FILAMENT_README.md
Powei Feng f8057b9a5b Add spirv-headers as a separate third_party repo (#7401)
* Add spirv-headers as a separate third_party repo

Previously, we pulled in spirv-headers as part of spirv-tools. We
still keep this behavior but move the content of the repo to
third_party.

We introduce a script for updating spirv-tools, and update the patch
file. The same script will also pull in a dependent spirv-headers.
2023-12-05 10:02:15 -08:00

718 B

When updating SPIRV-Tools to a new version, run the following from this directory

bash filament-update.sh [git commit hash]

This will pull in the updated source for SPRIV-Tools and pull in the right version of SPIRV-Headers. The script will also try to apply Filament specific changes to the CMakeLists.txt. It could be that the diff application will fail, in which case, the updater will need to resolve the difference manually and update filament-specific-changes.patch.

The above script will bring in the changes, but you would still need to add it to a git commit (i.e. pull request) by doing

git add -u third_party/spriv-tools third_party/spirv-headers

from the Filament source root.