To update the version of glslang used in this project, run the update_glslang.sh script.
The script is located in third_party/glslang/tnt.
From the root of the repository, you can run it like this:
Usage:
./third_party/glslang/tnt/update_glslang.sh <version>
For example, to update to version 15.4.0:
./third_party/glslang/tnt/update_glslang.sh 15.4.0
-
If necessary, add or remove source files from
glslang/glslang/tnt/CMakeLists.txtet al. -
If necessary, update the
DefaultTBuiltInResourcedefinition insidelibs/filamat/src/sca/builtinResource.hto glslang's located atthird_party/glslang/StandAlone/ResourceLimits.cpp -
Compile and test
matc -
You can find the latest version number on the glslang releases page: https://github.com/KhronosGroup/glslang/releases