From 0574dca987edb83325f50b435767fa0c61bae2b8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 12 Jun 2024 13:49:18 -0700 Subject: Delete glsl_vulkan and glsl_vulkan_one_desc targets. (#4361) --- source/core/slang-type-convert-util.cpp | 2 -- source/core/slang-type-text-util.cpp | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'source/core') 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" }, -- cgit v1.2.3