Debian Codegraph @

third_party/glslang/tnt/README.md

raw
1 To update glslang use the following steps:
2
3 - Download a ZIP of the [glslang repository](https://github.com/KhronosGroup/glslang) into `third_party/glslang`.
4 - Run the following commands (on Mac) to unzip and copy the new source files:
5
6 ```
7 cd third_party
8 curl -L https://github.com/KhronosGroup/glslang/archive/master.zip > main.zip
9 unzip main.zip
10 rsync -r glslang-master/ glslang/ --delete
11 rm -r main.zip glslang-master
12 rm -rf glslang/Test/
13 git checkout glslang/*/tnt/*
14 git restore glslang/LICENSE
15 git add glslang
16 ```
17
18 - If necessary, update the `DefaultTBuiltInResource` definition inside `libs/filamat/src/sca/builtinResource.h` to glslang's located at
19 `third_party/glslang/StandAlone/ResourceLimits.cpp`
20 - Compile and test `matc`