gnu: Add vulkan-memory-allocator.
* gnu/packages/vulkan.scm (vulkan-memory-allocator): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
616860d6cb
commit
c65bc18f87
1 changed files with 30 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
|
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
|
||||||
;;; Copyright © 2022 Kaelyn Takata <kaelyn.alexi@protonmail.com>
|
;;; Copyright © 2022 Kaelyn Takata <kaelyn.alexi@protonmail.com>
|
||||||
|
;;; Copyright © 2022 dan <i@dan.games>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -499,3 +500,32 @@ entrypoints directly from the driver which can increase performance by
|
||||||
skipping loader dispatch overhead.")
|
skipping loader dispatch overhead.")
|
||||||
(home-page "https://github.com/zeux/volk")
|
(home-page "https://github.com/zeux/volk")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public vulkan-memory-allocator
|
||||||
|
(package
|
||||||
|
(name "vulkan-memory-allocator")
|
||||||
|
(version "3.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri
|
||||||
|
(git-reference
|
||||||
|
(url "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1hpzjwl5bgqv9hmf1fdldihfllcbdg515f391a200klg0rnixdds"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
;; no test
|
||||||
|
`(#:tests? #f))
|
||||||
|
(inputs (list vulkan-loader vulkan-headers))
|
||||||
|
(synopsis "Vulkan memory allocation library")
|
||||||
|
(description
|
||||||
|
"The Vulkan Memory Allocator (VMA) library provides a simple and easy to
|
||||||
|
integrate API to help users allocate memory for Vulkan buffer and image
|
||||||
|
storage.")
|
||||||
|
(home-page
|
||||||
|
"https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator")
|
||||||
|
(license license:expat)))
|
||||||
|
|
Reference in a new issue