Merge pull request #229273 from K900/more-vulkan-updates

More vulkan updates

authored by

K900 and committed by
GitHub
84a96797 ccde02e9

+23 -19
+15 -9
pkgs/development/libraries/vulkan-headers/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p curl jq nix-update 3 4 set -euf -o pipefail 5 6 - NEW_VERSION=$(curl https://vulkan.lunarg.com/sdk/latest/linux.json | jq -r '.linux') 7 - 8 - VULKAN_SDK_PACKAGES=( 9 "vulkan-headers" 10 - "spirv-headers" 11 - "glslang" 12 "vulkan-loader" 13 "spirv-tools" 14 - "spirv-cross" 15 "vulkan-validation-layers" 16 "vulkan-tools" 17 "vulkan-tools-lunarg" 18 "vulkan-extension-layer" 19 ) 20 21 - for P in "${VULKAN_SDK_PACKAGES[@]}"; do 22 - nix-update "$P" --version "$NEW_VERSION" --commit 23 done
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p nix-update 3 4 set -euf -o pipefail 5 6 + V_PACKAGES=( 7 "vulkan-headers" 8 "vulkan-loader" 9 "spirv-tools" 10 "vulkan-validation-layers" 11 "vulkan-tools" 12 "vulkan-tools-lunarg" 13 "vulkan-extension-layer" 14 ) 15 16 + SDK_PACKAGES=( 17 + "spirv-headers" 18 + "spirv-cross" 19 + ) 20 + 21 + nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit 22 + 23 + for P in "${V_PACKAGES[@]}"; do 24 + nix-update "$P" --version-regex "(?:v)(.*)" --commit 25 + done 26 + 27 + for P in "${SDK_PACKAGES[@]}"; do 28 + nix-update "$P" --version-regex "(?:sdk-)(.*)" --commit 29 done
+2 -2
pkgs/development/tools/vulkan-validation-layers/default.nix
··· 23 in 24 stdenv.mkDerivation rec { 25 pname = "vulkan-validation-layers"; 26 - version = "1.3.243.0"; 27 28 # If we were to use "dev" here instead of headers, the setupHook would be 29 # placed in that output instead of "out". ··· 33 src = fetchFromGitHub { 34 owner = "KhronosGroup"; 35 repo = "Vulkan-ValidationLayers"; 36 - rev = "sdk-${version}"; 37 hash = "sha256-viVceH8qFz6Cl/RlMMWZnMIdzULELlnIvtPZ87ySs2M="; 38 }; 39
··· 23 in 24 stdenv.mkDerivation rec { 25 pname = "vulkan-validation-layers"; 26 + version = "1.3.249"; 27 28 # If we were to use "dev" here instead of headers, the setupHook would be 29 # placed in that output instead of "out". ··· 33 src = fetchFromGitHub { 34 owner = "KhronosGroup"; 35 repo = "Vulkan-ValidationLayers"; 36 + rev = "v${version}"; 37 hash = "sha256-viVceH8qFz6Cl/RlMMWZnMIdzULELlnIvtPZ87ySs2M="; 38 }; 39
+3 -4
pkgs/tools/graphics/vulkan-extension-layer/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "vulkan-extension-layer"; 5 - version = "1.3.243.0"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "Vulkan-ExtensionLayer"; 10 - rev = "sdk-${version}"; 11 - hash = "sha256-hxlfSnH4M3ui5nW0Ll5rhto0DnJIHW0tJzS+p4KV0R4="; 12 }; 13 14 nativeBuildInputs = [ cmake jq ]; ··· 40 platforms = platforms.linux; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ expipiplus1 ]; 43 - broken = (version != vulkan-headers.version); 44 }; 45 }
··· 2 3 stdenv.mkDerivation rec { 4 pname = "vulkan-extension-layer"; 5 + version = "1.3.248"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "Vulkan-ExtensionLayer"; 10 + rev = "v${version}"; 11 + hash = "sha256-CuwYpB8HX8pnR+ElkQfckpKDLKyZIzqm4F9kluM1cKo="; 12 }; 13 14 nativeBuildInputs = [ cmake jq ]; ··· 40 platforms = platforms.linux; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ expipiplus1 ]; 43 }; 44 }
+3 -4
pkgs/tools/graphics/vulkan-tools/default.nix
··· 21 22 stdenv.mkDerivation rec { 23 pname = "vulkan-tools"; 24 - version = "1.3.243.0"; 25 26 src = fetchFromGitHub { 27 owner = "KhronosGroup"; 28 repo = "Vulkan-Tools"; 29 - rev = "sdk-${version}"; 30 - hash = "sha256-8XJON+iBEPRtuQWf1bPXyOJHRkuRLnLXgTIjk7gYQwE="; 31 }; 32 33 nativeBuildInputs = [ ··· 103 platforms = platforms.unix; 104 license = licenses.asl20; 105 maintainers = [ maintainers.ralith ]; 106 - broken = (version != vulkan-headers.version); 107 }; 108 }
··· 21 22 stdenv.mkDerivation rec { 23 pname = "vulkan-tools"; 24 + version = "1.3.249"; 25 26 src = fetchFromGitHub { 27 owner = "KhronosGroup"; 28 repo = "Vulkan-Tools"; 29 + rev = "v${version}"; 30 + hash = "sha256-+d0Yp+e/wzlRmUIs4SffiphkqmM/7avJrt3JNOgO19I="; 31 }; 32 33 nativeBuildInputs = [ ··· 103 platforms = platforms.unix; 104 license = licenses.asl20; 105 maintainers = [ maintainers.ralith ]; 106 }; 107 }