SHA256
1
0
forked from pool/Mesa

Accepting request 522001 from X11:XOrg

- u_svga-Fix-build-on-ppc64le.patch
  * This let us compile the code on ppc64le, but it no-ops the log
    function.

- update to 17.2.0
  * many RADV/ANV Vulkan driver improvements
  * Vulkan and OpenGL performance improvements
  * more work towards OpenGL 4.6 compliance
  * a wealth of other open-source driver improvements
  * initial Raven Ridge support (used on Vega-class graphics)
  * Intel Cannonlake Support 
- adjusted archlinux_0001-Fix-linkage-against-shared-glapi.patch

OBS-URL: https://build.opensuse.org/request/show/522001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=301
This commit is contained in:
Dominique Leuenberger 2017-09-09 18:23:58 +00:00 committed by Git OBS Bridge
commit 4189500124
8 changed files with 58 additions and 13 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Sep 7 10:16:43 UTC 2017 - sndirsch@suse.com
- u_svga-Fix-build-on-ppc64le.patch
* This let us compile the code on ppc64le, but it no-ops the log
function.
-------------------------------------------------------------------
Tue Sep 5 09:50:56 UTC 2017 - sndirsch@suse.com
- update to 17.2.0
* many RADV/ANV Vulkan driver improvements
* Vulkan and OpenGL performance improvements
* more work towards OpenGL 4.6 compliance
* a wealth of other open-source driver improvements
* initial Raven Ridge support (used on Vega-class graphics)
* Intel Cannonlake Support
- adjusted archlinux_0001-Fix-linkage-against-shared-glapi.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 28 14:17:25 UTC 2017 - mimi.vx@gmail.com Mon Aug 28 14:17:25 UTC 2017 - mimi.vx@gmail.com

View File

@ -22,7 +22,7 @@
%endif %endif
%define glamor 1 %define glamor 1
%define _name_archive mesa %define _name_archive mesa
%define _version 17.1.8 %define _version 17.2.0
%define with_opencl 0 %define with_opencl 0
%define with_vulkan 0 %define with_vulkan 0
%ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x %ifarch %ix86 x86_64 %arm aarch64 ppc ppc64 ppc64le s390x
@ -54,7 +54,7 @@
%endif %endif
Name: Mesa Name: Mesa
Version: 17.1.6 Version: 17.2.0
Release: 0 Release: 0
Summary: System for rendering interactive 3-D graphics Summary: System for rendering interactive 3-D graphics
License: MIT License: MIT
@ -89,6 +89,7 @@ Patch32: archlinux_glvnd-fix-gl-dot-pc.patch
Patch40: u_gallivm-correct-channel-shift-logic-on-big-endian.patch Patch40: u_gallivm-correct-channel-shift-logic-on-big-endian.patch
Patch41: u_llvmpipe-lp_build_gather_elem_vec-BE-fix-for-3x16-lo.patch Patch41: u_llvmpipe-lp_build_gather_elem_vec-BE-fix-for-3x16-lo.patch
Patch42: u_r600-Add-support-for-B5G5R5A1.patch Patch42: u_r600-Add-support-for-B5G5R5A1.patch
Patch43: u_svga-Fix-build-on-ppc64le.patch
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake BuildRequires: automake
@ -158,6 +159,7 @@ BuildRequires: libelf-devel
# Requirements for wayland bumped up from 17.0 # Requirements for wayland bumped up from 17.0
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse}) %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
BuildRequires: pkgconfig(wayland-client) >= 1.11 BuildRequires: pkgconfig(wayland-client) >= 1.11
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11 BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif %endif
%ifarch aarch64 %arm ppc64 ppc64le s390x %ix86 x86_64 %ifarch aarch64 %arm ppc64 ppc64le s390x %ix86 x86_64
@ -664,6 +666,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch40 -p1 %patch40 -p1
%patch41 -p1 %patch41 -p1
%patch42 -p1 %patch42 -p1
%patch43 -p1
# Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
# disabling libglvnd build; ugly ... # disabling libglvnd build; ugly ...

View File

@ -8,10 +8,10 @@ Signed-off-by: Adam Jackson <ajax@redhat.com>
src/gallium/targets/osmesa/Makefile.am | 2 +- src/gallium/targets/osmesa/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-) 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am Index: mesa-17.2.0/src/gallium/targets/osmesa/Makefile.am
index 5d39486..04add87 100644 ===================================================================
--- a/src/gallium/targets/osmesa/Makefile.am --- mesa-17.2.0.orig/src/gallium/targets/osmesa/Makefile.am
+++ b/src/gallium/targets/osmesa/Makefile.am +++ mesa-17.2.0/src/gallium/targets/osmesa/Makefile.am
@@ -63,7 +63,7 @@ lib@OSMESA_LIB@_la_LIBADD = \ @@ -63,7 +63,7 @@ lib@OSMESA_LIB@_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/trace/libtrace.la \ $(top_builddir)/src/gallium/drivers/trace/libtrace.la \
$(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \ $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
@ -20,7 +20,4 @@ index 5d39486..04add87 100644
+ $(top_builddir)/src/mapi/shared-glapi/libglapi.la \ + $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
$(SHARED_GLAPI_LIB) \ $(SHARED_GLAPI_LIB) \
$(OSMESA_LIB_DEPS) \ $(OSMESA_LIB_DEPS) \
$(CLOCK_LIB) $(CLOCK_LIB) \
--
2.9.3

View File

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

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -0,0 +1,26 @@
From 96b59b70573b8fafc377b4ac04fe46a2474180da Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Thu, 7 Sep 2017 11:53:21 +0200
Subject: [PATCH glx/glxglvnd] svga: Fix build on ppc64le.
This let us compile the code on ppc64le, but it no-ops the log function.
---
src/gallium/drivers/svga/svga_msg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/svga/svga_msg.c b/src/gallium/drivers/svga/svga_msg.c
index e0346dee75..611abb70f4 100755
--- a/src/gallium/drivers/svga/svga_msg.c
+++ b/src/gallium/drivers/svga/svga_msg.c
@@ -57,7 +57,7 @@
#define HIGH_WORD(X) ((X & 0xFFFF0000) >> 16)
-#if defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION > 502)
+#if defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION > 502) && !defined(USE_PPC64LE_ASM)
/**
* Hypervisor-specific bi-directional communication channel. Should never
--
2.13.5