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/compiler-core/slang-artifact-desc-util.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/compiler-core') diff --git a/source/compiler-core/slang-artifact-desc-util.cpp b/source/compiler-core/slang-artifact-desc-util.cpp index 559a1b4ca..2646555bc 100644 --- a/source/compiler-core/slang-artifact-desc-util.cpp +++ b/source/compiler-core/slang-artifact-desc-util.cpp @@ -286,6 +286,7 @@ SLANG_HIERARCHICAL_ENUM(ArtifactStyle, SLANG_ARTIFACT_STYLE, SLANG_ARTIFACT_STYL case SLANG_PTX: return Desc::make(Kind::Executable, Payload::PTX, Style::Kernel, 0); case SLANG_OBJECT_CODE: return Desc::make(Kind::ObjectCode, Payload::HostCPU, Style::Kernel, 0); case SLANG_HOST_HOST_CALLABLE: return Desc::make(Kind::HostCallable, Payload::HostCPU, Style::Host, 0); + case SLANG_METAL: return Desc::make(Kind::Source, Payload::Metal, Style::Kernel, 0); default: break; } -- cgit v1.2.3