Debian Codegraph @

third_party/spirv-cross/tnt/README.md

raw
1 ## Updating
2
3 To update to the spirv-cross that's currently on GitHub master, do the following.
4
5 ```
6 cd third_party
7 curl -L https://github.com/KhronosGroup/SPIRV-Cross/archive/master.zip > master.zip
8 unzip master.zip
9 rsync -r SPIRV-Cross-master/ spirv-cross/ --delete
10 git checkout spirv-cross/tnt/*
11 rm -rf SPIRV-Cross-master master.zip
12 git add spirv-cross
13 ```
14
15 Please be sure to test Filament before uploading your CL.
16
17 ## Filament-specific changes to CMakeLists.txt
18
19 The Filament-specific `CMakeLists.txt` under the `tnt` directory has the following changes made from
20 `spirv-cross`'s provided `CMakeLists.txt`:
21 - Exceptions turned off in favor of assertions
22 - Removal of installation rules
23 - Removal of unused `spirv-cross` libraries
24 - Removal of the `spirv-cross` executable
25 - Removal of `spirv-cross` test cases
26
27 To see all changes, run the following diff command from the `third_party/spirv-cross` directory:
28
29 ```
30 diff CMakeLists.txt tnt/CMakeLists.txt
31 ```