- update to 20.1.0

* first release for the 20.1 branch
  * One already known issue is that Unreal Engine 4 has a bug in
    its usage of glDrawRangeElements() causing it to be called
    with a number of vertices in place of the `end` parameter,
    that was recently revealed. This is an annoying bug that we 
    haven't worked around yet. For more details:
    https://gitlab.freedesktop.org/mesa/mesa/-/issues/2917
- supersedes U_add-lifetime-dse-fix.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=962
This commit is contained in:
Stefan Dirsch 2020-06-03 14:28:40 +00:00 committed by Git OBS Bridge
parent e595e9fd26
commit 10f764d0bf
10 changed files with 97 additions and 59 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jun 3 10:43:06 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- update to 20.1.0
* first release for the 20.1 branch
* One already known issue is that Unreal Engine 4 has a bug in
its usage of glDrawRangeElements() causing it to be called
with a number of vertices in place of the `end` parameter,
that was recently revealed. This is an annoying bug that we
haven't worked around yet. For more details:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/2917
- supersedes U_add-lifetime-dse-fix.patch
-------------------------------------------------------------------
Wed Jun 3 10:28:03 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -46,7 +46,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 20.0.7
%define _version 20.1.0
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -114,7 +114,7 @@
%endif
Name: Mesa-drivers
Version: 20.0.7
Version: 20.1.0
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -122,14 +122,13 @@ Group: System/Libraries
URL: http://www.mesa3d.org
#Git-Clone: git://anongit.freedesktop.org/mesa/mesa
Source: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz
Source1: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz.sig
Source1: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz.asc
Source2: baselibs.conf
Source3: README.updates
Source4: manual-pages.tar.bz2
Source6: %{name}-rpmlintrc
Source7: Mesa.keyring
Patch2: n_add-Mesa-headers-again.patch
Patch3: U_add-lifetime-dse-fix.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
Patch58: u_dep_xcb.patch
@ -737,7 +736,6 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%patch2 -p1
%patch3 -p1
%patch54 -p1
%patch58 -p1

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jun 3 10:43:06 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- update to 20.1.0
* first release for the 20.1 branch
* One already known issue is that Unreal Engine 4 has a bug in
its usage of glDrawRangeElements() causing it to be called
with a number of vertices in place of the `end` parameter,
that was recently revealed. This is an annoying bug that we
haven't worked around yet. For more details:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/2917
- supersedes U_add-lifetime-dse-fix.patch
-------------------------------------------------------------------
Wed Jun 3 10:28:03 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -6103,3 +6103,59 @@ xcpz2ss3mMU5+YnY69T1EBemZIMcE17wPo7ROvT8x1fG2fnPwHqJieQFCMGKLW29
5peUY2OiHdLgaepbqWrB2Xxy+BY+
=rSFv
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBDv2hCsRBACiTQzEYU5d8dawo1s9RxJdKBRudYBtQE2YO4/W8IvSaDm03ldb
+xpUDjY7Pt0D/H7q2VXdaRTIp308UKY5VHl3kM7S1wn4/4JRw8DqjATHAUPxo2E2
qICd9kFepSHavnnjJV+9JuiuLlPRN7NYehuYfSI06XzguYfzmSdBMLfjlwCg0eXR
5D6BHX2a4T38+sl53iQxY40D/0Fu0LtR40SWarz/ri1uGZxNUIJdOFS36NH8gjmA
hehohpGQIVISi6FddHXtQx5iBuoh4K94hNMZwJwXt1E3rEpqY4+U8E9d26q22Uhy
qy95cIsSSTrMWTpD4omS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mfMBljaL8R/cv5DI1Ss3bnc0et8kpfyTJc0
eJbL/6VaF+CCxRzFvBoUuAZ0NHd/qvsi/Deipr7JZtR4mGygMs9/Fzc8RqDlurmv
2Mk06crP5O335CUAVyQytczCrZ3IxZKY6FC1l9555F2cycpNHh+xG83hA38rRKU2
HKZTXmqhNErF7uczm7ILI44ehDXeXy4lm1rjOzzUIlHzcttNx3nVGRF7HWXGp5o6
TUSjJbuRtKFCZ7D3XWhLCiEXobZPSEQPl/kt1Gf2In6WVoqYtU/X3mDQJHFDFDpc
7if9ypLWiThVDRVtd6lFxwmO98M8P5WN3eOImk0LcHZIg7FxKosilc+Ha4Ph4ibq
4V+ST0nLnotuf/l99DxLoObiSUQpWrkBDQQ79oQtEAQApKFNpAraUwGZC6to2MUR
nhSfyzWf2++zZF2+sTurSimYdxrlP2A6JPyYuuUMnNfAVENB+qo/ITqP77LsQKm5
h5w58xUjTtmpqXKDih3VyaVTaVNB1L4OYZC6hUtABnwNsK7bFVA0NxdgIYfdvzcX
pYFT+wI23cYfhoI0j343Yv8ABA0D/irDmJvDtOkUf6O0Qw7HgNDBOadXUYPQrO24
3uZW7sVFDmt1wHVh6aDcIObTgk/058kyb3JV25VEf0Gr0TGnx1DKuzUyf5LjnY+n
kLEJWu/G6RXm4Me3NVnO05ll+AYDwZdkvFAVFCve1P1ZGe6zBKrRVViRAxaPlXUS
G4VV7WWciEYEGBECAAYFAjv2hC0ACgkQFqDwuw3YYW2AkwCgmlj6kgW8TKs2FcSo
25RFpZC/Y84AoKVev7TQlZWVWOCMG3BMplZQwQzl
=/3PQ
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -45,7 +45,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 20.0.7
%define _version 20.1.0
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -113,7 +113,7 @@
%endif
Name: Mesa
Version: 20.0.7
Version: 20.1.0
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -121,14 +121,13 @@ Group: System/Libraries
URL: http://www.mesa3d.org
#Git-Clone: git://anongit.freedesktop.org/mesa/mesa
Source: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz
Source1: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz.sig
Source1: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz.asc
Source2: baselibs.conf
Source3: README.updates
Source4: manual-pages.tar.bz2
Source6: %{name}-rpmlintrc
Source7: Mesa.keyring
Patch2: n_add-Mesa-headers-again.patch
Patch3: U_add-lifetime-dse-fix.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
Patch58: u_dep_xcb.patch
@ -736,7 +735,6 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%patch2 -p1
%patch3 -p1
%patch54 -p1
%patch58 -p1

