diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-06-03 00:05:12 -0700 |
|---|---|---|
| committer | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-06-03 00:05:12 -0700 |
| commit | 289f3dd22629bd65dcf1e9be12a52e88deca925c (patch) | |
| tree | 56742af862888ca1d60cd8de74d6a211df79dc1c /source | |
| parent | d80f4139bc4baa119a5dfcf74cdcf3a75b977efc (diff) | |
Add CUDA the compile target for slang-playground
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang-wasm/slang-wasm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang-wasm/slang-wasm.cpp b/source/slang-wasm/slang-wasm.cpp index 9c705e5ad..e9eb78a1e 100644 --- a/source/slang-wasm/slang-wasm.cpp +++ b/source/slang-wasm/slang-wasm.cpp @@ -36,6 +36,7 @@ emscripten::val getCompileTargets() {"WGSL", SLANG_WGSL}, {"SPIRV", SLANG_SPIRV}, {"METAL", SLANG_METAL}, + {"CUDA", SLANG_CUDA_SOURCE}, }; std::vector<emscripten::val> result; |
