From c0d7f48203e0d8c86f0401547ee7128b80ccf551 Mon Sep 17 00:00:00 2001 From: meme <18178821+meme@users.noreply.github.com> Date: Sat, 22 May 2021 13:41:50 -0400 Subject: [PATCH] mesa: update aarch64 patch On Xorg applications like Firefox, this buffer increase is not adequate; it continues to artefact. Increase the size to 1024 * 1024. --- ...01-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch | 2 +- srcpkgs/mesa/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch index 6130310380f..47e138d57a3 100644 --- a/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch +++ b/srcpkgs/mesa/patches/0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch @@ -28,7 +28,7 @@ index 6b58aebee2d..c9e983367a0 100644 res->domains = RADEON_DOMAIN_GTT; + +#if defined(PIPE_ARCH_AARCH64) -+ if (size <= 1024 * 512) ++ if (size <= 1024 * 1024) + res->domains = RADEON_DOMAIN_GTT; +#endif } diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template index 45da25b78dd..414c918c7ba 100644 --- a/srcpkgs/mesa/template +++ b/srcpkgs/mesa/template @@ -1,7 +1,7 @@ # Template file for 'mesa' pkgname=mesa version=21.0.3 -revision=3 +revision=4 wrksrc="mesa-${version}" build_style=meson configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled