Try Slang locally in your browser without downloading or installing anything with Slang-Playground.
Binary packages are currently available for:
Binary releases include the command-line compiler slangc
, a shared library for the compiler, and the header files necessary for interacting with that library.
Slang is also distributed with the Vulkan SDK.
Instructions for building Slang from source code are maintained as part of the source code repository, here.
Follow this tutorial on how to write your first Slang shader and compile it for execution with the Vulkan API.
Check out the Slang User’s Guide to learn more about the language features, and Slang Standard Library Reference for detailed documentation on Slang’s builtin types and functions available for use in your shader code.