View File

@ -1,46 +0,0 @@
From 9a72afaea7bf69f07623cae1af99f71be64688ba Mon Sep 17 00:00:00 2001
From: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Date: Tue, 19 May 2020 20:35:49 +0300
Subject: [PATCH] meson: Disable GCC's dead store elimination for memory
zeroing custom new
Some classes use custom new operator which zeroes memory, however gcc does
aggressive dead-store elimination which threats all writes to the memory
before the constructor as "dead stores".
For now we disable this optimization.
The new operators in question are declared via:
DECLARE_RZALLOC_CXX_OPERATORS
DECLARE_LINEAR_ZALLOC_CXX_OPERATORS
The issue was found with lto builds, however there is no guarantee that
it didn't happen with ordinary ones.
CC: <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2977
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1358
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
---
meson.build | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meson.build b/meson.build
index 1a207842c55..3d4ea165c99 100644
--- a/meson.build
+++ b/meson.build
@@ -980,6 +980,11 @@ else
'-fno-math-errno',
'-fno-trapping-math',
'-Qunused-arguments',
+ # Some classes use custom new operator which zeroes memory, however
+ # gcc does aggressive dead-store elimination which threats all writes
+ # to the memory before the constructor as "dead stores".
+ # For now we disable this optimization.
+ '-flifetime-dse=1',
]
# MinGW chokes on format specifiers and I can't get it all working
if not (cc.get_id() == 'gcc' and host_machine.system() == 'windows')
--
2.26.2

View File

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

Binary file not shown.

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

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

6
mesa-20.1.0.tar.xz.asc Normal file
View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQQ4vpH8xyVct8TrURgWoPC7DdhhbQUCXteufgAKCRAWoPC7Ddhh
beP8AKC7U9mksMEVdN1HL4MY6BoaXqTHHACeOn2Kd6qcZ3/eviVTNTnrJe5ATCY=
=xG3A
-----END PGP SIGNATURE-----