summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index 6c31d8c..8578b41 100644
--- a/README.md
+++ b/README.md
@@ -14,19 +14,20 @@ build instructions
```bash
git clone https://github.com/shader-slang/slang
+cd slang
+git checkout 1a193d6e5cdcdab05aa291d725c3b1c1260b8762
+patch -p1 <../slang.patch
git submodule update --init --recursive -j 32
# wait, the previous command takes a while
-mkdir slang/build
-cd slang/build
+mkdir build
+cd build
# run this part in powershell, from ./slang/build
cmake.exe ..
-cmake.exe --build . -j
+cmake.exe --build . -j 32 --config Release
# the previous command will take a long fucking time
# switch back to top level of repo
cd ../..
-# do this in wsl2 or powershell. Showing wsl2/bash syntax
-# you'd do this for each incremental build.
-powershell.exe ./build.ps1 && ./build/bin/Release/modular_slange.exe ./test.slang
+# do this in wsl2 or powershell. Showing wsl2/bash syntax.
+powershell.exe ./build.ps1 && ./dist/modular_slang.exe ./demo.slang
```
-