README.md
1# Standalone glslang validator
2
3This folder contains a standalone glslang validator binary. We use this binary
4for offline compilation of internal Vulkan shaders. See [the internal shader
5docs](../../src/libANGLE/renderer/vulkan/shaders/README.md) for more info on
6offline shader compilation.
7
8Use the script [`update_glslang_binary.py`](update_glslang_binary.py) to update
9the versions of the validator in cloud storage. It must be run on Linux or
10Windows. It will update the SHA for your platform. After running the script run
11`git commit` and then `git cl upload` to code review using the normal review
12process. Note that if the version of glslang has been updated you will also want
13to run [`scripts/run_code_generation.py`](../../scripts/run_code_generation.py)
14to update the compiled shader binaries.
15
16Please update both Windows and Linux binaries at the same time. Use two CLs. One
17for each platform. Note that we don't currently support Mac on Vulkan. If we do
18we should add a glslang download for Mac as well.
19
20Contact jmadill or syoussefi for any help with the validator or updating the binaries.
21