Skip to content

Commit d6a9b95

Browse files
Added Slang to README.md
1 parent b95c488 commit d6a9b95

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ python3 deploy_content_android.py
108108
109109
> NOTE: At the moment, demo apps do not support touch input on Android.
110110
111+
## Using the Slang compiler
112+
113+
By default, the [Slang](https://github.com/shader-slang/slang) compiler is disabled,
114+
and only GLSL shaders are supported through the [glslang](https://github.com/KhronosGroup/glslang) compiler.
115+
To enable [Slang](https://github.com/shader-slang/slang), configure the project with the following CMake option:
116+
117+
```
118+
cmake .. -DLVK_WITH_SLANG=ON
119+
```
120+
111121
## Screenshots
112122

113123
Check out [https://github.com/corporateshark/lightweightvk/samples](https://github.com/corporateshark/lightweightvk/tree/master/samples).

0 commit comments

Comments
 (0)