Update README and update_test_shaders.sh.

This commit is contained in:
Hans-Kristian Arntzen 2018-03-13 12:38:05 +01:00
parent b46910e9f5
commit 4f348a9807
2 changed files with 9 additions and 5 deletions

View File

@ -279,6 +279,7 @@ although there are a couple of convenience script for doing this:
```
./checkout_glslang_spirv_tools.sh # Checks out glslang and SPIRV-Tools at a fixed revision which matches the reference output.
./build_glslang_spirv_tools.sh # Builds glslang and SPIRV-Tools.
./test_shaders.sh # Runs over all changes and makes sure that there are no deltas compared to reference files.
```

View File

@ -9,9 +9,12 @@ echo "Using spirv-opt in: $(which spirv-opt)."
./test_shaders.py shaders --update || exit 1
./test_shaders.py shaders --update --opt || exit 1
./test_shaders.py shaders-msl --msl --update || exit 1
./test_shaders.py shaders-msl --msl --update --opt || exit 1
./test_shaders.py shaders-msl-no-opt --msl --update || exit 1
./test_shaders.py shaders-hlsl --hlsl --update || exit 1
./test_shaders.py shaders-hlsl --hlsl --update --opt || exit 1
./test_shaders.py shaders-no-opt --update || exit 1
./test_shaders.py shaders-msl --update --msl || exit 1
./test_shaders.py shaders-msl --update --msl --opt || exit 1
./test_shaders.py shaders-msl-no-opt --update --msl || exit 1
./test_shaders.py shaders-hlsl --update --hlsl || exit 1
./test_shaders.py shaders-hlsl --update --hlsl --opt || exit 1
./test_shaders.py shaders-hlsl-no-opt --update --hlsl || exit 1