SHA256
1
0
forked from pool/Mesa

Accepting request 384219 from home:mimi_vx:branches:X11:XOrg

- update to 11.2.0
- dropped U_clover-Fix-build-against-LLVM-3.8.patch
- dropped U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch 
- New Features:
	* GL_ARB_arrays_of_arrays on all gallium drivers that provide GLSL 1.30
	* GL_ARB_base_instance on freedreno/a4xx
	* GL_ARB_compute_shader on i965
	* GL_ARB_copy_image on r600
	* GL_ARB_indirect_parameters on nvc0
	* GL_ARB_query_buffer_object on nvc0
	* GL_ARB_shader_atomic_counters on nvc0
	* GL_ARB_shader_draw_parameters on i965, nvc0
	* GL_ARB_shader_storage_buffer_object on nvc0
	* GL_ARB_tessellation_shader on i965 and r600 (evergreen/cayman only)
	* GL_ARB_texture_buffer_object_rgb32 on freedreno/a4xx
	* GL_ARB_texture_buffer_range on freedreno/a4xx
	* GL_ARB_texture_query_lod on freedreno/a4xx
	* GL_ARB_texture_rgb10_a2ui on freedreno/a4xx
	* GL_ARB_texture_view on freedreno/a4xx
	* GL_ARB_vertex_type_10f_11f_11f_rev on freedreno/a4xx
	* GL_KHR_texture_compression_astc_ldr on freedreno/a4xx
	* GL_AMD_performance_monitor on radeonsi (CIK+ only)
	* GL_ATI_meminfo on r600, radeonsi
	* GL_NVX_gpu_memory_info on r600, radeonsi
	* New OSMesaCreateContextAttribs() function (for creating core profile contexts)
+ Many bugfixes, for more info see relnotes/11.2.0.html

OBS-URL: https://build.opensuse.org/request/show/384219
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=508
This commit is contained in:
Stefan Dirsch 2016-04-06 09:52:45 +00:00 committed by Git OBS Bridge
parent 7d5f5e6f1f
commit 66ed79b82d
8 changed files with 39 additions and 71 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Apr 4 19:57:06 UTC 2016 - mimi.vx@gmail.com
- update to 11.2.0
- dropped U_clover-Fix-build-against-LLVM-3.8.patch
- dropped U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch
- New Features:
* GL_ARB_arrays_of_arrays on all gallium drivers that provide GLSL 1.30
* GL_ARB_base_instance on freedreno/a4xx
* GL_ARB_compute_shader on i965
* GL_ARB_copy_image on r600
* GL_ARB_indirect_parameters on nvc0
* GL_ARB_query_buffer_object on nvc0
* GL_ARB_shader_atomic_counters on nvc0
* GL_ARB_shader_draw_parameters on i965, nvc0
* GL_ARB_shader_storage_buffer_object on nvc0
* GL_ARB_tessellation_shader on i965 and r600 (evergreen/cayman only)
* GL_ARB_texture_buffer_object_rgb32 on freedreno/a4xx
* GL_ARB_texture_buffer_range on freedreno/a4xx
* GL_ARB_texture_query_lod on freedreno/a4xx
* GL_ARB_texture_rgb10_a2ui on freedreno/a4xx
* GL_ARB_texture_view on freedreno/a4xx
* GL_ARB_vertex_type_10f_11f_11f_rev on freedreno/a4xx
* GL_KHR_texture_compression_astc_ldr on freedreno/a4xx
* GL_AMD_performance_monitor on radeonsi (CIK+ only)
* GL_ATI_meminfo on r600, radeonsi
* GL_NVX_gpu_memory_info on r600, radeonsi
* New OSMesaCreateContextAttribs() function (for creating core profile contexts)
+ Many bugfixes, for more info see relnotes/11.2.0.html
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 16 18:12:00 UTC 2016 - eich@suse.com Wed Mar 16 18:12:00 UTC 2016 - eich@suse.com

View File

