diff options
| author | Yong He <yonghe@outlook.com> | 2020-12-03 08:23:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-03 08:23:05 -0800 |
| commit | 44c0a56974b664e50b2cb8cb6f10740b19c4e02f (patch) | |
| tree | d6141003be376bdb2c0037178b649b6b2aae673e /tools/render-test/options.h | |
| parent | ad5dda9261bae63e32bcb914b109fcb5c92faf25 (diff) | |
Add shader object parameter binding to renderer_test. (#1622)
* Add shader object parameter binding to renderer_test.
* remove multiple-definitions.hlsl
* Fix cuda implementation.
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tools/render-test/options.h')
| -rw-r--r-- | tools/render-test/options.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/render-test/options.h b/tools/render-test/options.h index ddb903a4a..646cf3a76 100644 --- a/tools/render-test/options.h +++ b/tools/render-test/options.h @@ -3,6 +3,10 @@ #include <stdint.h> +#ifndef SLANG_HANDLE_RESULT_FAIL +#define SLANG_HANDLE_RESULT_FAIL(x) assert(!"failure") +#endif + #include "../../slang-com-helper.h" #include "../../source/core/slang-writer.h" @@ -63,6 +67,8 @@ struct Options bool useDXIL = false; bool onlyStartup = false; + bool useShaderObjects = false; + bool performanceProfile = false; bool dontAddDefaultEntryPoints = false; |
