summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-04-17 21:32:28 -0700
committerGitHub <noreply@github.com>2024-04-17 21:32:28 -0700
commit2c66cc7ef03b4d38fc463f2c8609a81232fcb91a (patch)
tree7e100ddd0df91e8d7ae90c3335bb416bc50ad6ac /source/core
parent4b3f554a58e4224806c31d66874fbe60f1f09332 (diff)
Add skeleton for metal backend. (#3971)
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 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[] =