diff options
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" ;; |
