[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: Add volk.
From: |
guix-commits |
Subject: |
10/10: gnu: Add volk. |
Date: |
Sun, 20 Nov 2022 03:32:30 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit e43df543a8d2016c3971af14c06efe42c89a6975
Author: dan <i@dan.games>
AuthorDate: Sat Nov 19 23:02:47 2022 +0800
gnu: Add volk.
* gnu/packages/vulkan.scm (volk): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/vulkan.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 3403c89a29..95b8542133 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -473,3 +473,32 @@ shader compilation.")
can assist development by enabling developers to verify their applications
correctly
use the Vulkan API.")
(license license:asl2.0)))
+
+(define-public volk
+ (package
+ (name "volk")
+ (version %vulkan-sdk-version)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zeux/volk")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xaw3kg754mknx8lfj1p74a9npjfvdvlpicvn0hla4495zpc10rq"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ;no test
+ #:configure-flags '("-DVOLK_INSTALL=ON" "-DVOLK_PULL_IN_VULKAN=ON")))
+ (inputs (list vulkan-headers))
+ (synopsis "Meta loader for Vulkan API")
+ (description
+ "Volk is a meta-loader for Vulkan. It allows you to dynamically load
+entrypoints required to use Vulkan without linking the Vulkan loader.
+Additionally, volk simplifies the use of Vulkan extensions by automatically
+loading all associated entrypoints. Finally, volk enables loading Vulkan
+entrypoints directly from the driver which can increase performance by
+skipping loader dispatch overhead.")
+ (home-page "https://github.com/zeux/volk")
+ (license license:expat)))
- branch staging updated (7d5e045a69 -> e43df543a8), guix-commits, 2022/11/20
- 04/10: gnu: spirv-cross: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 07/10: gnu: vulkan-loader: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 06/10: gnu: vulkan-headers: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 02/10: gnu: spirv-tools: Replace version with %vulkan-sdk-version., guix-commits, 2022/11/20
- 03/10: gnu: glslang: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 01/10: gnu: spirv-headers: Replace version with %vulkan-sdk-version., guix-commits, 2022/11/20
- 05/10: gnu: shaderc: Update to 2022.3., guix-commits, 2022/11/20
- 08/10: gnu: vulkan-tools: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 09/10: gnu: vulkan-validationlayers: Update to sdk-1.3.231.1., guix-commits, 2022/11/20
- 10/10: gnu: Add volk.,
guix-commits <=