← back

yum-slop/modular_slang

write individual HLSL modules/libraries in slang

git clone https://git.yummers.dev/yum-slop/modular_slang

yumupdate readme83f9f78

master
1 folder8 files
languages

files

Scripts/Editor/
.gitignore16 B
CMakeLists.txt2.3 KiB
LICENSE1.0 KiB
README.md1.2 KiB
build.ps1531 B
example.slang2.2 KiB
main.cc20.7 KiB
slang.patch9.2 KiB

modular slang

the idea here is just to make something like slangc.exe, but which treats entrypoints like regular functions.

basics and gotchas

usage

build instructions

git clone https://github.com/yum-food/slang
cd slang
git submodule update --init --recursive -j 32
# wait, the previous command takes a while
mkdir build
cd build
cmake.exe ..
cmake.exe --build . -j 32 --config Release
# the previous command will take a long fucking time
cd ../..
# if in powershell, do this:
powershell.exe ./build.ps1 && ./dist/modular_slang.exe ./demo.slang
# if in bash, do this:
./build.sh && ./dist/modular_slang.exe ./demo.slang