diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 02:27:02 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 02:40:07 +0200 |
| commit | 5b361d81dbd2af0d0e99b9eb1adebea76ff05db0 (patch) | |
| tree | 34db1df17e8c7248aeeb92156d635d31c2484e3f /Tools/fetch-slang.sh | |
| parent | e3abaaf59777258ba06705135a0cafcb5918ad12 (diff) | |
[chore]: MASSIVE refactor + more vulkan bs
Diffstat (limited to 'Tools/fetch-slang.sh')
| -rwxr-xr-x | Tools/fetch-slang.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/fetch-slang.sh b/Tools/fetch-slang.sh index 5ee6de5..5229bf7 100755 --- a/Tools/fetch-slang.sh +++ b/Tools/fetch-slang.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash # -# Fetches the Slang shader-compiler toolchain into Tools/slang (gitignored). +# Fetches the Slang shader-compiler toolchain into tools/slang (gitignored). # Slang is the single shader-authoring language for Donut; slangc cross-compiles -# each Assets/Shaders/*.slang to GLSL (OpenGL), SPIR-V (Vulkan), and MSL (Metal). +# each assets/shaders/*.slang to GLSL (OpenGL), SPIR-V (Vulkan), and MSL (Metal). # # Re-run to (re)install. Pin the version here so builds are reproducible. set -euo pipefail VERSION="2026.14.1" ROOT="$(cd "$(dirname "$0")/.." && pwd)" -DEST="$ROOT/Tools/slang" +DEST="$ROOT/tools/slang" case "$(uname -s)-$(uname -m)" in Darwin-arm64|Darwin-aarch64) ASSET="macos-aarch64" ;; |
