From 543234073bf65702ce1d52ce7e596b2d22c189dacaffb41d9add649e786fdb12 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 19 Oct 2024 18:11:33 +0000 Subject: [PATCH] - 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 --- Mesa.changes | 6 ++++++ Mesa.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index c01f201..bc91934 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 18 11:00:17 UTC 2024 - Andreas Färber + +- 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 diff --git a/Mesa.spec b/Mesa.spec index 3c127c9..ec01620 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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