diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-10 09:49:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-10 09:49:46 -0700 |
| commit | 8abdf2dddd10feb9794c86cdf6b2159a2b6383e4 (patch) | |
| tree | df7d790f33f7e4c8adc1b9b747c7c908d8bab0d4 /source/slang/compiler.h | |
| parent | 68df74b58a56b0a1fb19b9ec4ff0282969cd6a12 (diff) | |
| parent | 5b7c254d24653fd1c19157e8d5ef68a7e787ff58 (diff) | |
Merge pull request #65 from tfoleyNV/falcor-work
Falcor work
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index b3bcd7ba1..cb7eb6265 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -3,11 +3,9 @@ #include "../core/basic.h" -#include "compiled-program.h" #include "diagnostics.h" #include "profile.h" #include "syntax.h" -#include "type-layout.h" #include "../../slang.h" @@ -15,6 +13,7 @@ namespace Slang { struct IncludeHandler; class CompileRequest; + class ProgramLayout; enum class CompilerMode { @@ -37,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, @@ -170,6 +170,10 @@ namespace Slang // What target language are we compiling to? CodeGenTarget Target = CodeGenTarget::Unknown; + // An "extra" target that might override the first one + // when it comes to deciding output format, etc. + CodeGenTarget extraTarget = CodeGenTarget::Unknown; + // Directories to search for `#include` files or `import`ed modules List<SearchDirectory> searchDirectories; |
