From ae06feae7876db47ff0e1fde40cf4a324a412037 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 11 May 2014 17:40:10 +0200 Subject: mesa git update 11 May 2014 mesa commit 83b4ec03e77645c537d540a12253b3492bad4b59 --- mesalib/configure.ac | 15 +++++- mesalib/docs/index.html | 9 ++++ mesalib/docs/relnotes.html | 1 + mesalib/src/glsl/link_varyings.cpp | 6 +-- mesalib/src/mesa/main/fbobject.c | 2 + mesalib/src/mesa/main/shaderapi.c | 5 ++ mesalib/src/mesa/main/teximage.c | 2 +- mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 55 ++++++++++++++++------ 8 files changed, 76 insertions(+), 19 deletions(-) diff --git a/mesalib/configure.ac b/mesalib/configure.ac index d6f21ea87..99a761a42 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -1179,6 +1179,13 @@ if test "x$enable_gbm" = xyes; then if test "x$enable_shared_glapi" = xno; then AC_MSG_ERROR([gbm_dri requires --enable-shared-glapi]) fi + else + # Strictly speaking libgbm does not require --enable-dri, although + # both of its backends do. Thus one can build libgbm without any + # backends if --disable-dri is set. + # To avoid unnecessary complexity of checking if at least one backend + # is available when building, just mandate --enable-dri. + AC_MSG_ERROR([gbm requires --enable-dri]) fi fi AM_CONDITIONAL(HAVE_GBM, test "x$enable_gbm" = xyes) @@ -1605,6 +1612,12 @@ if test "x$enable_gallium_llvm" = xyes; then AC_COMPUTE_INT([LLVM_VERSION_MINOR], [LLVM_VERSION_MINOR], [#include "${LLVM_INCLUDEDIR}/llvm/Config/llvm-config.h"]) + dnl In LLVM 3.4.1 patch level was defined in config.h and not + dnl llvm-config.h + AC_COMPUTE_INT([LLVM_VERSION_PATCH], [LLVM_VERSION_PATCH], + [#include "${LLVM_INCLUDEDIR}/llvm/Config/config.h"], + LLVM_VERSION_PATCH=0) dnl Default if LLVM_VERSION_PATCH not found + if test -n "${LLVM_VERSION_MAJOR}"; then LLVM_VERSION_INT="${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}" else @@ -1627,7 +1640,7 @@ if test "x$enable_gallium_llvm" = xyes; then LLVM_COMPONENTS="${LLVM_COMPONENTS} option" fi fi - DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT" + DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH" MESA_LLVM=1 dnl Check for Clang internal headers diff --git a/mesalib/docs/index.html b/mesalib/docs/index.html index cb1846a8f..0c22e8502 100644 --- a/mesalib/docs/index.html +++ b/mesalib/docs/index.html @@ -16,6 +16,15 @@

News

+

May 9, 2014

+

+Mesa 10.1.3 is released. +This is a bug-fix release, and is being released sooner than +originally scheduled to fix a performance regression (vmware +swapbuffers falling back to software) introduced to the +10.1.2 release. +

+

May 5, 2014

Mesa 10.1.2 is released. diff --git a/mesalib/docs/relnotes.html b/mesalib/docs/relnotes.html index 8ef7bbb81..db38fdfa4 100644 --- a/mesalib/docs/relnotes.html +++ b/mesalib/docs/relnotes.html @@ -21,6 +21,7 @@ The release notes summarize what's new or changed in each Mesa release.