@ -18,7 +18,7 @@
%define glamor 1 %define glamor 1
%define _name_archive mesa %define _name_archive mesa
%define _version 11.1.2 %define _version 11.2.0
%define with_opencl 0 %define with_opencl 0
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x %ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
%define gallium_loader 1 %define gallium_loader 1
@ -42,14 +42,14 @@
%endif %endif
%endif %endif
Name: Mesa Name: Mesa
Version: 11.1.2 Version: 11.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
Group: System/Libraries Group: System/Libraries
Url: http://www.mesa3d.org Url: http://www.mesa3d.org
Source: ftp://ftp.freedesktop.org/pub/mesa/%{_version}/%{_name_archive}-%{_version}.tar.xz Source: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{_name_archive}-%{_version}.tar.xz
Source1: ftp://ftp.freedesktop.org/pub/mesa/%{_version}/%{_name_archive}-%{_version}.tar.xz.sig Source1: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{_name_archive}-%{_version}.tar.xz.sig
Source2: baselibs.conf Source2: baselibs.conf
Source3: README.updates Source3: README.updates
Source4: manual-pages.tar.bz2 Source4: manual-pages.tar.bz2
@ -69,8 +69,6 @@ Patch17: u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch
# never to be upstreamed # never to be upstreamed
Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
# Already upstream # Already upstream
Patch19: U_clover-Fix-build-against-LLVM-3.8.patch
Patch20: U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch
Patch21: n_Define-GLAPIVAR-separate-from-GLAPI.patch Patch21: n_Define-GLAPIVAR-separate-from-GLAPI.patch
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
@ -91,7 +89,7 @@ BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(glproto)
BuildRequires: pkgconfig(libdrm) >= 2.4.60 BuildRequires: pkgconfig(libdrm) >= 2.4.60
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.63 BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.63
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.62 BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.66
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.56 BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.56
BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libkms) >= 1.0.0
BuildRequires: pkgconfig(libudev) > 151 BuildRequires: pkgconfig(libudev) > 151
@ -124,7 +122,7 @@ Obsoletes: Mesa-nouveau3d < %{version}
Obsoletes: xorg-x11-Mesa < %{version} Obsoletes: xorg-x11-Mesa < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifarch %arm %ifarch %arm
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.65 BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.67
%endif %endif
%ifarch x86_64 %ix86 %ifarch x86_64 %ix86
BuildRequires: libelf-devel BuildRequires: libelf-devel
@ -565,8 +563,6 @@ rm -rf docs/README.{VMS,WIN32,OS2}
#%patch13 -p1 #%patch13 -p1
%patch17 -p1 %patch17 -p1
%patch18 -p1 %patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1 %patch21 -p1
%build %build

View File

@ -1,16 +0,0 @@
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 3b37f08..4d11c24 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -661,7 +661,11 @@ namespace {
if (dump_asm) {
LLVMSetTargetMachineAsmVerbosity(tm, true);
+#if HAVE_LLVM >= 0x0308
+ LLVMModuleRef debug_mod = wrap(llvm::CloneModule(mod).release());
+#else
LLVMModuleRef debug_mod = wrap(llvm::CloneModule(mod));
+#endif
emit_code(tm, debug_mod, LLVMAssemblyFile, &out_buffer, r_log);
buffer_size = LLVMGetBufferSize(out_buffer);
buffer_data = LLVMGetBufferStart(out_buffer);

View File

@ -1,42 +0,0 @@
From 4ed4c1d9210b11ce6faea81455c21531904ea45b Mon Sep 17 00:00:00 2001
From: Vinson Lee <vlee@freedesktop.org>
Date: Wed, 10 Feb 2016 16:42:19 -0800
Subject: [PATCH] llvmpipe: Do not use barriers if not using threads.
Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94088
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
---
src/gallium/drivers/llvmpipe/lp_rast.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index d22e507..9e56c96 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -910,7 +910,9 @@ lp_rast_create( unsigned num_threads )
create_rast_threads(rast);
/* for synchronizing rasterization threads */
- pipe_barrier_init( &rast->barrier, rast->num_threads );
+ if (rast->num_threads > 0) {
+ pipe_barrier_init( &rast->barrier, rast->num_threads );
+ }
memset(lp_dummy_tile, 0, sizeof lp_dummy_tile);
@@ -967,7 +969,9 @@ void lp_rast_destroy( struct lp_rasterizer *rast )
}
/* for synchronizing rasterization threads */
- pipe_barrier_destroy( &rast->barrier );
+ if (rast->num_threads > 0) {
+ pipe_barrier_destroy( &rast->barrier );
+ }
lp_scene_queue_destroy(rast->full_scenes);
--
2.6.2

View File

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

Binary file not shown.

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

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

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

Binary file not shown.