Accepting request 1067439 from home:sndirsch:branches:X11:XOrg
- Update to version 23.0.0 * first stable release of 2023 - refreshed patches * n_drirc-disable-rgb10-for-chromium-on-amd.patch * n_stop-iris-flicker.patch * u_dep_xcb.patch * u_fix-build-on-ppc64le.patch - adjusted n_no-sse2-on-ix86-except-for-intel-drivers.patch - meson: added -Dxmlconfig=enabled to fix link errors (missing "-lexpat") OBS-URL: https://build.opensuse.org/request/show/1067439 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1195
This commit is contained in:
parent
0454183bb3
commit
0be01f0ffa
14
Mesa.changes
14
Mesa.changes
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 10:26:30 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 23.0.0
|
||||||
|
* first stable release of 2023
|
||||||
|
- refreshed patches
|
||||||
|
* n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
||||||
|
* n_stop-iris-flicker.patch
|
||||||
|
* u_dep_xcb.patch
|
||||||
|
* u_fix-build-on-ppc64le.patch
|
||||||
|
- adjusted n_no-sse2-on-ix86-except-for-intel-drivers.patch
|
||||||
|
- meson: added -Dxmlconfig=enabled to fix link errors
|
||||||
|
(missing "-lexpat")
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 10 14:06:56 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
Fri Feb 10 14:06:56 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
%define glamor 1
|
%define glamor 1
|
||||||
%define _name_archive mesa
|
%define _name_archive mesa
|
||||||
%define _version 22.3.5
|
%define _version 23.0.0
|
||||||
%define with_opencl 0
|
%define with_opencl 0
|
||||||
%define with_rusticl 0
|
%define with_rusticl 0
|
||||||
%define with_vulkan 0
|
%define with_vulkan 0
|
||||||
@ -123,7 +123,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: Mesa%{psuffix}
|
Name: Mesa%{psuffix}
|
||||||
Version: 22.3.5
|
Version: 23.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System for rendering 3-D graphics
|
Summary: System for rendering 3-D graphics
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -820,6 +820,7 @@ egl_platforms=x11,wayland
|
|||||||
-Degl=enabled \
|
-Degl=enabled \
|
||||||
-Dglx=disabled \
|
-Dglx=disabled \
|
||||||
-Dosmesa=false \
|
-Dosmesa=false \
|
||||||
|
-Dxmlconfig=enabled \
|
||||||
%else
|
%else
|
||||||
-Dglvnd=true \
|
-Dglvnd=true \
|
||||||
-Dgles1=enabled \
|
-Dgles1=enabled \
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3eed2ecae2bc674494566faab9fcc9beb21cd804c7ba2b59a1694f3d7236e6a9
|
|
||||||
size 17069488
|
|
Binary file not shown.
3
mesa-23.0.0.tar.xz
Normal file
3
mesa-23.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:01f3cff3763f09e0adabcb8011e4aebc6ad48f6a4dd4bae904fe918707d253e4
|
||||||
|
size 17492236
|
BIN
mesa-23.0.0.tar.xz.sig
Normal file
BIN
mesa-23.0.0.tar.xz.sig
Normal file
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
Index: mesa-22.3.2/src/util/00-mesa-defaults.conf
|
Index: mesa-23.0.0/src/util/00-mesa-defaults.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mesa-22.3.2.orig/src/util/00-mesa-defaults.conf
|
--- mesa-23.0.0.orig/src/util/00-mesa-defaults.conf
|
||||||
+++ mesa-22.3.2/src/util/00-mesa-defaults.conf
|
+++ mesa-23.0.0/src/util/00-mesa-defaults.conf
|
||||||
@@ -863,6 +863,14 @@ TODO: document the other workarounds.
|
@@ -892,6 +892,14 @@ TODO: document the other workarounds.
|
||||||
<application name="Rocket League" executable="RocketLeague">
|
<application name="Rocket League" executable="RocketLeague">
|
||||||
<option name="radeonsi_zerovram" value="true" />
|
<option name="radeonsi_zerovram" value="true" />
|
||||||
</application>
|
</application>
|
||||||
|
@ -1,42 +1,40 @@
|
|||||||
Index: mesa-22.2.0/meson.build
|
Index: mesa-23.0.0/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mesa-22.2.0.orig/meson.build
|
--- mesa-23.0.0.orig/meson.build
|
||||||
+++ mesa-22.2.0/meson.build
|
+++ mesa-23.0.0/meson.build
|
||||||
@@ -1275,35 +1275,8 @@ if host_machine.system() == 'windows'
|
@@ -1295,35 +1295,6 @@ endif
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-if host_machine.cpu_family().startswith('x86') and cc.get_argument_syntax() != 'msvc'
|
sse41_args = []
|
||||||
|
with_sse41 = false
|
||||||
|
-if host_machine.cpu_family().startswith('x86')
|
||||||
- pre_args += '-DUSE_SSE41'
|
- pre_args += '-DUSE_SSE41'
|
||||||
- with_sse41 = true
|
- with_sse41 = true
|
||||||
- sse41_args = ['-msse4.1']
|
|
||||||
-
|
-
|
||||||
- if host_machine.cpu_family() == 'x86'
|
- if cc.get_id() != 'msvc'
|
||||||
- if get_option('sse2')
|
- sse41_args = ['-msse4.1']
|
||||||
- # These settings make generated GCC code match MSVC and follow
|
-
|
||||||
- # GCC advice on https://gcc.gnu.org/wiki/FloatingPointMath#x86note
|
- if host_machine.cpu_family() == 'x86'
|
||||||
- #
|
- if get_option('sse2')
|
||||||
- # NOTE: We need to ensure stack is realigned given that we
|
- # These settings make generated GCC code match MSVC and follow
|
||||||
- # produce shared objects, and have no control over the stack
|
- # GCC advice on https://gcc.gnu.org/wiki/FloatingPointMath#x86note
|
||||||
- # alignment policy of the application. Therefore we need
|
- #
|
||||||
- # -mstackrealign or -mincoming-stack-boundary=2.
|
- # NOTE: We need to ensure stack is realigned given that we
|
||||||
- #
|
- # produce shared objects, and have no control over the stack
|
||||||
- # XXX: We could have SSE without -mstackrealign if we always used
|
- # alignment policy of the application. Therefore we need
|
||||||
- # __attribute__((force_align_arg_pointer)), but that's not
|
- # -mstackrealign or -mincoming-stack-boundary=2.
|
||||||
- # always the case.
|
- #
|
||||||
- c_args += ['-msse2', '-mfpmath=sse', '-mstackrealign']
|
- # XXX: We could have SSE without -mstackrealign if we always used
|
||||||
- else
|
- # __attribute__((force_align_arg_pointer)), but that's not
|
||||||
- # GCC on x86 (not x86_64) with -msse* assumes a 16 byte aligned stack, but
|
- # always the case.
|
||||||
- # that's not guaranteed
|
- c_args += ['-msse2', '-mfpmath=sse', '-mstackrealign']
|
||||||
- sse41_args += '-mstackrealign'
|
- else
|
||||||
|
- # GCC on x86 (not x86_64) with -msse* assumes a 16 byte aligned stack, but
|
||||||
|
- # that's not guaranteed
|
||||||
|
- sse41_args += '-mstackrealign'
|
||||||
|
- endif
|
||||||
- endif
|
- endif
|
||||||
- endif
|
- endif
|
||||||
-else
|
|
||||||
- with_sse41 = false
|
|
||||||
- sse41_args = []
|
|
||||||
-endif
|
-endif
|
||||||
+with_sse41 = false
|
|
||||||
+sse41_args = []
|
|
||||||
|
|
||||||
# Check for GCC style atomics
|
# Check for GCC style atomics
|
||||||
dep_atomic = null_dep
|
dep_atomic = null_dep
|
||||||
|
@ -4,11 +4,11 @@ Date: Tue May 24 14:47:53 2022 -0400
|
|||||||
|
|
||||||
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
||||||
|
|
||||||
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
|
Index: mesa-23.0.0/src/gallium/drivers/iris/iris_batch.c
|
||||||
index 71cb2096ad1..0a72d2a07c3 100644
|
===================================================================
|
||||||
--- a/src/gallium/drivers/iris/iris_batch.c
|
--- mesa-23.0.0.orig/src/gallium/drivers/iris/iris_batch.c
|
||||||
+++ b/src/gallium/drivers/iris/iris_batch.c
|
+++ mesa-23.0.0/src/gallium/drivers/iris/iris_batch.c
|
||||||
@@ -926,8 +926,7 @@ submit_batch(struct iris_batch *batch)
|
@@ -923,8 +923,7 @@ submit_batch(struct iris_batch *batch)
|
||||||
(struct drm_i915_gem_exec_object2) {
|
(struct drm_i915_gem_exec_object2) {
|
||||||
.handle = bo->gem_handle,
|
.handle = bo->gem_handle,
|
||||||
.offset = bo->address,
|
.offset = bo->address,
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: mesa-22.3.5/meson.build
|
Index: mesa-23.0.0/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mesa-22.3.5.orig/meson.build
|
--- mesa-23.0.0.orig/meson.build
|
||||||
+++ mesa-22.3.5/meson.build
|
+++ mesa-23.0.0/meson.build
|
||||||
@@ -2141,9 +2141,11 @@ if with_platform_x11
|
@@ -2191,9 +2191,11 @@ if with_platform_x11
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
|
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
|
||||||
@ -14,10 +14,10 @@ Index: mesa-22.3.5/meson.build
|
|||||||
dep_xcb_dri3 = dependency('xcb-dri3')
|
dep_xcb_dri3 = dependency('xcb-dri3')
|
||||||
dep_xcb_present = dependency('xcb-present')
|
dep_xcb_present = dependency('xcb-present')
|
||||||
# until xcb-dri3 has been around long enough to make a hard-dependency:
|
# until xcb-dri3 has been around long enough to make a hard-dependency:
|
||||||
Index: mesa-22.3.5/src/loader/meson.build
|
Index: mesa-23.0.0/src/loader/meson.build
|
||||||
===================================================================
|
===================================================================
|
||||||
--- mesa-22.3.5.orig/src/loader/meson.build
|
--- mesa-23.0.0.orig/src/loader/meson.build
|
||||||
+++ mesa-22.3.5/src/loader/meson.build
|
+++ mesa-23.0.0/src/loader/meson.build
|
||||||
@@ -28,7 +28,7 @@ if with_platform_x11 and with_dri3
|
@@ -28,7 +28,7 @@ if with_platform_x11 and with_dri3
|
||||||
include_directories : [inc_include, inc_src],
|
include_directories : [inc_include, inc_src],
|
||||||
dependencies : [
|
dependencies : [
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
diff -u -r mesa-21.2.3.orig/include/CL/cl_platform.h mesa-21.2.3/include/CL/cl_platform.h
|
Index: mesa-23.0.0/include/CL/cl_platform.h
|
||||||
--- mesa-21.2.3.orig/include/CL/cl_platform.h 2021-10-14 12:26:03.866376943 +0200
|
===================================================================
|
||||||
+++ mesa-21.2.3/include/CL/cl_platform.h 2021-10-14 20:37:44.557384820 +0200
|
--- mesa-23.0.0.orig/include/CL/cl_platform.h
|
||||||
@@ -356,7 +356,9 @@
|
+++ mesa-23.0.0/include/CL/cl_platform.h
|
||||||
|
@@ -385,7 +385,9 @@ typedef unsigned int cl_GLenum;
|
||||||
/* Define basic vector types */
|
/* Define basic vector types */
|
||||||
#if defined( __VEC__ )
|
#if defined( __VEC__ )
|
||||||
#if !defined(__clang__)
|
#if !defined(__clang__)
|
||||||
@ -11,10 +12,11 @@ diff -u -r mesa-21.2.3.orig/include/CL/cl_platform.h mesa-21.2.3/include/CL/cl_p
|
|||||||
#endif
|
#endif
|
||||||
typedef __vector unsigned char __cl_uchar16;
|
typedef __vector unsigned char __cl_uchar16;
|
||||||
typedef __vector signed char __cl_char16;
|
typedef __vector signed char __cl_char16;
|
||||||
diff -u -r mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
Index: mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||||
--- mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c 2021-10-14 12:26:04.058380655 +0200
|
===================================================================
|
||||||
+++ mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_rast_tri.c 2021-10-14 20:38:55.478734888 +0200
|
--- mesa-23.0.0.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||||
@@ -465,7 +465,9 @@
|
+++ mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||||
|
@@ -488,7 +488,9 @@ lp_rast_triangle_32_3_4(struct lp_raster
|
||||||
|
|
||||||
#if defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
#if defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||||
|
|
||||||
@ -24,11 +26,12 @@ diff -u -r mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c mesa-21.2
|
|||||||
#include "util/u_pwr8.h"
|
#include "util/u_pwr8.h"
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
diff -u -r mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
Index: mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||||
--- mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c 2021-10-14 12:26:04.058380655 +0200
|
===================================================================
|
||||||
+++ mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_setup_tri.c 2021-10-14 20:38:24.766150222 +0200
|
--- mesa-23.0.0.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||||
@@ -47,7 +47,9 @@
|
+++ mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||||
#if defined(PIPE_ARCH_SSE)
|
@@ -46,7 +46,9 @@
|
||||||
|
#if DETECT_ARCH_SSE
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#elif defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
#elif defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||||
+#ifndef __cplusplus
|
+#ifndef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user