From 2c66cc7ef03b4d38fc463f2c8609a81232fcb91a Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 17 Apr 2024 21:32:28 -0700 Subject: Add skeleton for metal backend. (#3971) --- source/core/slang-type-text-util.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/core') diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp index 676be3976..7e1ffc439 100644 --- a/source/core/slang-type-text-util.cpp +++ b/source/core/slang-type-text-util.cpp @@ -61,6 +61,7 @@ static const TypeTextUtil::CompileTargetInfo s_compileTargetInfos[] = { SLANG_SHADER_HOST_CALLABLE, "", "host-callable,callable", "Host callable" }, { SLANG_OBJECT_CODE, "obj,o", "object-code", "Object code" }, { SLANG_HOST_HOST_CALLABLE, "", "host-host-callable", "Host callable for host execution" }, + { SLANG_METAL, "metal", "metal", "Metal shader source"}, }; static const NamesDescriptionValue s_languageInfos[] = -- cgit v1.2.3