From 66ed79b82d804bdb311741d053e71aa647e2e1a3b66c300b4282a7c6c7d675d0 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 6 Apr 2016 09:52:45 +0000 Subject: [PATCH] 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 --- Mesa.changes | 30 +++++++++++++ Mesa.spec | 16 +++---- U_clover-Fix-build-against-LLVM-3.8.patch | 16 ------- ...ot-use-barriers-if-not-using-threads.patch | 42 ------------------ mesa-11.1.2.tar.xz | 3 -- mesa-11.1.2.tar.xz.sig | Bin 543 -> 0 bytes mesa-11.2.0.tar.xz | 3 ++ mesa-11.2.0.tar.xz.sig | Bin 0 -> 543 bytes 8 files changed, 39 insertions(+), 71 deletions(-) delete mode 100644 U_clover-Fix-build-against-LLVM-3.8.patch delete mode 100644 U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch delete mode 100644 mesa-11.1.2.tar.xz delete mode 100644 mesa-11.1.2.tar.xz.sig create mode 100644 mesa-11.2.0.tar.xz create mode 100644 mesa-11.2.0.tar.xz.sig diff --git a/Mesa.changes b/Mesa.changes index a8ed693..291c97d 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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 diff --git a/Mesa.spec b/Mesa.spec index 5ee6ef4..042b8ef 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -18,7 +18,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 11.1.2 +%define _version 11.2.0 %define with_opencl 0 %ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x %define gallium_loader 1 @@ -42,14 +42,14 @@ %endif %endif Name: Mesa -Version: 11.1.2 +Version: 11.2.0 Release: 0 Summary: System for rendering interactive 3-D graphics License: MIT Group: System/Libraries Url: http://www.mesa3d.org -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 +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 Source2: baselibs.conf Source3: README.updates 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 Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch # 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 BuildRequires: autoconf >= 2.60 @@ -91,7 +89,7 @@ BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(libdrm) >= 2.4.60 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(libkms) >= 1.0.0 BuildRequires: pkgconfig(libudev) > 151 @@ -124,7 +122,7 @@ Obsoletes: Mesa-nouveau3d < %{version} Obsoletes: xorg-x11-Mesa < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch %arm -BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.65 +BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.67 %endif %ifarch x86_64 %ix86 BuildRequires: libelf-devel @@ -565,8 +563,6 @@ rm -rf docs/README.{VMS,WIN32,OS2} #%patch13 -p1 %patch17 -p1 %patch18 -p1 -%patch19 -p1 -%patch20 -p1 %patch21 -p1 %build diff --git a/U_clover-Fix-build-against-LLVM-3.8.patch b/U_clover-Fix-build-against-LLVM-3.8.patch deleted file mode 100644 index 6b78330..0000000 --- a/U_clover-Fix-build-against-LLVM-3.8.patch +++ /dev/null @@ -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); diff --git a/U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch b/U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch deleted file mode 100644 index fb9df74..0000000 --- a/U_llvmpipe-Do-not-use-barriers-if-not-using-threads.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 4ed4c1d9210b11ce6faea81455c21531904ea45b Mon Sep 17 00:00:00 2001 -From: Vinson Lee -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 -Reviewed-by: Roland Scheidegger ---- - 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 - diff --git a/mesa-11.1.2.tar.xz b/mesa-11.1.2.tar.xz deleted file mode 100644 index 69946e6..0000000 --- a/mesa-11.1.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f72aead896b340ba0f7a4a474bfaf71681f5d675592aec1cb7ba698e319148b -size 7561920 diff --git a/mesa-11.1.2.tar.xz.sig b/mesa-11.1.2.tar.xz.sig deleted file mode 100644 index bbde33c8959638a83cc2a661d0c78b7f98ff029d36c8df455ab92d5edae2b2ea..0000000000000000000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