2023-04-12 12:48:02 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
2023-05-24 13:37:59 +00:00
|
|
|
#!nix-shell -i bash -p nix-update
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
set -euf -o pipefail
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
SDK_PACKAGES=(
|
2023-04-12 12:48:02 +00:00
|
|
|
"vulkan-headers"
|
|
|
|
"vulkan-loader"
|
|
|
|
"vulkan-validation-layers"
|
|
|
|
"vulkan-tools"
|
|
|
|
"vulkan-tools-lunarg"
|
|
|
|
"vulkan-extension-layer"
|
2023-10-09 19:29:22 +00:00
|
|
|
"vulkan-utility-libraries"
|
2023-05-24 13:37:59 +00:00
|
|
|
"spirv-headers"
|
|
|
|
"spirv-cross"
|
2023-10-09 19:29:22 +00:00
|
|
|
"spirv-tools"
|
2023-05-24 13:37:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit
|
|
|
|
|
|
|
|
for P in "${SDK_PACKAGES[@]}"; do
|
2023-11-16 04:20:00 +00:00
|
|
|
nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit
|
2023-04-12 12:48:02 +00:00
|
|
|
done
|