- 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:
parent
0efc1cf7e5
commit
543234073b
@ -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>
|
Thu Oct 17 10:16:01 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
10
Mesa.spec
10
Mesa.spec
@ -92,7 +92,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%define with_vulkan 1
|
%define with_vulkan 1
|
||||||
%define vulkan_drivers swrast,amd
|
%define vulkan_drivers swrast,amd,intel,intel_hasvk
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
|
|||||||
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
|
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
|
||||||
BuildRequires: pkgconfig(libelf)
|
BuildRequires: pkgconfig(libelf)
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64 %{ix86} aarch64 %{arm}
|
%ifarch x86_64 %{ix86} aarch64 %{arm} riscv64
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.75
|
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.75
|
||||||
%else
|
%else
|
||||||
@ -946,10 +946,10 @@ egl_platforms=x11,wayland
|
|||||||
-Dgallium-d3d12-graphics=enabled \
|
-Dgallium-d3d12-graphics=enabled \
|
||||||
%else
|
%else
|
||||||
%ifarch %{arm} aarch64
|
%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
|
%else
|
||||||
%ifarch ppc64 ppc64le riscv64
|
%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
|
%else
|
||||||
-Dgallium-drivers=softpipe,llvmpipe \
|
-Dgallium-drivers=softpipe,llvmpipe \
|
||||||
%endif
|
%endif
|
||||||
@ -1303,7 +1303,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{with_vulkan}
|
%if 0%{with_vulkan}
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm}
|
%ifarch %{ix86} x86_64 aarch64 %{arm} riscv64
|
||||||
%files -n libvulkan_intel
|
%files -n libvulkan_intel
|
||||||
%dir %{_datadir}/vulkan
|
%dir %{_datadir}/vulkan
|
||||||
%dir %{_datadir}/vulkan/icd.d
|
%dir %{_datadir}/vulkan/icd.d
|
||||||
|
Loading…
Reference in New Issue
Block a user