- Enable intel Vulkan backends on riscv64 (boo#1231756)

- Enable iris Gallium backend on riscv64, Power and on Arm, too

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1338
This commit is contained in:
Stefan Dirsch 2024-10-19 18:11:33 +00:00 committed by Git OBS Bridge
parent 0efc1cf7e5
commit 543234073b
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 18 11:00:17 UTC 2024 - Andreas Färber <afaerber@suse.de>
- Enable intel Vulkan backends on riscv64 (boo#1231756)
- Enable iris Gallium backend on riscv64, Power and on Arm, too
-------------------------------------------------------------------
Thu Oct 17 10:16:01 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -92,7 +92,7 @@
%endif
%ifarch riscv64
%define with_vulkan 1
%define vulkan_drivers swrast,amd
%define vulkan_drivers swrast,amd,intel,intel_hasvk
%endif
%endif
@ -275,7 +275,7 @@ BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
BuildRequires: pkgconfig(libelf)
%endif
%ifarch x86_64 %{ix86} aarch64 %{arm}
%ifarch x86_64 %{ix86} aarch64 %{arm} riscv64
BuildRequires: libelf-devel
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.75
%else
@ -946,10 +946,10 @@ egl_platforms=x11,wayland
-Dgallium-d3d12-graphics=enabled \
%else
%ifarch %{arm} aarch64
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,freedreno,vc4,etnaviv,lima,panfrost,v3d,svga,tegra,zink \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,iris,freedreno,vc4,etnaviv,lima,panfrost,v3d,svga,tegra,zink \
%else
%ifarch ppc64 ppc64le riscv64
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,zink \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,iris,zink \
%else
-Dgallium-drivers=softpipe,llvmpipe \
%endif
@ -1303,7 +1303,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%endif
%if 0%{with_vulkan}
%ifarch %{ix86} x86_64 aarch64 %{arm}
%ifarch %{ix86} x86_64 aarch64 %{arm} riscv64
%files -n libvulkan_intel
%dir %{_datadir}/vulkan
%dir %{_datadir}/vulkan/icd.d