From 4cbf98dd43ebb4795fe36faa68b858602a4044f3 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 10 Oct 2025 22:53:26 -0700 Subject: initial commit --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..00ff565 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +## modular slang + +the idea here is just to make something like slangc.exe, but which doesn't +require an entrypoint. + +build instructions + +```bash +git clone https://github.com/shader-slang/slang +git submodule update --init --recursive -j 32 +# wait, the previous command takes a while +mkdir slang/build +cd slang/build +# run this part in powershell, from ./slang/build +cmake.exe .. +cmake.exe --build . -j +# 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 +``` + -- cgit v1.2.3