diff options
| author | Yong He <yonghe@outlook.com> | 2024-06-12 13:49:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 13:49:18 -0700 |
| commit | 0574dca987edb83325f50b435767fa0c61bae2b8 (patch) | |
| tree | 82b159026dc58ced9271f1c23d134991e442c109 /source/core | |
| parent | 085d1a603eac69f66b5357276ea07d1978832030 (diff) | |
Delete glsl_vulkan and glsl_vulkan_one_desc targets. (#4361)
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-type-convert-util.cpp | 2 | ||||
| -rw-r--r-- | source/core/slang-type-text-util.cpp | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/source/core/slang-type-convert-util.cpp b/source/core/slang-type-convert-util.cpp index c763b2835..cb5b4d38b 100644 --- a/source/core/slang-type-convert-util.cpp +++ b/source/core/slang-type-convert-util.cpp @@ -9,8 +9,6 @@ namespace Slang switch (target) { case SLANG_GLSL: - case SLANG_GLSL_VULKAN: - case SLANG_GLSL_VULKAN_ONE_DESC: { return SLANG_SOURCE_LANGUAGE_GLSL; } diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp index e6c575bc3..9fa91abf6 100644 --- a/source/core/slang-type-text-util.cpp +++ b/source/core/slang-type-text-util.cpp @@ -44,9 +44,7 @@ static const TypeTextUtil::CompileTargetInfo s_compileTargetInfos[] = { SLANG_DXBC_ASM, "dxbc-asm", "dxbc-asm,dxbc-assembly", "DirectX shader bytecode assembly" }, { SLANG_DXIL, "dxil", "dxil", "DirectX Intermediate Language binary" }, { SLANG_DXIL_ASM, "dxil-asm", "dxil-asm,dxil-assembly", "DirectX Intermediate Language assembly"}, - { SLANG_GLSL, "glsl,vert,frag,geom,tesc,tese,comp", "glsl", "GLSL source code" }, - { SLANG_GLSL_VULKAN, "", "glsl-vulkan", "GLSL Vulkan source code" }, - { SLANG_GLSL_VULKAN_ONE_DESC, "", "glsl-vulkan-one-desc", "GLSL Vulkan source code" }, + { SLANG_GLSL, "glsl,vert,frag,geom,tesc,tese,comp", "glsl", "GLSL(Vulkan) source code" }, { SLANG_SPIRV, "spv", "spirv", "SPIR-V binary"}, { SLANG_SPIRV_ASM, "spv-asm", "spirv-asm,spirv-assembly", "SPIR-V assembly" }, { SLANG_C_SOURCE, "c", "c", "C source code" }, |
