Accepting request 894910 from X11:XOrg

- update to 21.1.1
  * bugfix release
  * mostly AMD and Intel changes as usual, but also a decent amount
    of ARM fixes and more 

- Add swrast to vulkan
- Enable vulkan on %{arm} and aarch64 with: swrast, amd, 
  broadcom and freedreno

OBS-URL: https://build.opensuse.org/request/show/894910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=406
This commit is contained in:
Dominique Leuenberger 2021-05-23 21:30:43 +00:00 committed by Git OBS Bridge
commit 5398904103
8 changed files with 181 additions and 9 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu May 20 10:25:35 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- 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 <guillaume.gardet@opensuse.org>
- 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 <sndirsch@suse.com>

View File

@ -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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu May 20 10:25:35 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- 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 <guillaume.gardet@opensuse.org>
- 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 <sndirsch@suse.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0128f10e22970d3aed3d1034003731f94623015cd9797c07151417649c1b1ff8
size 15145196

Binary file not shown.

3
mesa-21.1.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eec25ea379054e8911bc5de816aeb50f581b5b708414725003d2f00386b38dd2
size 15169732

BIN
mesa-21.1.1.tar.xz.sig Normal file

Binary file not shown.