summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-10 09:04:50 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-10 09:04:50 -0700
commit7af89d178736637cfad9c195f85f7f83e2f4ba99 (patch)
treeb4b616b7e4b6c84e737a86ce4fc5d61107c1a966 /source/slang/compiler.h
parent0e220da96b819f3a31635689f78ad20bd9a36d0b (diff)
Cleanups for test cases:
- Allow a code-generation target of `NONE` in order to suppress ordinary output in test cases where we don't care about the actual output (just pass/fail result) - Add explicit `location` layout qualifiers to intermediate vertex-to-fragment variables in GLSL test cases for rendering, to work around apparent Intel driver bugs.
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index e106973bc..cb7eb6265 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -36,6 +36,7 @@ namespace Slang
enum class CodeGenTarget
{
Unknown = SLANG_TARGET_UNKNOWN,
+ None = SLANG_TARGET_NONE,
GLSL = SLANG_GLSL,
GLSL_Vulkan = SLANG_GLSL_VULKAN,
GLSL_Vulkan_OneDesc = SLANG_GLSL_VULKAN_ONE_DESC,