From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oPiUDkoxemOLaQEAbAwnHQ (envelope-from ) for ; Sun, 20 Nov 2022 14:53:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2BVeDkoxemOFxQAAauVa8A (envelope-from ) for ; Sun, 20 Nov 2022 14:53:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1A6091A56D for ; Sun, 20 Nov 2022 14:53:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owkkq-00088G-Dx; Sun, 20 Nov 2022 08:53:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owkko-000887-Ma for guix-patches@gnu.org; Sun, 20 Nov 2022 08:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owkko-0002KS-BC for guix-patches@gnu.org; Sun, 20 Nov 2022 08:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owkko-00059N-7m for guix-patches@gnu.org; Sun, 20 Nov 2022 08:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59386] [PATCH] gnu: Add vulkan-memory-allocator. References: <20221119145607.18471-1-i@dan.games> In-Reply-To: <20221119145607.18471-1-i@dan.games> Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Nov 2022 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59386 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59386@debbugs.gnu.org Cc: marius@gnu.org Received: via spool by 59386-submit@debbugs.gnu.org id=B59386.166895234419749 (code B ref 59386); Sun, 20 Nov 2022 13:53:02 +0000 Received: (at 59386) by debbugs.gnu.org; 20 Nov 2022 13:52:24 +0000 Received: from localhost ([127.0.0.1]:42699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkkB-00058T-MJ for submit@debbugs.gnu.org; Sun, 20 Nov 2022 08:52:24 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:59649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkk9-00058D-Av for 59386@debbugs.gnu.org; Sun, 20 Nov 2022 08:52:22 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 796A3320070D; Sun, 20 Nov 2022 08:52:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 20 Nov 2022 08:52:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1668952335; x=1669038735; bh=JUcbCrA/ww /J9kFOSwh0x/4pdxWoS+uMfAFzV3D6M4s=; b=ui0Cp2cf/AkzwvUU/bCfNEcOPk /Vv+9Pk46yADZR8pCmGdA9bvkRZuLrnV3VTWyFtvMn+sri93f1/f+hB3/UIWBr/C 7p0Acgtj4eIHBrn+Zeaa3DumQ4vbKpfWcpOsuUEiLjqUENrFIBTK0En+QIDMbhe7 23ZV4uMYdG3PzPXKDNKx1PSaVkCrqDTXxqMVdzwN07HzHgB43OzwNRTzHPapAUrE obVglaz8uChFy4J6IH4VfxxdfLU3AP1e23JcTCoQpi038oSTAphRQNujc0pndSLq ewooVCWzbUc3V/iskENfRyGVGydqLq5sEBLSQgiyNm+SHq6Y+t3iEaYfy2TQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1668952335; x=1669038735; bh=JUcbCrA/ww/J9 kFOSwh0x/4pdxWoS+uMfAFzV3D6M4s=; b=weaztpxOmkVsaFkUASwsAoKeGjlc2 TYuO9YH/5JG4fDmlymP7Y7Ii86iIQ+/z0AFVzAEYG3aXVasJkauN+UDlCVa8YgHd PZRuPv2NSNit9/Nn6cFS9YuzpJBeDlOCqqBNALSPL58zfEVgD8FWXX35oy7mN8ep ztT7nUgVi40TtoHDsUSSyrlqRa06l5fzFZ2z2oNHNsrLRkgHU1/QZEVW10WWbQsC KHUI4Qi1R8zoosM9e0EUqLM9EYAMqjKRf7u6DkyfJ+LaB90DXPg6y9mx56k1VHZ4 yoN4HcHFJNZXLYmrsNMDQTgXpjvPYEN1UYWzCgDNZmxgTpXwSQEbBDqsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrheeggdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthht vghrnhepvedtkeehheefteetleeileefteehgfeuhfettddvleefjeejgfeiffegtdfhke dtnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Nov 2022 08:52:13 -0500 (EST) From: dan Date: Sun, 20 Nov 2022 21:49:31 +0800 Message-Id: <20221120134931.9084-1-i@dan.games> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668952394; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JUcbCrA/ww/J9kFOSwh0x/4pdxWoS+uMfAFzV3D6M4s=; b=kwdjHqqW1AC6yjC4CNV5PYqfmoBjHyXsoP8uIlAX4YbgEf9dUIQwQ3CeQxutLEOqTWDUl8 D/mHS0b9kNCEGYYxWC6zIB0cw7ANxJygYteSYNt415ykrCrcKJy9UatfqY7kNTa+INLv2G dbQru440lu+0dZFEFbmZgdg/G6Rkyjy3tCBOcgoRmM2nP0ZmuhCvwoFjLSOjj9Oi2OXevF sSepKIAAf14KfiFWN9YZr5gGLr5kLVHf24TGTRs7t8wc7Wn3YPk3jcoR+BvDQqN9BrTsy9 zHifwkayi/2H44Gl/wmioXhyFgxpMJr03FRYlKtxvNUPREyNply4yXm+k7C4hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668952394; a=rsa-sha256; cv=none; b=eHdJF3fdKZVvNapKgEbu+/u7y6wUO5HCWYcak1cYmEPu1SFaXEAIdX1CZuSXu+zNmMfXDs 4pXKWo9TejtQ0UuPooj8ty476UkM6BhMhmxvywoEGlrh0pq0f5noi/N1ZX8vE/nfY0Gt5u z6jr+D+BfJzxhoWHJREAVN1Gd0Ahc9qN43eyCf1lwrIqz8OS9WM1tnQdWTuSe67E2SMe8H 4F6BPPHtYc54iRkcWDBUukTWKdzMIdlhXjcJOqlry/Hx1o6sMDocgtyNJk4MnwCry/zkSR cOib28iiaqJFd3i7oU1Pu2b87Vna9HHABLRdW2bgNqjSPBGDAqjJNQrzrlRB1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b=ui0Cp2cf; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=weaztpxO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b=ui0Cp2cf; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=weaztpxO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1A6091A56D X-Spam-Score: 3.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: /8OJC0QVfhux * gnu/packages/vulkan.scm (vulkan-memory-allocator): New variable. --- gnu/packages/vulkan.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 95b8542133..cbad4f3abc 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2021 Mathieu Othacehe ;;; Copyright © 2022 Kaelyn Takata +;;; Copyright © 2022 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -502,3 +503,30 @@ (define-public volk skipping loader dispatch overhead.") (home-page "https://github.com/zeux/volk") (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)))) + (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))) -- 2.38.1