diff options
| author | Yong He <yonghe@outlook.com> | 2024-09-25 18:19:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-25 18:19:26 -0700 |
| commit | d752482c9223eef8deebb0d8f0b13ce9679781c4 (patch) | |
| tree | 3ea04992f37b0867317b47b3274379eaf45c5195 /README.md | |
| parent | a1f6a0a4d729e3e25c224a62c9cc8a686ee304a3 (diff) | |
Update README.md for platform support
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -71,16 +71,24 @@ Limitations and Support ----------------------- ### Platform support -| Windows | Linux | MacOS | -|:---------------:|:--------------:|:------------:| -| supported | supported | supported | +| Windows | Linux | MacOS | WebAssembly | +|:---------------:|:--------------:|:------------:|:--------------------:| +| supported | supported | supported | experimental | ### Target support -| Direct3D 11 | Direct3D 12 | Vulkan | Metal | CUDA | OptiX | CPU Compute | -|:---------------:|:--------------:|:---------------:|:-------------------------------------------------------:|:-------------------:|:-----------:|:---------------------:| -| HLSL | HLSL | GLSL & SPIR-V | Metal Shading Language (Vertex/Fragment/Mesh/Compute stages) | C++ (compute-only) | C++ (WIP) | C++ (compute-only) | - -*for greater detail, see the [Supported Compilation Targets](https://shader-slang.com/slang/user-guide/targets.html) section of the [User Guide](https://shader-slang.github.io/slang/user-guide/) +| Target | Status | Output Formats | +|:----------------:|:--------------:|:----------------------:| +| Direct3D 11 | supported | HLSL | +| Direct3D 12 | supported | HLSL | +| Vulkan | supported | SPIRV, GLSL | +| Metal | experimental* | Metal Shading Language | +| WebGPU | experimental* | WGSL | +| CUDA | supported | C++ (compute only) | +| Optix | experimental | C++ (WIP) | +| CPU | experimental | C++ (kernel), C++ (host), standalone executable, dynamic library | + +*Slang currently supports generating vertex, fragment, compute, task and mesh shaders for Metal. WGSL support is still work in-progress. +For greater detail, see the [Supported Compilation Targets](https://shader-slang.com/slang/user-guide/targets.html) section of the [User Guide](https://shader-slang.github.io/slang/user-guide/) The Slang project has been used for production applications and large shader codebases, but it is still under active development. Support is currently focused on the platforms (Windows, Linux) and target APIs (Direct3D 12, Vulkan) where Slang is used most heavily. |
