Files
filament/third_party/spirv-tools/tnt
Powei Feng 49b8a17b1f 3p: remove spirv-tools targets for binaries and shared libs (#9198)
We need to modify spirv-tools existing CMakeLists.txt to make
sure that its binaries and libs are not included in the filament
installed output.

This change was present before, but overwritten when spirv-tools
updated (wrt the WebGPU project).

In addition to modifying the CMakeLists.txt, we add a script to
carry out the changes automatically when running the update script
in the future.

Fixes #9168
2025-09-10 20:01:42 +00:00
..
2025-08-11 15:45:05 -07:00

To update the version of SPIRV-Tools used in this project, run the update_spirv-tools.sh script.

The script is located in third_party/spirv-tools/tnt.

From the root of the repository, you can run it like this:

Usage:

./third_party/spirv-tools/tnt/update_spirv-tools.sh <version_tag>

or

./third_party/spirv-tools/tnt/update_spirv-tools.sh --sha <commit_sha>

For example, to update to version 2023.4:

./third_party/spirv-tools/tnt/update_spirv-tools.sh 2023.4

To update to a specific commit:

./third_party/spirv-tools/tnt/update_spirv-tools.sh --sha a1b2c3d4

You can find the latest version number on the SPIRV-Tools releases page: https://github.com/KhronosGroup/SPIRV-Tools/releases