diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-03-22 18:08:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-22 18:08:19 -0400 |
| commit | 5000d27d993d9ac33ef80482eb44235298d5177e (patch) | |
| tree | 2f92d7917b35da96dd932b84e3dfc2f1b6985811 /tools/slang-test | |
| parent | 5e720e7e7e8be20017e331b515024586e1a88c52 (diff) | |
Tidy up of Renderer (#452)
* Fixed some small typos in api-users-guide.md
* Fix some small typos in slang-test/main.cpp, render-test/render-d3d11.cpp
* Remove exit() calls from test code. Added Slang::Result, which works in the same way as COM HRESULT.
* FIx bug introduced when moving to Slang::Result - handling E_INVALIDARG on Dx11.
* Fix the testing of feature levels on Dx11 renderer.
* First attempt at README.md for slang-test.
* Tidied up the slang-test README.md file.
* Fix some small typos in tools/slang-test/main.cpp
* Fix spaces -> tabs problems.
Fix some small types.
* Refactor Renderer implementations such that:
* Class definition does not contain long implementation/s
* Removed unused globals
* Ordered implementation after class definition
* Made renderer specific classes child classes, and use Impl postfix to differentiate
* Converted tabs into spaces
* First pass at Slang::ComPtr. Added slang-defines.h which sets up some fairly commonly used defines such as SLANG_FORCE_INLINE, compiler detection, os detection, and some other cross platform features.
* * Fixed bug in vk renderer - where features structure not initialized on hkCreateDevice
* Make member variables in Renderer implementations use prefix
* Updated test README.md to document that free parameter can control what test is run
* * changed setClearColor to take an array of 4 floats to make API clearer on usage
* mix of type usage style - defaulted to more conventional style
* * Fixed swapWith
* Use SLANG_FORCE_INLINE
* Don't bother initializing List data when type is POD
* Added convenience macro for Result handling SLANG_RETURN_NULL_ON_ERROR
Diffstat (limited to 'tools/slang-test')
| -rw-r--r-- | tools/slang-test/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/slang-test/README.md b/tools/slang-test/README.md index 7da0c3191..95ed497ba 100644 --- a/tools/slang-test/README.md +++ b/tools/slang-test/README.md @@ -4,6 +4,18 @@ Slang Test is a command line tool that is used to coordinate tests via other com Slang Test can be thought of as the 'hub' running multiple tests and accumulating the results. In the distribution tests are held in the 'tests' directory. Inside this directory there are tests grouped together via other directories. Inside those directories are the actual tests themselves. The tests exist as .hlsl, .slang and .glsl and other file extensions. The top line of each of these files describe what kind of test will be performed with a specialized comment '//TEST'. +Most command line options are prefixed by - for both switches and parameter options. On the command line you can specify a 'free parameter', and this value specifies the prefix of the name of the test to run. Note that such a prefix includes the path, with each directory separated via '/'. + +An example command line: + +``` +slang-test -bindir "E:\slang\bin\windows-x64\Debug\\" -category full tests/compute/array-param +``` + +* The -bindir value means that the tools slang-test will use the binaries found in this directory. +* The -category full means that all tests can be run. +* The final 'free parameter' is 'tests/compute/array-param' and means only tests starting with this string will run. + ## Test Categories There are the following test categories |
