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