Commit 9216e8cf by Ian Romanick

Update README.md to include other test requirements

Knowing this in advance would have saved me some time.
parent 83af4695
...@@ -103,8 +103,8 @@ cd ../.. ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment