diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-17 21:32:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-17 21:32:28 -0700 |
| commit | 2c66cc7ef03b4d38fc463f2c8609a81232fcb91a (patch) | |
| tree | 7e100ddd0df91e8d7ae90c3335bb416bc50ad6ac /source/compiler-core | |
| parent | 4b3f554a58e4224806c31d66874fbe60f1f09332 (diff) | |
Add skeleton for metal backend. (#3971)
Diffstat (limited to 'source/compiler-core')
| -rw-r--r-- | source/compiler-core/slang-artifact-desc-util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
