Adapt for adreno

Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
This commit is contained in:
Xilin Wu 2023-12-16 15:03:24 +08:00
parent e34eb6c3fb
commit 633a88ce57

View File

@ -10,11 +10,11 @@
# Contributor: Antti "Tera" Oja <antti.bofh@gmail.com> # Contributor: Antti "Tera" Oja <antti.bofh@gmail.com>
# Contributor: Diego Jose <diegoxter1006@gmail.com> # Contributor: Diego Jose <diegoxter1006@gmail.com>
pkgname=mesa-git pkgname=mesa-qcom-git
pkgdesc="an open-source implementation of the OpenGL specification, git version" pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=24.0.0_devel.181206.ec43c20182b.d41d8cd pkgver=24.0.0_devel.181992.9d162de9a05.d41d8cd
pkgrel=1 pkgrel=1
arch=('x86_64') arch=('aarch64')
makedepends=('git' 'python-mako' 'xorgproto' makedepends=('git' 'python-mako' 'xorgproto'
'libxml2' 'libvdpau' 'libva' 'elfutils' 'libxrandr' 'libxml2' 'libvdpau' 'libva' 'elfutils' 'libxrandr'
'wayland-protocols' 'meson' 'ninja' 'glslang' 'directx-headers' 'wayland-protocols' 'meson' 'ninja' 'glslang' 'directx-headers'
@ -123,14 +123,13 @@ build () {
-D b_ndebug=true \ -D b_ndebug=true \
-D b_lto=false \ -D b_lto=false \
-D platforms=x11,wayland \ -D platforms=x11,wayland \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 \ -D gallium-drivers=virgl,svga,swrast,zink,d3d12,freedreno \
-D vulkan-drivers=amd,intel,swrast,virtio,intel_hasvk \ -D vulkan-drivers=swrast,virtio,freedreno \
-D vulkan-layers=device-select,overlay \ -D vulkan-layers=device-select,overlay \
-D dri3=enabled \ -D dri3=enabled \
-D egl=enabled \ -D egl=enabled \
-D gallium-extra-hud=true \ -D gallium-extra-hud=true \
-D gallium-nine=true \ -D gallium-nine=true \
-D gallium-omx=bellagio \
-D gallium-opencl=disabled \ -D gallium-opencl=disabled \
-D gallium-va=enabled \ -D gallium-va=enabled \
-D gallium-vdpau=enabled \ -D gallium-vdpau=enabled \