Update README.md to include other test requirements

Knowing this in advance would have saved me some time.
This commit is contained in:
Ian Romanick 2019-12-02 10:53:46 -08:00
parent 83af469512
commit 9216e8cf16

View File

@ -103,8 +103,8 @@ cd ../..
``` ```
If you wish to assure that SPIR-V generated from HLSL is legal for Vulkan, If you wish to assure that SPIR-V generated from HLSL is legal for Vulkan,
or wish to invoke -Os to reduce SPIR-V size from HLSL or GLSL, install wish to invoke -Os to reduce SPIR-V size from HLSL or GLSL, or wish to run the
spirv-tools with this: integrated test suite, install spirv-tools with this:
```bash ```bash
./update_glslang_sources.py ./update_glslang_sources.py
@ -236,6 +236,11 @@ Running `runtests` script-backed tests:
cd $SOURCE_DIR/Test && ./runtests cd $SOURCE_DIR/Test && ./runtests
``` ```
If some tests fail with validation errors, there may be a mismatch between the
version of `spirv-val` on the system and the version of glslang. In this
case, it is necessary to run `update_glslang_sources.py`. See "Check-Out
External Projects" above for more details.
### Contributing tests ### Contributing tests
Test results should always be included with a pull request that modifies Test results should always be included with a pull request that modifies