diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-01 13:00:29 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-01 13:00:29 -0400 |
| commit | b623864fe609e6912cdd2e350aa70cf7e441e1d3 (patch) | |
| tree | 3e3d917bf877e8e83f12b04a920b53ed2afdb942 /source/slang/compiler.h | |
| parent | b4754152010b99400a2efbd97c9cfbdb7e986cc0 (diff) | |
| parent | ec41631032b65973e8f92348e0a86bb9924ef981 (diff) | |
Merge https://github.com/shader-slang/slang
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index b7ab980fc..7b539ce69 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -47,6 +47,8 @@ namespace Slang SPIRVAssembly = SLANG_SPIRV_ASM, DXBytecode = SLANG_DXBC, DXBytecodeAssembly = SLANG_DXBC_ASM, + DXIL = SLANG_DXIL, + DXILAssembly = SLANG_DXIL_ASM, }; enum class ContainerFormat @@ -126,8 +128,9 @@ namespace Slang enum class PassThroughMode : SlangPassThrough { None = SLANG_PASS_THROUGH_NONE, // don't pass through: use Slang compiler - HLSL = SLANG_PASS_THROUGH_FXC, // pass through HLSL to `D3DCompile` API -// GLSL, // pass through GLSL to `glslang` library + fxc = SLANG_PASS_THROUGH_FXC, // pass through HLSL to `D3DCompile` API + dxc = SLANG_PASS_THROUGH_DXC, // pass through HLSL to `IDxcCompiler` API + glslang = SLANG_PASS_THROUGH_GLSLANG, // pass through GLSL to `glslang` library }; class SourceFile; |
