summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-08 13:23:06 +0800
committerGitHub <noreply@github.com>2023-08-07 22:23:06 -0700
commit97dccb4c61645a14f541e7bceba3ba1599efb8ba (patch)
tree1484445b5133500bf1eba3849a970e728170735a /source/core
parent43e0fba1a51ae27ac2b3ab12e9b6bbb87126b7cc (diff)
Add spirv-dis as a downstream compiler (#3059)
* Add spirv-dis as a downstream compiler * Add TODO for spirv-dis downstream compiler * Do not use SpirvDis by default * tabs to spaces * regenerate vs projects * correct test * correct calling convention --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-type-text-util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp
index 6743800b3..2196fbaa8 100644
--- a/source/core/slang-type-text-util.cpp
+++ b/source/core/slang-type-text-util.cpp
@@ -79,6 +79,7 @@ static const NamesDescriptionValue s_compilerInfos[] =
{ SLANG_PASS_THROUGH_FXC, "fxc", "FXC HLSL compiler" },
{ SLANG_PASS_THROUGH_DXC, "dxc", "DXC HLSL compiler" },
{ SLANG_PASS_THROUGH_GLSLANG, "glslang", "GLSLANG GLSL compiler" },
+ { SLANG_PASS_THROUGH_SPIRV_DIS, "spirv-dis", "spirv-tools SPIRV disassembler" },
{ SLANG_PASS_THROUGH_VISUAL_STUDIO, "visualstudio,vs", "Visual Studio C/C++ compiler" },
{ SLANG_PASS_THROUGH_CLANG, "clang", "Clang C/C++ compiler" },
{ SLANG_PASS_THROUGH_GCC, "gcc", "GCC C/C++ compiler" },