summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-10-11 17:47:54 -0700
committeryum <yum.food.vr@gmail.com>2025-10-11 17:47:54 -0700
commite11e40dde87bb67f404c3681f6266af32449feca (patch)
tree7c13104f0896a3389a61d80fd0beb591b1c34494 /README.md
parent56bae6342544974194468661e0827f425e2a79bb (diff)
more stuff
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
```
-