diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 90d1be4..10a2519 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu May 20 10:25:35 UTC 2021 - Stefan Dirsch + +- update to 21.1.1 + * bugfix release + * mostly AMD and Intel changes as usual, but also a decent amount + of ARM fixes and more + +------------------------------------------------------------------- +Wed May 19 08:29:07 UTC 2021 - Guillaume GARDET + +- Add swrast to vulkan +- Enable vulkan on %{arm} and aarch64 with: swrast, amd, + broadcom and freedreno + ------------------------------------------------------------------- Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 288757b..fe02d00 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -41,7 +41,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 21.1.0 +%define _version 21.1.1 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -70,6 +70,11 @@ %define with_opencl 1 %ifarch %{ix86} x86_64 %define with_vulkan 1 + %define vulkan_drivers swrast,amd,intel + %endif + %ifarch %{arm} aarch64 + %define with_vulkan 1 + %define vulkan_drivers swrast,amd,broadcom,freedreno %endif %endif @@ -109,7 +114,7 @@ %endif Name: Mesa-drivers -Version: 21.1.0 +Version: 21.1.1 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -650,11 +655,41 @@ Supplements: xf86-video-ati %description -n libvulkan_radeon This package contains the Vulkan parts for Mesa. +%package -n libvulkan_lvp +Summary: Mesa vulkan driver for LVP +Group: System/Libraries + +%description -n libvulkan_lvp +This package contains the Vulkan parts for Mesa. + +%ifarch %{arm} aarch64 +%package -n libvulkan_broadcom +Summary: Mesa vulkan driver for Broadcom +Group: System/Libraries + +%description -n libvulkan_broadcom +This package contains the Vulkan parts for Mesa. + +%package -n libvulkan_freedreno +Summary: Mesa vulkan driver for Freedreno +Group: System/Libraries + +%description -n libvulkan_freedreno +This package contains the Vulkan parts for Mesa. +%endif + %package -n Mesa-libVulkan-devel Summary: Mesa's Vulkan development files Group: Development/Libraries/C and C++ +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-libVulkan-devel This package contains the development files for Mesa's Vulkan implementation. @@ -662,8 +697,15 @@ This package contains the development files for Mesa's Vulkan implementation. %package -n Mesa-vulkan-device-select Summary: Vulkan layer to select Vulkan devices provided by Mesa Group: System/Libraries +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-vulkan-device-select This package contains the VK_MESA_device_select Vulkan layer @@ -671,8 +713,15 @@ This package contains the VK_MESA_device_select Vulkan layer %package -n Mesa-vulkan-overlay Summary: Mesa Vulkan Overlay layer Group: System/Libraries +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-vulkan-overlay This package contains the VK_MESA_Overlay Vulkan layer @@ -777,7 +826,7 @@ egl_platforms=x11,wayland -Dgallium-xa=true \ %endif %if 0%{with_vulkan} - -Dvulkan-drivers=intel,amd \ + -Dvulkan-drivers=%{?vulkan_drivers} \ -Dvulkan-layers=device-select,overlay \ %else -Dvulkan-drivers= \ @@ -1120,11 +1169,13 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %endif %if 0%{with_vulkan} +%ifarch %{ix86} x86_64 %files -n libvulkan_intel %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/icd.d %{_datadir}/vulkan/icd.d/intel_icd.*.json %{_libdir}/libvulkan_intel.so +%endif %files -n libvulkan_radeon %{_libdir}/libvulkan_radeon.so @@ -1132,6 +1183,26 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %dir %{_datadir}/vulkan/icd.d %{_datadir}/vulkan/icd.d/radeon_icd.*.json +%files -n libvulkan_lvp +%{_libdir}/libvulkan_lvp.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/lvp_icd.*.json + +%ifarch %{arm} aarch64 +%files -n libvulkan_broadcom +%{_libdir}/libvulkan_broadcom.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/broadcom_icd.*.json + +%files -n libvulkan_freedreno +%{_libdir}/libvulkan_freedreno.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/freedreno_icd.*.json +%endif + %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan diff --git a/Mesa.changes b/Mesa.changes index 90d1be4..10a2519 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu May 20 10:25:35 UTC 2021 - Stefan Dirsch + +- update to 21.1.1 + * bugfix release + * mostly AMD and Intel changes as usual, but also a decent amount + of ARM fixes and more + +------------------------------------------------------------------- +Wed May 19 08:29:07 UTC 2021 - Guillaume GARDET + +- Add swrast to vulkan +- Enable vulkan on %{arm} and aarch64 with: swrast, amd, + broadcom and freedreno + ------------------------------------------------------------------- Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index adcfec1..4363800 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -40,7 +40,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 21.1.0 +%define _version 21.1.1 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -69,6 +69,11 @@ %define with_opencl 1 %ifarch %{ix86} x86_64 %define with_vulkan 1 + %define vulkan_drivers swrast,amd,intel + %endif + %ifarch %{arm} aarch64 + %define with_vulkan 1 + %define vulkan_drivers swrast,amd,broadcom,freedreno %endif %endif @@ -108,7 +113,7 @@ %endif Name: Mesa -Version: 21.1.0 +Version: 21.1.1 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -649,11 +654,41 @@ Supplements: xf86-video-ati %description -n libvulkan_radeon This package contains the Vulkan parts for Mesa. +%package -n libvulkan_lvp +Summary: Mesa vulkan driver for LVP +Group: System/Libraries + +%description -n libvulkan_lvp +This package contains the Vulkan parts for Mesa. + +%ifarch %{arm} aarch64 +%package -n libvulkan_broadcom +Summary: Mesa vulkan driver for Broadcom +Group: System/Libraries + +%description -n libvulkan_broadcom +This package contains the Vulkan parts for Mesa. + +%package -n libvulkan_freedreno +Summary: Mesa vulkan driver for Freedreno +Group: System/Libraries + +%description -n libvulkan_freedreno +This package contains the Vulkan parts for Mesa. +%endif + %package -n Mesa-libVulkan-devel Summary: Mesa's Vulkan development files Group: Development/Libraries/C and C++ +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-libVulkan-devel This package contains the development files for Mesa's Vulkan implementation. @@ -661,8 +696,15 @@ This package contains the development files for Mesa's Vulkan implementation. %package -n Mesa-vulkan-device-select Summary: Vulkan layer to select Vulkan devices provided by Mesa Group: System/Libraries +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-vulkan-device-select This package contains the VK_MESA_device_select Vulkan layer @@ -670,8 +712,15 @@ This package contains the VK_MESA_device_select Vulkan layer %package -n Mesa-vulkan-overlay Summary: Mesa Vulkan Overlay layer Group: System/Libraries +%ifarch %{ix86} x86_64 Requires: libvulkan_intel = %{version} +%endif +Requires: libvulkan_lvp = %{version} Requires: libvulkan_radeon = %{version} +%ifarch %arm} aarch64 +Requires: libvulkan_broadcom = %{version} +Requires: libvulkan_freedreno = %{version} +%endif %description -n Mesa-vulkan-overlay This package contains the VK_MESA_Overlay Vulkan layer @@ -776,7 +825,7 @@ egl_platforms=x11,wayland -Dgallium-xa=true \ %endif %if 0%{with_vulkan} - -Dvulkan-drivers=intel,amd \ + -Dvulkan-drivers=%{?vulkan_drivers} \ -Dvulkan-layers=device-select,overlay \ %else -Dvulkan-drivers= \ @@ -1119,11 +1168,13 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %endif %if 0%{with_vulkan} +%ifarch %{ix86} x86_64 %files -n libvulkan_intel %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/icd.d %{_datadir}/vulkan/icd.d/intel_icd.*.json %{_libdir}/libvulkan_intel.so +%endif %files -n libvulkan_radeon %{_libdir}/libvulkan_radeon.so @@ -1131,6 +1182,26 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %dir %{_datadir}/vulkan/icd.d %{_datadir}/vulkan/icd.d/radeon_icd.*.json +%files -n libvulkan_lvp +%{_libdir}/libvulkan_lvp.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/lvp_icd.*.json + +%ifarch %{arm} aarch64 +%files -n libvulkan_broadcom +%{_libdir}/libvulkan_broadcom.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/broadcom_icd.*.json + +%files -n libvulkan_freedreno +%{_libdir}/libvulkan_freedreno.so +%dir %{_datadir}/vulkan +%dir %{_datadir}/vulkan/icd.d +%{_datadir}/vulkan/icd.d/freedreno_icd.*.json +%endif + %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan diff --git a/mesa-21.1.0.tar.xz b/mesa-21.1.0.tar.xz deleted file mode 100644 index fc2d8c2..0000000 --- a/mesa-21.1.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0128f10e22970d3aed3d1034003731f94623015cd9797c07151417649c1b1ff8 -size 15145196 diff --git a/mesa-21.1.0.tar.xz.sig b/mesa-21.1.0.tar.xz.sig deleted file mode 100644 index a765fb1..0000000 Binary files a/mesa-21.1.0.tar.xz.sig and /dev/null differ diff --git a/mesa-21.1.1.tar.xz b/mesa-21.1.1.tar.xz new file mode 100644 index 0000000..8ee7ffc --- /dev/null +++ b/mesa-21.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eec25ea379054e8911bc5de816aeb50f581b5b708414725003d2f00386b38dd2 +size 15169732 diff --git a/mesa-21.1.1.tar.xz.sig b/mesa-21.1.1.tar.xz.sig new file mode 100644 index 0000000..9c67a6f Binary files /dev/null and b/mesa-21.1.1.tar.xz.sig differ