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/slang/slang.cpp | |
| parent | 4b3f554a58e4224806c31d66874fbe60f1f09332 (diff) | |
Add skeleton for metal backend. (#3971)
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 9d018d47f..437f0cd63 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -1709,6 +1709,10 @@ CapabilitySet TargetRequest::getTargetCaps() atoms.add(CapabilityName::cuda); break; + case CodeGenTarget::Metal: + atoms.add(CapabilityName::metal); + break; + default: break; } |
