Skip to content
4 changes: 2 additions & 2 deletions pkgs/development/compilers/glslang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
}:
stdenv.mkDerivation rec {
pname = "glslang";
version = "13.1.1";
version = "14.0.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
rev = version;
hash = "sha256-fuzNsVYdnThMzd4tLN/sTbCBXg6qXKLDJRziOKyOBGg=";
hash = "sha256-7kIIU45pe+IF7lGltpIKSvQBmcXR+TWFvmx7ztMNrpc=";
};

# These get set at all-packages, keep onto them for child drvs
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/spirv-headers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "spirv-headers";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "vulkan-sdk-${version}";
hash = "sha256-uOnSTih14bUPtrJgp7vVb3/UfdKsF6jFQqjlFeJ81AI=";
hash = "sha256-/I9dJlBE0kvFvqooKuqMETtOE72Jmva3zIGnq0o4+aE=";
};

nativeBuildInputs = [ cmake ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/vulkan-headers/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "vulkan-headers";
version = "1.3.268.0";
version = "1.3.275.0";

nativeBuildInputs = [ cmake ];

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Headers";
rev = "vulkan-sdk-${version}";
hash = "sha256-CDjWTXXnUgj9QaLDNuSVy+wf8If5LehwOZ0t0Fuh2Ro=";
hash = "sha256-kBOkj7mr4stPXUCBhNJpNL3A+9BebEwrIBEIroxdH8Y=";
};

passthru.updateScript = ./update.sh;
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/libraries/vulkan-headers/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SDK_PACKAGES=(
"vulkan-tools-lunarg"
"vulkan-extension-layer"
"vulkan-utility-libraries"
"vulkan-volk"
"spirv-headers"
"spirv-cross"
"spirv-tools"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/vulkan-loader/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "vulkan-loader";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Loader";
rev = "vulkan-sdk-${version}";
hash = "sha256-TDn8eVz1fhGfvUiGcxqOk2BN9tuIF5+ssIXtOo3weS0=";
hash = "sha256-53PUXAWiK38ciV6oMvD7ZHdXi4RU4r0RmDWUUHU3mE0=";
};

patches = [ ./fix-pkgconfig.patch ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "vulkan-utility-libraries";
version = "1.3.268";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Utility-Libraries";
rev = "v${finalAttrs.version}";
hash = "sha256-l6PiHCre/JQg8PSs1k/0Zzfwwv55AqVdZtBbjeKLS6E=";
rev = "vulkan-sdk-${finalAttrs.version}";
hash = "sha256-gvia+Xb9BpOjPARKo3Sgp85Bfh1roFZ2PzCtXVFYeIU=";
};

nativeBuildInputs = [ cmake python3 ];
Expand Down
26 changes: 26 additions & 0 deletions pkgs/development/libraries/vulkan-volk/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, cmake, vulkan-headers }:

stdenv.mkDerivation (finalAttrs: {
pname = "volk";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "zeux";
repo = "volk";
rev = "vulkan-sdk-${finalAttrs.version}";
hash = "sha256-uTjLgJMGN8nOVhVIl/GNhO2jXe9ebhc9vzAwCDwfuf4=";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ vulkan-headers ];

cmakeFlags = ["-DVOLK_INSTALL=1"];

meta = with lib; {
description = " Meta loader for Vulkan API";
homepage = "https://github.com/zeux/volk";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ k900 ];
};
})
4 changes: 2 additions & 2 deletions pkgs/development/tools/spirv-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "spirv-tools";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Tools";
rev = "vulkan-sdk-${version}";
hash = "sha256-Bned5Pa6zCFByfNvqD0M5t3l4uAJYkDlpe6wu8e7a3U=";
hash = "sha256-RzGvoDt1Qc+f6mZsfs99MxX4YB3yFc5FP92Yx/WGrsI=";
};

# The cmake options are sufficient for turning on static building, but not
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/vulkan-validation-layers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ let
in
stdenv.mkDerivation rec {
pname = "vulkan-validation-layers";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-ValidationLayers";
rev = "vulkan-sdk-${version}";
hash = "sha256-DwkSUclStYKe54tC1H3jMv1KOSScgqf25tR5ajQZ6os=";
hash = "sha256-hJx8gn0zCN3+DhO6niylZJXPHgQ+VhQV5tL8qAeRaUg=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/graphics/spirv-cross/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation (finalAttrs: {
pname = "spirv-cross";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Cross";
rev = "vulkan-sdk-${finalAttrs.version}";
hash = "sha256-UIk5hihUPjXNzEeO2laS4dUef/rEExxXAZjMcftx+3A=";
hash = "sha256-Mhr3Yxm5MeLLQFmxWmtXLsq+ZcOE+KMs+3iiTYF8t30=";
};

nativeBuildInputs = [ cmake python3 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/graphics/vulkan-extension-layer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "vulkan-extension-layer";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-ExtensionLayer";
rev = "vulkan-sdk-${version}";
hash = "sha256-rSKPTeTDOz6IeJGRt9aIu1VH8VfVzXNYZfjdiSXEJxg=";
hash = "sha256-zQycF3yKoa54KBUIuG1BqFGB00yc6oZQzdcDel2rXN0=";
};

nativeBuildInputs = [ cmake pkg-config jq ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

stdenv.mkDerivation rec {
pname = "vulkan-tools-lunarg";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "LunarG";
repo = "VulkanTools";
rev = "vulkan-sdk-${version}";
hash = "sha256-2ZUD+RBsl35QV3250JOPCIoJb4sJcBsiRE4SZaS6ROs=";
hash = "sha256-MEQX90HL90jyVBWWcvOF7QLzm1+fNE5TW3MWdK4w53M=";
};

nativeBuildInputs = [ cmake python3 jq which pkg-config libsForQt5.qt5.wrapQtAppsHook ];
Expand Down
6 changes: 4 additions & 2 deletions pkgs/tools/graphics/vulkan-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
, libXrandr
, vulkan-headers
, vulkan-loader
, vulkan-volk
, wayland
, wayland-protocols
, moltenvk
Expand All @@ -23,13 +24,13 @@

stdenv.mkDerivation rec {
pname = "vulkan-tools";
version = "1.3.268.0";
version = "1.3.275.0";

src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Tools";
rev = "vulkan-sdk-${version}";
hash = "sha256-IsMxiAR4ak6kC3BNYhtI+JVNkEka4ZceSElxk39THXg=";
hash = "sha256-0sAwO8gXzpMst+7l7LS1oiDLo9E6otDktCti+v8jwDw=";
};

nativeBuildInputs = [
Expand All @@ -42,6 +43,7 @@ stdenv.mkDerivation rec {
glslang
vulkan-headers
vulkan-loader
vulkan-volk
] ++ lib.optionals (!stdenv.isDarwin) [
libffi
libX11
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25529,6 +25529,7 @@ with pkgs;
vulkan-tools-lunarg = callPackage ../tools/graphics/vulkan-tools-lunarg { };
vulkan-utility-libraries = callPackage ../development/libraries/vulkan-utility-libraries { };
vulkan-validation-layers = callPackage ../development/tools/vulkan-validation-layers { };
vulkan-volk = callPackage ../development/libraries/vulkan-volk { };

vxl = callPackage ../development/libraries/vxl { };

Expand Down