Skip to content

Commit 212626d

Browse files
committed
FAQ: add new target
1 parent 1e12b23 commit 212626d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/faq.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ libraries, then a prebuilt LLVM wrapper library called `slang-llvm` is required.
1010

1111
The Slang compiler binary is around 5-10 MB depending on build configuration and target architecture.
1212

13+
#### Can I add another code generation target to Slang?
14+
15+
Absolutely! Slang is open and everyone is welcomed to contribute! Slang supports two types of targets: textual targets such as HLSL/GLSL/WGSL/C++ or binary targets such as SPIRV. Generally, adding support for textual targets is simpler and a lot of the infrastructual can be reused between the targets. We recently added support for Metal and WGSL, and more backends can be added following the similar process. Please create a discussion thread on the [Slang GitHub repo](https://github.com/shader-slang/slang/discussions) to start working with the dev team on adding a new target.

0 commit comments

Comments
 (0)