summaryrefslogtreecommitdiff
path: root/tools/render-test/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.h')
-rw-r--r--tools/render-test/options.h6
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;