From 289f3dd22629bd65dcf1e9be12a52e88deca925c Mon Sep 17 00:00:00 2001 From: Gangzheng Tong Date: Tue, 3 Jun 2025 00:05:12 -0700 Subject: Add CUDA the compile target for slang-playground --- source/slang-wasm/slang-wasm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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 result; -- cgit v1.2.3