depot/third_party/nixpkgs/pkgs/development/libraries/vulkan-headers/update.sh
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

24 lines
520 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update
set -euf -o pipefail
SDK_PACKAGES=(
"vulkan-headers"
"vulkan-loader"
"vulkan-validation-layers"
"vulkan-tools"
"vulkan-tools-lunarg"
"vulkan-extension-layer"
"vulkan-utility-libraries"
"vulkan-volk"
"spirv-headers"
"spirv-cross"
"spirv-tools"
)
nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit
for P in "${SDK_PACKAGES[@]}"; do
nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit
done