Gallium Driver d3d12 added.

This commit is contained in:
Reza Jahanbakhshi 2022-08-11 17:09:02 +02:00
parent 8c9b5a3a85
commit 0edb6eaab0
2 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,6 @@
pkgbase = mesa-git pkgbase = mesa-git
pkgdesc = an open-source implementation of the OpenGL specification, git version pkgdesc = an open-source implementation of the OpenGL specification, git version
pkgver = 22.2.0_devel.156171.7bb62d9dd859.d41d8cd98f00b204e9800998ecf8427e pkgver = 22.2.0_devel.157447.cb993654033a.d41d8cd98f00b204e9800998ecf8427e
pkgrel = 1 pkgrel = 1
url = https://www.mesa3d.org url = https://www.mesa3d.org
arch = x86_64 arch = x86_64
@ -18,6 +18,7 @@ pkgbase = mesa-git
makedepends = meson makedepends = meson
makedepends = ninja makedepends = ninja
makedepends = glslang makedepends = glslang
makedepends = directx-headers
makedepends = libclc makedepends = libclc
makedepends = llvm=14.0.6 makedepends = llvm=14.0.6
makedepends = clang=14.0.6 makedepends = clang=14.0.6

View File

@ -12,12 +12,12 @@
pkgname=mesa-git pkgname=mesa-git
pkgdesc="an open-source implementation of the OpenGL specification, git version" pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=22.2.0_devel.156171.7bb62d9dd859.d41d8cd98f00b204e9800998ecf8427e pkgver=22.3.0_devel.157974.50e6a80b5ea5.d41d8cd98f00b204e9800998ecf8427e
pkgrel=1 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('git' 'python-mako' 'xorgproto' makedepends=('git' 'python-mako' 'xorgproto'
'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libxrandr' 'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libxrandr'
'wayland-protocols' 'meson' 'ninja' 'glslang' 'libclc') 'wayland-protocols' 'meson' 'ninja' 'glslang' 'directx-headers' 'libclc')
depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf' depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc' 'vulkan-icd-loader' 'zstd' 'expat') 'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc' 'vulkan-icd-loader' 'zstd' 'expat')
optdepends=('opengl-man-pages: for the OpenGL API man pages') optdepends=('opengl-man-pages: for the OpenGL API man pages')
@ -116,18 +116,16 @@ prepare() {
build () { build () {
meson setup mesa _build \ meson setup mesa _build \
-D b_ndebug=true \ -D b_ndebug=true \
-D buildtype=plain \
--wrap-mode=nofallback \
-D prefix=/usr \
-D sysconfdir=/etc \
-D platforms=x11,wayland \ -D platforms=x11,wayland \
-D gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl,iris,zink,crocus \ -D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,crocus,zink,d3d12 \
-D vulkan-drivers=amd,intel,swrast,virtio-experimental \ -D vulkan-drivers=amd,intel,swrast,virtio-experimental \
-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-omx=bellagio \
-D gallium-opencl=icd \
-D gallium-va=enabled \ -D gallium-va=enabled \
-D gallium-vdpau=enabled \ -D gallium-vdpau=enabled \
-D gallium-xa=enabled \ -D gallium-xa=enabled \
@ -142,13 +140,15 @@ build () {
-D lmsensors=enabled \ -D lmsensors=enabled \
-D osmesa=true \ -D osmesa=true \
-D shared-glapi=enabled \ -D shared-glapi=enabled \
-D gallium-opencl=icd \ -D microsoft-clc=disabled \
-D valgrind=disabled \ -D valgrind=disabled \
-D vulkan-layers=device-select,overlay \
-D tools=[] \ -D tools=[] \
-D zstd=enabled \ -D zstd=enabled \
-D microsoft-clc=disabled \ -D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc -D buildtype=plain \
--wrap-mode=nofallback \
-D prefix=/usr \
-D sysconfdir=/etc
meson configure _build meson configure _build