- Update to version 23.0.1

* bug fix release which fixes bugs found since Mesa 23.0.0
- supersedes U_glx-fix-indirect-initialization-crash.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1202
This commit is contained in:
Stefan Dirsch 2023-03-26 22:26:24 +00:00 committed by Git OBS Bridge
parent ab6befea69
commit 5165db4ffe
7 changed files with 12 additions and 62 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 26 20:58:34 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 23.0.1
* bug fix release which fixes bugs found since Mesa 23.0.0
- supersedes U_glx-fix-indirect-initialization-crash.patch
-------------------------------------------------------------------
Tue Mar 14 11:53:20 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -42,7 +42,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 23.0.0
%define _version 23.0.1
%define with_opencl 0
%define with_rusticl 0
%define with_vulkan 0
@ -123,7 +123,7 @@
%endif
Name: Mesa%{psuffix}
Version: 23.0.0
Version: 23.0.1
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -139,7 +139,6 @@ Source6: Mesa-rpmlintrc
Source7: Mesa.keyring
Patch2: n_add-Mesa-headers-again.patch
# To address https://gitlab.freedesktop.org/mesa/mesa/-/issues/8393
Patch3: U_glx-fix-indirect-initialization-crash.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
Patch58: u_dep_xcb.patch
@ -783,7 +782,6 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%patch2 -p1
%patch3 -p1
# no longer needed since gstreamer-plugins-vaapi 1.18.4
%if 0%{?suse_version} < 1550
%patch54 -p1

View File

@ -1,55 +0,0 @@
From 1eab7e69e2ba84244f551f6901f4307a687a9504 Mon Sep 17 00:00:00 2001
From: Illia Polishchuk <illia.a.polishchuk@globallogic.com>
Date: Tue, 28 Feb 2023 16:07:59 +0200
Subject: [PATCH] glx: fix indirect initialization crash
Fixes: b090246a ("glx: Only compute client GL extensions for indirect contexts")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8393
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Illia Polishchuk <illia.a.polishchuk@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21591>
---
src/glx/glxext.c | 9 ++++++++-
src/glx/indirect_glx.c | 1 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 755a75ab568..4b3496b5a14 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -813,10 +813,17 @@ AllocAndFetchScreenConfigs(Display * dpy, struct glx_display * priv)
if (psc == NULL)
psc = applegl_create_screen(i, priv);
#else
+ bool indirect = false;
if (psc == NULL)
- psc = indirect_create_screen(i, priv);
+ {
+ psc = indirect_create_screen(i, priv);
+ indirect = true;
+ }
#endif
priv->screens[i] = psc;
+
+ if(indirect) /* Load extensions required only for indirect glx */
+ glxSendClientInfo(priv, i);
}
SyncHandle();
return GL_TRUE;
diff --git a/src/glx/indirect_glx.c b/src/glx/indirect_glx.c
index dc3464fc99e..abe561f700b 100644
--- a/src/glx/indirect_glx.c
+++ b/src/glx/indirect_glx.c
@@ -365,7 +365,6 @@ indirect_create_screen(int screen, struct glx_display * priv)
return NULL;
glx_screen_init(psc, screen, priv);
- glxSendClientInfo(priv, screen);
psc->vtable = &indirect_screen_vtable;
return psc;
--
2.35.3

View File

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

Binary file not shown.

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

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

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

Binary file not shown.