From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] mesalib: version bump 21.0.3 -> 21.1.1
Date: Thu, 20 May 2021 16:06:34 +0200 [thread overview]
Message-ID: <20210520140634.27681-1-p.zabel@pengutronix.de> (raw)
- Make Vulkan layers configurable.
- The license file was modified trivially in commit 2f42c21221cf
("docs: Xorg -> X.Org")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
rules/mesalib.in | 14 ++++++++++++++
rules/mesalib.make | 14 +++++++++-----
2 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/rules/mesalib.in b/rules/mesalib.in
index 86981f8d3923..7c0b99f5a895 100644
--- a/rules/mesalib.in
+++ b/rules/mesalib.in
@@ -209,6 +209,20 @@ config MESALIB_VULKAN_SWRAST
select MESALIB_DRI_SWRAST
prompt "Software Rasterizer"
+comment "Vulkan layers"
+
+config MESALIB_VULKAN_DEVICE_SELECT
+ bool
+ prompt "Device select layer"
+
+config MESALIB_VULKAN_INTEL_NULLHW
+ bool
+ prompt "Intel nullhw layer"
+
+config MESALIB_VULKAN_OVERLAY
+ bool
+ prompt "Overlay layer"
+
config MESALIB_ZSTD
bool
prompt "use Zstandard for shader cache compression"
diff --git a/rules/mesalib.make b/rules/mesalib.make
index 5d8f3aad308d..f86da31f221a 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
#
# Paths and names
#
-MESALIB_VERSION := 21.0.3
-MESALIB_MD5 := 3331ef6d043768b4f3b33283a6dd44d8
+MESALIB_VERSION := 21.1.1
+MESALIB_MD5 := 69dc5839192f75991c5f5162d351587f
MESALIB := mesa-$(MESALIB_VERSION)
MESALIB_SUFFIX := tar.xz
MESALIB_URL := \
@@ -24,7 +24,7 @@ MESALIB_SOURCE := $(SRCDIR)/$(MESALIB).$(MESALIB_SUFFIX)
MESALIB_DIR := $(BUILDDIR)/Mesa-$(MESALIB_VERSION)
MESALIB_LICENSE := MIT
MESALIB_LICENSE_FILES := \
- file://docs/license.rst;md5=9aa1bc48c9826ad9fdb16661f6930496
+ file://docs/license.rst;md5=17a4ea65de7a9ab42437f3131e616a7f
# ----------------------------------------------------------------------------
# Prepare
@@ -97,6 +97,10 @@ MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_SWRAST) += swrast
MESALIB_VULKAN_LIBS-y = $(subst amd,radeon,$(subst swrast,lvp,$(MESALIB_VULKAN_DRIVERS-y)))
+MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_DEVICE_SELECT) += device-select
+MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_INTEL_NULLHW) += intel-nullhw
+MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_OVERLAY) += overlay
+
MESALIB_LIBS-y := libglapi
MESALIB_LIBS-$(PTXCONF_MESALIB_GLX) += libGL
MESALIB_LIBS-$(PTXCONF_MESALIB_GLES1) += libGLESv1_CM
@@ -114,6 +118,7 @@ MESALIB_CONF_OPT := \
-Dbuild-aco-tests=false \
-Dbuild-tests=false \
-Dd3d-drivers-path=/usr/lib/d3d \
+ -Ddraw-use-llvm=true \
-Ddri-drivers=$(subst $(space),$(comma),$(MESALIB_DRI_DRIVERS-y)) \
-Ddri-drivers-path=/usr/lib/dri \
-Ddri-search-path=/usr/lib/dri \
@@ -169,10 +174,9 @@ MESALIB_CONF_OPT := \
-Dva-libs-path=/usr/lib/dri \
-Dvalgrind=disabled \
-Dvdpau-libs-path=/usr/lib/vdpau \
- -Dvulkan-device-select-layer=false \
-Dvulkan-drivers=$(subst $(space),$(comma),$(MESALIB_VULKAN_DRIVERS-y)) \
-Dvulkan-icd-dir=/etc/vulkan/icd.d \
- -Dvulkan-overlay-layer=false \
+ -Dvulkan-layers=$(subst $(space),$(comma),$(MESALIB_VULKAN_LAYERS-y)) \
-Dxlib-lease=$(call ptx/endis, PTXCONF_MESALIB_EGL_X11)d \
-Dxvmc-libs-path=/usr/lib \
-Dzlib=enabled \
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-05-20 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 14:06 Philipp Zabel [this message]
2021-05-21 11:29 ` Michael Olbrich
2021-05-27 6:45 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210520140634.27681-1-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox