summaryrefslogtreecommitdiff
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-01 13:00:29 -0400
committerYong He <yonghe@outlook.com>2017-11-01 13:00:29 -0400
commitb623864fe609e6912cdd2e350aa70cf7e441e1d3 (patch)
tree3e3d917bf877e8e83f12b04a920b53ed2afdb942 /source/slang/compiler.h
parentb4754152010b99400a2efbd97c9cfbdb7e986cc0 (diff)
parentec41631032b65973e8f92348e0a86bb9924ef981 (diff)
Merge https://github.com/shader-slang/slang
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h7
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;