diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-10 09:04:50 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-10 09:04:50 -0700 |
| commit | 7af89d178736637cfad9c195f85f7f83e2f4ba99 (patch) | |
| tree | b4b616b7e4b6c84e737a86ce4fc5d61107c1a966 /source/slang/compiler.cpp | |
| parent | 0e220da96b819f3a31635689f78ad20bd9a36d0b (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.cpp')
| -rw-r--r-- | source/slang/compiler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp index f9c188764..2f6204eb2 100644 --- a/source/slang/compiler.cpp +++ b/source/slang/compiler.cpp @@ -461,6 +461,10 @@ namespace Slang } break; + case CodeGenTarget::None: + // The user requested no output + break; + // Note(tfoley): We currently hit this case when compiling the stdlib case CodeGenTarget::Unknown: break; |
