From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IerI5jweGPDUAEAbAwnHQ (envelope-from ) for ; Sat, 19 Nov 2022 16:04:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UOefI5jweGPxwQAAauVa8A (envelope-from ) for ; Sat, 19 Nov 2022 16:04:56 +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 5EB0A45DBC for ; Sat, 19 Nov 2022 16:04:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owPO5-0003jY-Ba; Sat, 19 Nov 2022 10:04:09 -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 1owPO2-0003ci-9U for guix-patches@gnu.org; Sat, 19 Nov 2022 10:04:06 -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 1owPO1-0006Ac-Ji for guix-patches@gnu.org; Sat, 19 Nov 2022 10:04:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owPO1-0008Qm-Fh for guix-patches@gnu.org; Sat, 19 Nov 2022 10:04:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59386] [PATCH 10/11] gnu: Add volk. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Nov 2022 15:04:05 +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 Received: via spool by 59386-submit@debbugs.gnu.org id=B59386.166887022932314 (code B ref 59386); Sat, 19 Nov 2022 15:04:05 +0000 Received: (at 59386) by debbugs.gnu.org; 19 Nov 2022 15:03:49 +0000 Received: from localhost ([127.0.0.1]:40951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owPNl-0008P7-5k for submit@debbugs.gnu.org; Sat, 19 Nov 2022 10:03:49 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:36825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owPNc-0008OJ-79 for 59386@debbugs.gnu.org; Sat, 19 Nov 2022 10:03:40 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id AC57432001C6 for <59386@debbugs.gnu.org>; Sat, 19 Nov 2022 10:03:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 19 Nov 2022 10:03:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1668870214; x=1668956614; bh=IG NF9C+EgBu32sOHkT0vs8o4RJOOFtSodJNrNxfX2sk=; b=sXsNbiIDLMi+MVjVgm mjuHQdETlQ7tDZaRzKMTi4vdH89E4rN4C2x1Tixja6hNGF8XNJOihBLo01yDfyfU 5+nHngz+oHzKqJqHDjqnKpD+GV21vGwD1Qo2oJ9E+ZjzM2NsTxKH0Wjbb4Fg5fPF xCwz/gIkxu01NS0jOhNgtFoJ7dRKwUOFPHg2gmPS4IPBXcrofUK/9UyFgj9HOeGQ 26WaDbORcyMrqUOVEiJpcky5iVQxgxeKVJ7FrDGyiJIaub2BQ+SiewbMzKyi8eWv tMhGVdaFAPoPAuIOLucMbNwK/MgxqLB4aWuOfA2bZPhjsL4ZcO3EctSegS/7wLIJ yaIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references: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=1668870214; x=1668956614; bh=IGNF9C+EgBu32 sOHkT0vs8o4RJOOFtSodJNrNxfX2sk=; b=s4NJ87UQ/iil0Wm5guM7WexSq38Uf rSdjF4YzAC+9dxMFUf++ERAYnsGf6d3BQrMZ23u9IYcvGMqGWJ6lRomxGoZYIG7T KqFfzHdl8cCzTucJyBrtMV+5cCnTcqq/QXoQghL5N10mvwkXK5/QjZFIVGhYq126 BH0v1ZDhzvn7Pq5HBusg70ZEx6qrVn8getj1LIsPS71OZoAtiQCK6NiTrQuV4opt iMJuETAHYeGNQb3oVl/7Hqxnq/VZkHIU5j+EiMwwHvnMndj4Yxh/fnaUoVmge+lZ 9AJvYZLy363piJuXlAfB0naIx1iUaZnlCTQggkLA5im5Y36IlWsnGIkTg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrhedvgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthht vghrnhephfejvdefkeekhfehieevueeufedtjeevjeelueetleduleegtdeuteefhfduue dvnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedu necurfgrrhgrmhepmhgrihhlfhhrohhmpehisegurghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <59386@debbugs.gnu.org>; Sat, 19 Nov 2022 10:03:32 -0500 (EST) From: dan Date: Sat, 19 Nov 2022 23:02:47 +0800 Message-Id: <20221119150248.19150-10-i@dan.games> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119150248.19150-1-i@dan.games> References: <20221119150248.19150-1-i@dan.games> MIME-Version: 1.0 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=1668870296; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=IGNF9C+EgBu32sOHkT0vs8o4RJOOFtSodJNrNxfX2sk=; b=CTp6s44fNx+5xIGDfueeRotuqSvxH1MJ8cnW2gsCNeVsi0hUrJE64kOgjt5tChkC4wjtYl Wd6oCFTsbqfNIo3lJXqJsrKTv1VuG/KClM2+l9TGtHEhiqQ70Ldg79Q58vwJkzYxtkdWNp sZuaNu3aOLjvbfmn4hAhbKgVuDBuIbC54EwIJ6CJngXmqbluGHkYnsI6qjNz6rNC2LAILn T9xDNR7Ms8ISU/4gu9VqQYcqAaqYQ7gvO3vTDcLVGYoK2bhiDA2w4o/l7dSdchQKOdyhkj WmrQQVtBDlc2bstSFrYyEVpgyB/d0+yjXy9e0XEFEUJs1wZqVgSmA5FW4e+ckw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668870296; a=rsa-sha256; cv=none; b=sCZsxcf4WMm/L3t74s8FaQOAEpoJ7FiN8B4IYldIpmk+IWSZb2oNJJKnTD2pUfVnDkDwX4 YRYenXkNbDPRWaMQcPT+GG60XyiAak4DX1HjSnSjuw0x0KGJgBLCAXkQMH+6ExB6uaGLxs vg9esDl56PvWMLAznZpdpr9q3LJ57lZ8PE777PZIqaqkJ18lMvil0+AKP6IN4Sq5IU+JwW 03d8h/ni6ZKYKjB0hedJZdOVT5hE0e1JQq5oA+jptOwXjhOhGcFyzRmxPTuDQypbzp9ejQ vwgZNvTJ06Mri41kMQ3Nm31YR2mxHtQecmWkU65Pmub3uCcoCmNoOu6A2w7oyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b=sXsNbiID; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=s4NJ87UQ; 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: 2.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b=sXsNbiID; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=s4NJ87UQ; 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: 5EB0A45DBC X-Spam-Score: 2.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: OtMFOz8zghhu * gnu/packages/vulkan.scm (volk): New variable. --- gnu/packages/vulkan.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 330df898e5..0e40de0e39 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -457,3 +457,36 @@ (define-public vulkan-validationlayers 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 (list "-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 to vulkan-1.dll or +statically linking 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))) -- 2.38.1