Update to version 10.4.2

Mesa 10.4.2 provides lots of bug fixes and implements a few more OpenGL
features:
* GL_ARB_conditional_render_inverted on nv50
* GL_ARB_sample_shading on r600
* GL_ARB_texture_view on nv50, nvc0
* GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe,
    softpipe
* GL_KHR_context_flush_control on all drivers
This commit is contained in:
Eugene Shatokhin 2015-01-19 13:51:26 +03:00
parent f01d019fbc
commit 7b53c3acdb
3 changed files with 13 additions and 15 deletions

View file

@ -1,2 +1,2 @@
sources: sources:
MesaLib-10.3.3.tar.bz2: 82048401ab72f6ca38780ada6c8998b020cef0f5 MesaLib-10.4.2.tar.bz2: 53ec316946bce7b63327f73c40ac9be1f50e31b2

View file

@ -2,7 +2,7 @@ diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxilia
index 55aa8b9..f2f8906 100644 index 55aa8b9..f2f8906 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -479,10 +479,38 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, @@ -473,10 +473,38 @@
if (util_cpu_caps.has_f16c) { if (util_cpu_caps.has_f16c) {
MAttrs.push_back("+f16c"); MAttrs.push_back("+f16c");
} }
@ -42,11 +42,11 @@ index 55aa8b9..f2f8906 100644
StringRef MCPU = llvm::sys::getHostCPUName(); StringRef MCPU = llvm::sys::getHostCPUName();
/* /*
* The cpu bits are no longer set automatically, so need to set mcpu manually. * The cpu bits are no longer set automatically, so need to set mcpu manually.
@@ -498,6 +526,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, @@ -492,6 +520,7 @@
*/ */
builder.setMCPU(MCPU); builder.setMCPU(MCPU);
#endif #endif
+ builder.setMAttrs(MAttrs); + builder.setMAttrs(MAttrs);
ShaderMemoryManager *MM = new ShaderMemoryManager(); ShaderMemoryManager *MM;
*OutCode = MM->getGeneratedCode(); if (useMCJIT) {

View file

@ -25,8 +25,8 @@
Summary: OpenGL 3.x compatible 3D graphics library Summary: OpenGL 3.x compatible 3D graphics library
Name: mesa Name: mesa
Version: 10.3.3 Version: 10.4.2
Release: 6 Release: 1
License: MIT License: MIT
Group: System/Libraries Group: System/Libraries
Url: http://www.mesa3d.org Url: http://www.mesa3d.org
@ -134,6 +134,7 @@ vdpau and xvmc state trackers.
%{_libdir}/dri/swrast_dri.so %{_libdir}/dri/swrast_dri.so
%{_libdir}/dri/kms_swrast_dri.so %{_libdir}/dri/kms_swrast_dri.so
%{_libdir}/dri/vmwgfx_dri.so %{_libdir}/dri/vmwgfx_dri.so
%{_libdir}/dri/gallium_drv_video.so
# xvmc state tracker backends # xvmc state tracker backends
%{_libdir}/libXvMCnouveau.so.* %{_libdir}/libXvMCnouveau.so.*
%{_libdir}/libXvMCr600.so.* %{_libdir}/libXvMCr600.so.*
@ -141,12 +142,14 @@ vdpau and xvmc state trackers.
# vdpau state tracker backends # vdpau state tracker backends
%{_libdir}/vdpau/libvdpau_nouveau.so.* %{_libdir}/vdpau/libvdpau_nouveau.so.*
%{_libdir}/vdpau/libvdpau_r600.so.* %{_libdir}/vdpau/libvdpau_r600.so.*
%{_libdir}/vdpau/libvdpau_r300.so.*
%if %{with radeonsi} %if %{with radeonsi}
%{_libdir}/vdpau/libvdpau_radeonsi.so.* %{_libdir}/vdpau/libvdpau_radeonsi.so.*
%endif %endif
# XvMC and VDPAU are no longer supported for r300 and softpipe, see the # XvMC and VDPAU are no longer supported for softpipe, see the commits
# commits 7c253184, 5f7233c8 and a few other in mesa git repo. # 7c253184, 5f7233c8 and a few other in mesa git repo. For r300, VDPAU
# support has been re-enabled.
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%define glmajor 1 %define glmajor 1
@ -220,8 +223,6 @@ parts.
%files -n %{libegl} %files -n %{libegl}
%doc docs/COPYING %doc docs/COPYING
%{_libdir}/libEGL.so.%{eglmajor}* %{_libdir}/libEGL.so.%{eglmajor}*
%dir %{_libdir}/egl
%{_libdir}/egl/egl_gallium.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
@ -259,7 +260,6 @@ Mesa is an OpenGL compatible 3D graphics library: GBM
%files -n %{libgbm} %files -n %{libgbm}
%doc docs/COPYING %doc docs/COPYING
%{_libdir}/libgbm.so.%{gbmmajor}* %{_libdir}/libgbm.so.%{gbmmajor}*
%{_libdir}/gbm/gbm_*.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
@ -384,7 +384,7 @@ Group: System/Libraries
%description -n %{libglapi} %description -n %{libglapi}
Mesa is an OpenGL compatible 3D graphics library. This Mesa is an OpenGL compatible 3D graphics library. This
packages provides the glapi shared library used by gallium drivers. package provides the glapi shared library used by gallium drivers.
%files -n %{libglapi} %files -n %{libglapi}
%doc docs/COPYING %doc docs/COPYING
@ -593,8 +593,6 @@ autoreconf -vfi
--with-gallium-drivers="%{gallium_drivers}" \ --with-gallium-drivers="%{gallium_drivers}" \
--enable-gallium-llvm \ --enable-gallium-llvm \
--enable-egl \ --enable-egl \
--enable-gallium-egl \
--enable-gallium-gbm \
--enable-gbm \ --enable-gbm \
--enable-gles1 \ --enable-gles1 \
--enable-gles2 \ --enable-gles2 \