summaryrefslogtreecommitdiff
path: root/tools/render-test/options.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-13 14:10:10 -0700
committerGitHub <noreply@github.com>2017-06-13 14:10:10 -0700
commit5a11b47b34845874e1d8bfa28181661863645920 (patch)
treeed48ba12c7db141d517b29343b9127692e72ad8c /tools/render-test/options.h
parent7fc4c40b17f340800d6616e0bae111606cef18cc (diff)
parentd81c347e0edcbbf181885baf2b13978c28dfc9a8 (diff)
Merge pull request #5 from tfoleyNV/cross-compile
Cross compilation
Diffstat (limited to 'tools/render-test/options.h')
-rw-r--r--tools/render-test/options.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/render-test/options.h b/tools/render-test/options.h
index 81617630f..0731a5dc9 100644
--- a/tools/render-test/options.h
+++ b/tools/render-test/options.h
@@ -10,9 +10,18 @@ typedef uintptr_t UInt;
enum class Mode
{
+ // Slang being used as an HLSL-ish compiler
Slang,
+
+ // Raw HLSL or GLSL input, bypassing Slang
HLSL,
GLSL,
+
+ // Raw HLSL or GLSL input, passed through the Slang rewriter
+ HLSLRewrite,
+ GLSLRewrite,
+
+ // Slang/HLSL input -> GLSL output
GLSLCrossCompile,
};