mesa: Changes to 'ubuntu'
.gitignore | 1
Makefile.am | 51 --
bin/.cherry-ignore | 7
configs/current.in | 5
configs/default | 2
configure.ac | 27 +
debian/changelog | 34 +
debian/control | 2
debian/patches/117-static-gallium.patch | 7
debian/patches/13-llvm-config-pick-a-version.diff | 18
debian/patches/16-radeon-ndebug.diff | 13
debian/patches/series | 2
debian/rules | 3
docs/GL3.txt | 3
docs/news.html | 8
docs/relnotes-9.0.1.html | 6
docs/relnotes-9.0.2.html | 280 +++++++++++++++
docs/relnotes.html | 1
include/pci_ids/radeonsi_pci_ids.h | 4
src/egl/drivers/dri2/egl_dri2.c | 64 +++
src/egl/drivers/dri2/egl_dri2.h | 1
src/egl/drivers/dri2/platform_wayland.c | 31 +
src/egl/wayland/wayland-egl/wayland-egl-priv.h | 3
src/egl/wayland/wayland-egl/wayland-egl.c | 5
src/gallium/auxiliary/Makefile | 5
src/gallium/auxiliary/draw/draw_vertex.h | 5
src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c | 2
src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2
src/gallium/auxiliary/util/u_double_list.h | 1
src/gallium/auxiliary/util/u_inlines.h | 16
src/gallium/drivers/Makefile.am | 2
src/gallium/drivers/llvmpipe/lp_bld_depth.c | 10
src/gallium/drivers/nv30/nv30_screen.c | 2
src/gallium/drivers/nv50/codegen/nv50_ir.cpp | 2
src/gallium/drivers/nv50/codegen/nv50_ir_emit_nv50.cpp | 3
src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp | 2
src/gallium/drivers/nv50/codegen/nv50_ir_target_nv50.cpp | 6
src/gallium/drivers/nv50/nv50_screen.c | 14
src/gallium/drivers/nvc0/nvc0_context.c | 1
src/gallium/drivers/nvc0/nvc0_screen.c | 23 -
src/gallium/drivers/nvc0/nvc0_vbo_translate.c | 3
src/gallium/drivers/r300/Makefile.am | 1
src/gallium/drivers/r300/r300_state.c | 12
src/gallium/drivers/r300/r300_state_derived.c | 22 -
src/gallium/drivers/r600/eg_asm.c | 1
src/gallium/drivers/r600/r600_asm.c | 8
src/gallium/drivers/r600/r600_blit.c | 9
src/gallium/drivers/r600/r600_hw_context.c | 17
src/gallium/drivers/r600/r600_pipe.c | 14
src/gallium/drivers/r600/r600_resource.h | 1
src/gallium/drivers/r600/r600_shader.c | 32 +
src/gallium/drivers/r600/r600_texture.c | 4
src/gallium/drivers/svga/svga_pipe_misc.c | 6
src/gallium/include/pipe/p_state.h | 4
src/gallium/state_trackers/clover/Makefile.am | 13
src/gallium/state_trackers/clover/llvm/invocation.cpp | 4
src/gallium/state_trackers/egl/wayland/native_wayland.c | 5
src/gallium/targets/dri-i915/Makefile | 2
src/gallium/targets/dri-r300/Makefile | 2
src/gallium/targets/dri-r600/Makefile | 2
src/gallium/targets/dri-radeonsi/Makefile | 2
src/gallium/targets/egl-static/Makefile | 16
src/gallium/targets/gbm/Makefile | 2
src/gallium/targets/pipe-loader/Makefile | 12
src/gallium/targets/vdpau-r300/Makefile | 2
src/gallium/targets/vdpau-r600/Makefile | 2
src/gallium/targets/vdpau-radeonsi/Makefile | 2
src/gallium/targets/xvmc-r300/Makefile | 2
src/gallium/targets/xvmc-r600/Makefile | 2
src/glsl/glcpp/Makefile.am | 1
src/glsl/glcpp/glcpp-lex.l | 20 -
src/glsl/glcpp/glcpp-parse.y | 20 -
src/glsl/glcpp/tests/102-garbage-after-endif.c | 2
src/glsl/glcpp/tests/102-garbage-after-endif.c.expected | 2
src/glsl/glcpp/tests/103-garbage-after-else.c | 3
src/glsl/glcpp/tests/103-garbage-after-else.c.expected | 4
src/glsl/glsl_parser.yy | 1
src/glsl/ir_function_detect_recursion.cpp | 1
src/glsl/ir_validate.cpp | 4
src/glsl/opt_constant_propagation.cpp | 1
src/glsl/tests/Makefile.am | 9
src/glx/tests/Makefile.am | 10
src/mapi/es1api/Makefile.am | 6
src/mapi/es2api/Makefile.am | 6
src/mapi/shared-glapi/tests/Makefile.am | 6
src/mesa/Android.gen.mk | 2
src/mesa/drivers/common/meta.c | 65 ---
src/mesa/drivers/dri/i915/i915_texstate.c | 2
src/mesa/drivers/dri/i965/brw_context.c | 58 +--
src/mesa/drivers/dri/i965/brw_gs.c | 2
src/mesa/drivers/dri/i965/brw_vec4.cpp | 1
src/mesa/drivers/dri/i965/brw_vec4.h | 3
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp | 1
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 14
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp | 128 ++++++
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 8
src/mesa/drivers/dri/i965/brw_vs.c | 2
src/mesa/drivers/dri/i965/brw_vs.h | 2
src/mesa/drivers/dri/i965/gen7_sf_state.c | 4
src/mesa/drivers/dri/nouveau/nouveau_texture.c | 2
src/mesa/drivers/dri/r200/r200_state.c | 13
src/mesa/drivers/dri/r200/r200_state_init.c | 20 -
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c | 6
src/mesa/drivers/dri/radeon/radeon_state.c | 13
src/mesa/main/attrib.c | 7
src/mesa/main/bufferobj.c | 22 -
src/mesa/main/config.h | 2
src/mesa/main/context.c | 2
src/mesa/main/fbobject.c | 51 ++
src/mesa/main/imports.h | 2
src/mesa/main/macros.h | 39 ++
src/mesa/main/mtypes.h | 3
src/mesa/main/queryobj.c | 16
src/mesa/main/readpix.c | 22 -
src/mesa/main/shaderapi.c | 1
src/mesa/main/teximage.c | 41 ++
src/mesa/main/teximage.h | 8
src/mesa/main/texobj.c | 3
src/mesa/main/texstate.c | 7
src/mesa/main/texstorage.c | 4
src/mesa/main/varray.c | 16
src/mesa/main/version.h | 4
src/mesa/program/prog_print.c | 36 +
src/mesa/state_tracker/st_atom_sampler.c | 12
src/mesa/state_tracker/st_cb_clear.c | 19 -
src/mesa/state_tracker/st_cb_texture.c | 99 ++---
src/mesa/state_tracker/st_format.c | 124 ++++--
src/mesa/state_tracker/st_format.h | 5
src/mesa/state_tracker/st_gen_mipmap.c | 28 -
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 23 +
src/mesa/state_tracker/st_mesa_to_tgsi.c | 12
src/mesa/vbo/vbo_attrib_tmp.h | 86 ++--
src/mesa/vbo/vbo_context.h | 43 ++
src/mesa/vbo/vbo_exec.h | 1
src/mesa/vbo/vbo_exec_api.c | 29 +
src/mesa/vbo/vbo_exec_draw.c | 7
src/mesa/vbo/vbo_save.h | 2
src/mesa/vbo/vbo_save_api.c | 12
src/mesa/vbo/vbo_save_draw.c | 21 -
139 files changed, 1536 insertions(+), 593 deletions(-)
New commits:
commit 6467026f9fefc79399737209960b3aecc92d8d6c
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date: Wed Jan 23 17:10:56 2013 +0100
refresh static-gallium patch
diff --git a/debian/patches/117-static-gallium.patch b/debian/patches/117-static-gallium.patch
index 04e519b..a81feae 100644
--- a/debian/patches/117-static-gallium.patch
+++ b/debian/patches/117-static-gallium.patch
@@ -68,7 +68,7 @@ deleted file mode 100644
index 3ba3f9c..0000000
--- a/src/gallium/auxiliary/Makefile
+++ /dev/null
-@@ -1,42 +0,0 @@
+@@ -1,47 +0,0 @@
-TOP = ../../..
-include $(TOP)/configs/current
-
@@ -84,6 +84,11 @@ index 3ba3f9c..0000000
- $(GALLIVM_SOURCES)
-CPP_SOURCES += \
- $(GALLIVM_CPP_SOURCES)
+-
+-# LLVM >= 3.2 requires -fno-rtti
+-ifeq ($(shell expr `echo $(LLVM_VERSION) | sed -e 's/\([0-9]\)\.\([0-9]\)/\10\2/g'` \>= 302),1)
+-CXXFLAGS += -fno-rtti
+-endif
-endif
-
-
commit 8861269b03b77480a44fbe54e7e6d809b7040dd7
Author: Johannes Obermayr <johannesobermayr@gmx.de>
Date: Fri Nov 30 23:53:58 2012 +0100
gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.
Also remove the recently added and overloaded LLVM_CXXFLAGS from CXXFLAGS.
Note: This is a candidate for the stable branches.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
(cherry picked from commit 21694b8eacbf63f8abdee6340510c0458a25a7fb)
Conflicts:
src/gallium/auxiliary/Makefile
----
Maarten Lankhorst: somehow this got lost and ended up as a delta to upstream-experimental,
but git refuses to say why. Manually re-applying to fix it.
diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile
index 3ba3f9c..72208f1 100644
--- a/src/gallium/auxiliary/Makefile
+++ b/src/gallium/auxiliary/Makefile
@@ -13,6 +13,11 @@ C_SOURCES += \
$(GALLIVM_SOURCES)
CPP_SOURCES += \
$(GALLIVM_CPP_SOURCES)
+
+# LLVM >= 3.2 requires -fno-rtti
+ifeq ($(shell expr `echo $(LLVM_VERSION) | sed -e 's/\([0-9]\)\.\([0-9]\)/\10\2/g'` \>= 302),1)
+CXXFLAGS += -fno-rtti
+endif
endif
commit 22300d9e9be4f21cdfd723758f736f1af414cd00
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date: Wed Jan 23 16:58:59 2013 +0100
New upstream release.
* New upstream release.
* Decrease size of mesa's libgl1-mesa-dri again
- re-enable 117-static-gallium.patch
- add 118-dricore-gallium.patch to link against libdricore again
diff --git a/debian/changelog b/debian/changelog
index 665d969..8b401cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mesa (9.0-0ubuntu1) UNRELEASED; urgency=low
+
+ * New upstream release.
+ * Decrease size of mesa's libgl1-mesa-dri again
+ - re-enable 117-static-gallium.patch
+ - add 118-dricore-gallium.patch to link against libdricore again
+
+ -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Tue, 22 Jan 2013 11:54:09 +0100
+
mesa (9.0.2-1) UNRELEASED; urgency=low
[ Julien Cristau ]
@@ -57,14 +66,6 @@ mesa (9.0.2-1) UNRELEASED; urgency=low
-- Julien Cristau <jcristau@debian.org> Fri, 03 Aug 2012 23:17:16 +0200
-mesa (9.0-0ubuntu1.1) UNRELEASED; urgency=low
-
- * Decrease size of mesa's libgl1-mesa-dri again
- - re-enable 117-static-gallium.patch
- - add 118-dricore-gallium.patch to link against libdricore again
-
- -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Tue, 22 Jan 2013 11:54:09 +0100
-
mesa (9.0.1-0ubuntu1) raring; urgency=low
* Merge from unreleased debian git.
commit e95192d9e88e2605125bd26241c2189d1b57a870
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date: Wed Jan 23 16:19:27 2013 +0100
switch back to llvm-3.1, and fix build failure in radeon
turns out it needs llvm-3.1 and -NDEBUG to build without issues, sigh!
diff --git a/debian/changelog b/debian/changelog
index 457fb49..00d0353 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,7 @@ mesa (9.0.2-1) UNRELEASED; urgency=low
- Set close on exec flag when opening dri devices (Closes: #651370).
* Refresh patches
- disable 05_kfreebsd-egl-x11.diff for now.
- - switch to llvm-3.2 (Closes: #678822).
+ - switch to llvm-3.1 (Closes: #678822).
* control: Added libtool to build-depends.
* rules: Drop special handling of config.{guess,sub}, not needed anymore.
* rules, libosmesa*: Build only the 32bit OSMesa library.
@@ -53,6 +53,7 @@ mesa (9.0.2-1) UNRELEASED; urgency=low
* Bump standards-version to 3.9.3.
* control: Bump libwayland-dev build-dep to 1.0.2.
* Remove 13-llvm-config-pick-a-version.diff and just pass a flag to configure.
+ * Add 16-radeon-ndebug.diff to fix a build failure against llvm
-- Julien Cristau <jcristau@debian.org> Fri, 03 Aug 2012 23:17:16 +0200
diff --git a/debian/control b/debian/control
index 87d0953..eae7f1e 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,7 @@ Build-Depends:
libudev-dev [linux-any],
flex,
bison,
- llvm-3.2-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
+ llvm-3.1-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
libwayland-dev (>= 1.0.2) [linux-any],
Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
diff --git a/debian/patches/16-radeon-ndebug.diff b/debian/patches/16-radeon-ndebug.diff
new file mode 100644
index 0000000..afdbda6
--- /dev/null
+++ b/debian/patches/16-radeon-ndebug.diff
@@ -0,0 +1,13 @@
+diff --git a/src/gallium/drivers/radeon/Makefile b/src/gallium/drivers/radeon/Makefile
+index 7f1c613..2dfad85 100644
+--- a/src/gallium/drivers/radeon/Makefile
++++ b/src/gallium/drivers/radeon/Makefile
+@@ -14,7 +14,7 @@ CXXFLAGS+= $(LLVM_CXXFLAGS)
+
+ include ../../Makefile.template
+
+-CXXFLAGS := $(filter-out -DDEBUG, $(CXXFLAGS))
++CXXFLAGS := $(filter-out -DDEBUG, $(CXXFLAGS)) -DNDEBUG
+
+ tablegen = $(TBLGEN) -I $(LLVM_INCLUDEDIR) $1 $2 -o $3
+
diff --git a/debian/patches/series b/debian/patches/series
index 3db9b71..c959e9c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
#11-hurd-ftbfs-again.diff
14-fix-osmesa-build.diff
15-fix-llvmpipe-test-linking.diff
+16-radeon-ndebug.diff
diff --git a/debian/rules b/debian/rules
index e2f68ed..a4127c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -190,7 +190,7 @@ $(STAMP)-build-%: configure
--infodir=\$${prefix}/share/info --sysconfdir=/etc \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--localstatedir=/var $(confflags) $(confflags-$*) \
- ac_cv_path_LLVM_CONFIG=llvm-config-3.2
+ ac_cv_path_LLVM_CONFIG=llvm-config-3.1
cd $(DEB_BUILD_DIR)/$* && $(MAKE)
>$@
commit d4123fa1c466edcd9784bac1aaa7e64162bba549
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Date: Wed Jan 23 13:39:48 2013 +0100
New upstream release 9.0.2
* New upstream release 9.0.2
* control: Bump libwayland-dev build-dep to 1.0.2
* Remove 13-llvm-config-pick-a-version.diff and just pass a flag to configure.
diff --git a/debian/changelog b/debian/changelog
index 4c3f863..457fb49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (9.0.1-1) UNRELEASED; urgency=low
+mesa (9.0.2-1) UNRELEASED; urgency=low
[ Julien Cristau ]
* Use xz for all binary packages not just *-dbg.
@@ -49,9 +49,10 @@ mesa (9.0.1-1) UNRELEASED; urgency=low
in Debian right now so let's just be complete.
[ Maarten Lankhorst ]
- * New upstream release 9.0.1
- * Bump standards-version to 3.9.3
- * control: Bump libwayland-dev build-dep to 0.99.
+ * New upstream release 9.0.2.
+ * Bump standards-version to 3.9.3.
+ * control: Bump libwayland-dev build-dep to 1.0.2.
+ * Remove 13-llvm-config-pick-a-version.diff and just pass a flag to configure.
-- Julien Cristau <jcristau@debian.org> Fri, 03 Aug 2012 23:17:16 +0200
diff --git a/debian/control b/debian/control
index ee50e25..87d0953 100644
--- a/debian/control
+++ b/debian/control
@@ -32,7 +32,7 @@ Build-Depends:
flex,
bison,
llvm-3.2-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
- libwayland-dev (>= 0.99.0) [linux-any],
+ libwayland-dev (>= 1.0.2) [linux-any],
Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
Homepage: http://mesa3d.sourceforge.net/
diff --git a/debian/patches/13-llvm-config-pick-a-version.diff b/debian/patches/13-llvm-config-pick-a-version.diff
deleted file mode 100644
index 01eb3cc..0000000
--- a/debian/patches/13-llvm-config-pick-a-version.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-Several versions of llvm can coexist in the archive (at the time of this
-writing, 2.9, 3.0, 3.1 and 3.2), so pick a version. Let's assume the last version
-receives bug fixes quickly, so pick 3.2 for now.
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -1638,9 +1638,9 @@ if test "x$enable_gallium_llvm" = xauto;
- fi
- if test "x$enable_gallium_llvm" = xyes; then
- if test "x$llvm_prefix" != x; then
-- AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no], ["$llvm_prefix/bin"])
-+ AC_PATH_PROG([LLVM_CONFIG], [llvm-config-3.2], [no], ["$llvm_prefix/bin"])
- else
-- AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no])
-+ AC_PATH_PROG([LLVM_CONFIG], [llvm-config-3.2], [no])
- fi
-
- if test "x$LLVM_CONFIG" != xno; then
diff --git a/debian/patches/series b/debian/patches/series
index 0d68a36..3db9b71 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,6 +5,5 @@
08-kfreebsd-gallium.diff
10-hurd-configure-tweaks.diff
#11-hurd-ftbfs-again.diff
-13-llvm-config-pick-a-version.diff
14-fix-osmesa-build.diff
15-fix-llvmpipe-test-linking.diff
diff --git a/debian/rules b/debian/rules
index 248e7a0..e2f68ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -189,7 +189,8 @@ $(STAMP)-build-%: configure
../../configure --prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info --sysconfdir=/etc \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
- --localstatedir=/var $(confflags) $(confflags-$*)
+ --localstatedir=/var $(confflags) $(confflags-$*) \
+ ac_cv_path_LLVM_CONFIG=llvm-config-3.2
cd $(DEB_BUILD_DIR)/$* && $(MAKE)
>$@
commit 1c1b4244081f2ad2c84a80a6f68a6b7fd1aefbe9
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Sun Jan 20 15:40:11 2013 +0100
docs: Add 9.0.2 release notes
diff --git a/docs/relnotes-9.0.2.html b/docs/relnotes-9.0.2.html
new file mode 100644
index 0000000..2db5f3e
--- /dev/null
+++ b/docs/relnotes-9.0.2.html
@@ -0,0 +1,280 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Mesa Release Notes</title>
+ <link rel="stylesheet" type="text/css" href="mesa.css">
+</head>
+<body>
+
+<h1>Mesa 9.0.2 Release Notes / January 22th, 2013</h1>
+
+<p>
+Mesa 9.0.2 is a bug fix release which fixes bugs found since the 9.0.1 release.
+</p>
+<p>
+Mesa 9.0 implements the OpenGL 3.1 API, but the version reported by
+glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
+glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
+Some drivers don't support all the features required in OpenGL 3.1. OpenGL
+3.1 is <strong>only</strong> available if requested at context creation
+because GL_ARB_compatibility is not supported.
+</p>
+
+<h2>MD5 checksums</h2>
+<pre>
+TBD
+</pre>
+
+<h2>New features</h2>
+<p>None.</p>
+
+<h2>Bug fixes</h2>
+
+<p>This list is likely incomplete.</p>
+
+<ul>
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=22576">Bug 22576</a> - [KMS] mesa demo spectex broken on rv280</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=26809">Bug 26809</a> - KMS/R200: Bad shading in NWN since Mesa rewrite</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=45877">Bug 45877</a> - [bisected regression] Oglc fbo(negative.invalidParams3) Segmentation fault</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=54402">Bug 54402</a> - st_glsl_to_tgsi.cpp:4006:dst_register: Assertion `index < VERT_RESULT_MAX' failed</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=55175">Bug 55175</a> - Memoryleak with glPopAttrib only on Intel GM45</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=56442">Bug 56442</a> - glcpp accepts junk after #else/#elif/#endif tokens</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=56706">Bug 56706</a> - EGL sets error to EGL_SUCCESS when DRI driver fails to create context</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=57622">Bug 57622</a> - Webgl conformance shader-with-non-reserved-words crash.</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=57842">Bug 57842</a> - r200: Culling is broken when rendering to an FBO</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=57984">Bug 57984</a> - r300g: blend sfactor=GL_DST_COLOR fails with FBOs</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=58545">Bug 58545</a> - [llvmpipe] src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:75:analyse_src: Assertion `src->Index < (sizeof(ctx->imm)/sizeof((ctx->imm)[0]))' failed.</li>
+
+<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=59383">Bug 59383</a> - src/glsl/tests/Makefile.am missing $(top_srcdir)/include</li>
+
+<!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> -->
+</ul>
+
+
+<h2>Changes</h2>
+<p>The full set of changes can be viewed by using the following GIT command:</p>
+
+<pre>
+ git log mesa-9.0.1..mesa-9.0.2
+</pre>
+
+<p>Abdiel Janulgue (1):</p>
+<ul>
+ <li>mesa: Fix a crash in update_texture_state() for external texture type</li>
+</ul>
+
+<p>Adam Jackson (4):</p>
+<ul>
+ <li>glcpp: Fix visibility CFLAGS in automake</li>
+ <li>glcpp: Typo fix.</li>
+ <li>galahad, noop: Fix visibility CFLAGS in automake</li>
+ <li>r300g: Fix visibility CFLAGS in automake</li>
+</ul>
+
+<p>Alex Deucher (2):</p>
+<ul>
+ <li>radeonsi: add some new SI pci ids</li>
+ <li>radeonsi: add a new SI pci id</li>
+</ul>
+
+<p>Ander Conselvan de Oliveira (2):</p>
+<ul>
+ <li>egl/wayland: Don't invalidate drawable on swap buffers</li>
+ <li>egl/wayland: Dispatch the event queue before get_buffers</li>
+ <li>egl/wayland: Destroy the pending buffer callback with the egl surface</li>
+</ul>
+
+<p>Andreas Boll (9):</p>
+<ul>
+ <li>docs: fix release date of 9.0.1</li>
+ <li>docs: add news item for 9.0.1 release</li>
+ <li>Add .dirstamp to toplevel .gitignore</li>
+ <li>build: use git ls-files for adding all Makefile.in into the release tarball</li>
+ <li>build: Fix GLES linkage without libglapi</li>
+ <li>Revert "r600g: try to fix streamout for the cases where BURST_COUNT > 0"</li>
+ <li>mesa: update .cherry-ignore list</li>
+ <li>mesa: Bump version to 9.0.2</li>
+ <li>docs: Add 9.0.2 release notes</li>
+</ul>
+
+<p>Anuj Phogat (2):</p>
+<ul>
+ <li>mesa: Generate invalid operation in glGenerateMipMap for integer textures</li>
+ <li>meta: Remove redundant code in _mesa_meta_GenerateMipmap</li>
+</ul>
+
+<p>Ben Skeggs (3):</p>
+<ul>
+ <li>nvc0: fix missing permanent bo reference on poly cache</li>
+ <li>nvc0: point vertex runout at a valid address</li>
+ <li>nv50: point vertex runout at a valid address</li>
+</ul>
+
+<p>Brian Paul (5):</p>
+<ul>
+ <li>svga: don't use uninitialized framebuffer state</li>
+ <li>st/mesa: replace REALLOC() with realloc()</li>
+ <li>st/mesa: free TGSI tokens with ureg_free_tokens()</li>
+ <li>util: added pipe_surface_release() function</li>
+ <li>gallivm: support more immediates in lp_build_tgsi_info()</li>
+</ul>
+
+<p>Bryan Cain (1):</p>
+<ul>
+ <li>glsl_to_tgsi: set correct register type for array and structure elements</li>
+</ul>
+
+<p>Chad Versace (2):</p>
+<ul>
+ <li>i965: Validate requested GLES context version in brwCreateContext</li>
+ <li>egl/dri2: Set error code when dri2CreateContextAttribs fails</li>
+</ul>
+
+<p>Chris Fester (1):</p>
+<ul>
+ <li>util: null-out the node's prev/next pointers in list_del()</li>
+</ul>
+
+<p>Christoph Bumiller (5):</p>
+<ul>
+ <li>nv50/ir/tgsi: fix srcMask for TXP with SHADOW1D</li>
+ <li>nvc0: add missing call to map edge flag in push_vbo</li>
+ <li>nv50/ir: wrap assertion using typeid in #ifndef NDEBUG</li>
+ <li>nouveau: fix undefined behaviour when testing sample_count</li>
+ <li>nv50/ir: restore use of long immediate encodings</li>
+</ul>
+
+<p>Dave Airlie (5):</p>
+<ul>
+ <li>r600g: fix lod bias/explicit lod with cube maps.</li>
+ <li>glsl_to_tgsi: fix dst register for texturing fetches.</li>
+ <li>glsl: fix cut-n-paste error in error handling. (v2)</li>
+ <li>glsl: initialise killed_all field.</li>
+ <li>glsl: fix uninitialised variable from constructor</li>
+</ul>
+
+<p>Eric Anholt (4):</p>
+<ul>
+ <li>mesa: Fix the core GL genned-name handling for glBindBufferBase()/Range().</li>
+ <li>mesa: Fix core GL genned-name handling for glBeginQuery().</li>
+ <li>mesa: Fix segfault on reading from a missing color read buffer.</li>
+ <li>i965/gen4: Fix memory leak each time compile_gs_prog() is called.</li>
+</ul>
+
+<p>Ian Romanick (2):</p>
+<ul>
+ <li>docs: Add 9.0.1 release md5sums</li>
+ <li>glsl: Don't add structure fields to the symbol table</li>
+</ul>
+
+<p>Johannes Obermayr (4):</p>
+<ul>
+ <li>clover: Install CL headers.</li>
+ <li>gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.</li>
+ <li>clover: Adapt libclc's INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc.</li>
+ <li>tests: AM_CPPFLAGS must include $(top_srcdir) instead of $(top_builddir).</li>
+</ul>
+
+<p>Jonas Ådahl (1):</p>
+<ul>
+ <li>wayland: Don't cancel a roundtrip when any event is received</li>
+</ul>
+
+<p>José Fonseca (1):</p>
+<ul>
+ <li>llvmpipe: Obey back writemask.</li>
+</ul>
+
+<p>Kenneth Graunke (8):</p>
+<ul>
+ <li>i965/vs: Fix unit mismatch in scratch base_offset parameter.</li>
+ <li>i965/vs: Implement register spilling.</li>
+ <li>mesa: Don't flatten IF statements by default.</li>
+ <li>glcpp: Don't use infinite lookhead for #define differentiation.</li>
+ <li>i965/vs: Don't lose the MRF writemask when doing compute-to-MRF.</li>
+ <li>i965/vs: Preserve the type when copy propagating into an instruction.</li>
+ <li>mesa: Fix glGetVertexAttribI[u]iv now that we have real integer attribs.</li>
+ <li>i965: Fix AA Line Distance Mode in 3DSTATE_SF on Ivybridge.</li>
+</ul>
+
+<p>Kristian Høgsberg (1):</p>
+<ul>
+ <li>egl/wayland: Add invalidate back in eglSwapBuffers()</li>
+</ul>
+
+<p>Maarten Lankhorst (2):</p>
+<ul>
+ <li>makefiles: use configured name for -ldrm* where possible</li>
+ <li>automake: strip LLVM_CXXFLAGS and LLVM_CPPFLAGS too</li>
+</ul>
+
+<p>Marek Olšák (17):</p>
+<ul>
+ <li>st/mesa: fix integer texture border color for some formats (v2)</li>
+ <li>r300g: fix texture border color for sRGB formats</li>
+ <li>mesa: bump MAX_VARYING to 32</li>
+ <li>draw: fix assertion failure in draw_emit_vertex_attr</li>
+ <li>vbo: fix glVertexAttribI* functions</li>
+ <li>mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2</li>
+ <li>mesa: fix error checking of TexStorage(levels) for array and rect textures</li>
+ <li>st/mesa: fix guessing the base level size</li>
+ <li>st/mesa: fix computation of last_level during texture creation</li>
+ <li>st/mesa: fix computation of last_level in GenerateMipmap</li>
+ <li>r600g: fix streamout on RS780 and RS880</li>
+ <li>r600g: advertise 32 streamout vec4 outputs</li>
+ <li>r600g: fix broken streamout if streamout_begin caused a context flush</li>
+ <li>mesa: fix BlitFramebuffer between linear and sRGB formats</li>
+ <li>r600g: try to fix streamout for the cases where BURST_COUNT > 0</li>
+ <li>r600g: always use a tiled resource as the destination of MSAA resolve</li>
+ <li>mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2</li>
+</ul>
+
+<p>Mario Kleiner (1):</p>
+<ul>
+ <li>mesa: Don't glPopAttrib() GL_POINT_SPRITE_COORD_ORIGIN on < OpenGL-2.0</li>
+</ul>
+
+<p>Matt Turner (1):</p>
+<ul>
+ <li>glcpp: Reject garbage after #else and #endif tokens</li>
+</ul>
+
+<p>Stefan Dösinger (1):</p>
+<ul>
+ <li>r300: Don't disable destination read if the src blend factor needs it</li>
+</ul>
+
+<p>Tapani Pälli (1):</p>
+<ul>
+ <li>android: generate matching remap_helper to dispatch table</li>
+</ul>
+
+<p>Tom Stellard (1):</p>
+<ul>
+ <li>r600g: Use LOOP_START_DX10 for loops</li>
+</ul>
+
+<p>Vinson Lee (1):</p>
+<ul>
+ <li>i915: Fix wrong sizeof argument in i915_update_tex_unit.</li>
+</ul>
+
+<p>smoki (2):</p>
+<ul>
+ <li>r200: fix broken tcl lighting</li>
+ <li>radeon/r200: Fix tcl culling</li>
+</ul>
+
+</body>
+</html>
diff --git a/docs/relnotes.html b/docs/relnotes.html
index d9b9cf1..2d9b333 100644
--- a/docs/relnotes.html
+++ b/docs/relnotes.html
@@ -14,6 +14,7 @@ The release notes summarize what's new or changed in each Mesa release.
</p>
<ul>
+<li><a href="relnotes-9.0.2.html">9.0.2 release notes</a>
<li><a href="relnotes-9.0.1.html">9.0.1 release notes</a>
<li><a href="relnotes-9.0.html">9.0 release notes</a>
<li><a href="relnotes-8.0.4.html">8.0.4 release notes</a>
commit 2b2ab2b3eab6f016dc7027ee4610f5f9500a0ac7
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Sun Jan 20 15:18:44 2013 +0100
mesa: Bump version to 9.0.2
diff --git a/Makefile.am b/Makefile.am
index 72445b4..946c6bb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,7 @@ distclean-local:
# Rules for making release tarballs
-PACKAGE_VERSION=9.0.1
+PACKAGE_VERSION=9.0.2
PACKAGE_DIR = Mesa-$(PACKAGE_VERSION)
PACKAGE_NAME = MesaLib-$(PACKAGE_VERSION)
diff --git a/configs/default b/configs/default
index e5d4705..626b924 100644
--- a/configs/default
+++ b/configs/default
@@ -10,7 +10,7 @@ CONFIG_NAME = default
# Version info
MESA_MAJOR=9
MESA_MINOR=0
-MESA_TINY=1
+MESA_TINY=2
MESA_VERSION = $(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
# external projects. This should be useless now that we use libdrm.
diff --git a/configure.ac b/configure.ac
index e2caabe..682e0a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ dnl Tell the user about autoconf.html in the --help output
m4_divert_once([HELP_END], [
See docs/autoconf.html for more details on the options for Mesa.])
-AC_INIT([Mesa], [9.0.1],
+AC_INIT([Mesa], [9.0.2],
[https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa])
AC_CONFIG_AUX_DIR([bin])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index a1cc438..303f9a8 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -34,8 +34,8 @@ struct gl_context;
/* Mesa version */
#define MESA_MAJOR 9
#define MESA_MINOR 0
-#define MESA_PATCH 1
-#define MESA_VERSION_STRING "9.0.1"
+#define MESA_PATCH 2
+#define MESA_VERSION_STRING "9.0.2"
/* To make version comparison easy */
#define MESA_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
commit 81d40e66ad1c0c53c1de2f183a4987a3159c7c55
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Date: Mon Jan 21 17:36:52 2013 +0200
egl/wayland: Destroy the pending buffer callback with the egl surface
Otherwise, we crash when the callback is executed, since the dri2_surf
pointer may point to invalid data.
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 3c42338..2e7b547 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -177,6 +177,7 @@ struct dri2_egl_surface
__DRIbuffer *third_buffer;
__DRIbuffer *pending_buffer;
struct wl_callback *frame_callback;
+ struct wl_callback *pending_buffer_callback;
int format;
#endif
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index 59371d6..ccff9a8 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -145,6 +145,7 @@ dri2_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type,
dri2_surf->pending_buffer = NULL;
dri2_surf->third_buffer = NULL;
dri2_surf->frame_callback = NULL;
+ dri2_surf->pending_buffer_callback = NULL;
if (conf->AlphaSize == 0)
dri2_surf->format = WL_DRM_FORMAT_XRGB8888;
@@ -232,6 +233,9 @@ dri2_destroy_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf)
if (dri2_surf->frame_callback)
wl_callback_destroy(dri2_surf->frame_callback);
+ if (dri2_surf->pending_buffer_callback)
+ wl_callback_destroy(dri2_surf->pending_buffer_callback);
+
if (dri2_surf->base.Type == EGL_WINDOW_BIT) {
dri2_surf->wl_win->private = NULL;
@@ -299,6 +303,7 @@ dri2_release_pending_buffer(void *data,
dri2_surf->pending_buffer = NULL;
wl_callback_destroy(callback);
+ dri2_surf->pending_buffer_callback = NULL;
}
static const struct wl_callback_listener release_buffer_listener = {
@@ -331,6 +336,7 @@ dri2_release_buffers(struct dri2_egl_surface *dri2_surf)
&release_buffer_listener, dri2_surf);
wl_proxy_set_queue((struct wl_proxy *) callback,
dri2_dpy->wl_queue);
+ dri2_surf->pending_buffer_callback = callback;
break;
default:
dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen,
commit cd0e19a749951c0d7e88e3cce5cf71de54681d11
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Sun Jan 20 15:14:40 2013 +0100
mesa: update .cherry-ignore list
diff --git a/bin/.cherry-ignore b/bin/.cherry-ignore
index 35f6e1d..132aadc 100644
--- a/bin/.cherry-ignore
+++ b/bin/.cherry-ignore
@@ -1,5 +1,10 @@
# These commits were cherry picked without using -x.
-# TBD
+ca3ed3e024864e91ca3cccc59fb96950e1d079b5 egl/wayland: Don't invalidate drawable on swap buffers
+89ba4368fd86778405eea163e2b27812055f0df9 egl/wayland: Add invalidate back in eglSwapBuffers()
+60a11e295b86475ff334291a5b483e422371b21c egl/wayland: Dispatch the event queue before get_buffers
+41e105d5beb78c42993a602cc58d0f990739b088 nvc0: add missing call to map edge flag in push_vbo
+be75a9373a6d0f9e2ef35ac376a541e60d72d306 nv50/ir: wrap assertion using typeid in #ifndef NDEBUG
+7d2d450ea6d8082db14cd3f86c6c25442bf771c5 nouveau: fix undefined behaviour when testing sample_count
# Causes too many regressions...
413c4914129cd26ca87960852d8c0264c0fb29e7 intel: Improve teximage perf for Google Chrome paint rects (v3)
commit 88258e0dfe2371c2d591f27fba3511977e31e5ea
Author: Andreas Boll <andreas.boll.dev@gmail.com>
Date: Fri Jan 18 12:46:52 2013 +0100
Revert "r600g: try to fix streamout for the cases where BURST_COUNT > 0"
This reverts commit 42f71b4861b9d01a8f925fea3182fc1a292222f3.
Fixes the following piglit regressions on my rv770
./bin/ext_transform_feedback-output-type float[2] -auto -fbo
./bin/ext_transform_feedback-output-type float[2]-no-subscript -auto -fbo
./bin/ext_transform_feedback-output-type int[2] -auto -fbo
./bin/ext_transform_feedback-output-type int[2]-no-subscript -auto -fbo
./bin/ext_transform_feedback-output-type uint[2] -auto -fbo
./bin/ext_transform_feedback-output-type uint[2]-no-subscript -auto -fbo
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 75144a6..e64f624 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1482,7 +1482,7 @@ static int r600_shader_from_tgsi(struct r600_context * rctx, struct r600_pipe_sh
memset(&output, 0, sizeof(struct r600_bytecode_output));
output.gpr = shader->output[so.output[i].register_index].gpr;
- output.elem_size = so.output[i].num_components;
+ output.elem_size = 0;
output.array_base = so.output[i].dst_offset - so.output[i].start_component;
output.type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_WRITE;
output.burst_count = 1;
commit d63e946587bb104e2b320fbebafe25bb969d01b8
Author: Johannes Obermayr <johannesobermayr@gmx.de>
Date: Sat Dec 29 01:52:11 2012 +0100
tests: AM_CPPFLAGS must include $(top_srcdir) instead of $(top_builddir).
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
(cherry picked from commit ebcabb88cfd19b35cd1b0a327fa055fff0c1b2be)
Additionally it fixes the missing $(top_srcdir)/include in
src/glsl/tests/Makefile.am
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59383
diff --git a/src/glsl/tests/Makefile.am b/src/glsl/tests/Makefile.am
index 957bb55..eaf5a3c 100644
--- a/src/glsl/tests/Makefile.am
+++ b/src/glsl/tests/Makefile.am
@@ -1,8 +1,9 @@
AM_CPPFLAGS = \
- -I$(top_builddir)/src/gtest/include \
- -I$(top_builddir)/src/mesa \
- -I$(top_builddir)/src/mapi \
- -I$(top_builddir)/src/glsl
+ -I$(top_srcdir)/src/gtest/include \
+ -I$(top_srcdir)/src/mesa \
+ -I$(top_srcdir)/src/mapi \
+ -I$(top_srcdir)/src/glsl \
+ -I$(top_srcdir)/include
TESTS_ENVIRONMENT= \
export PYTHON2=$(PYTHON2); \
diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am
index 83626fd..d940712 100644
--- a/src/glx/tests/Makefile.am
+++ b/src/glx/tests/Makefile.am
@@ -1,11 +1,11 @@
if HAVE_SHARED_GLAPI
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
- -I$(top_builddir)/src/gtest/include \
- -I$(top_builddir)/src/mapi \
- -I$(top_builddir)/src/mesa \
- -I$(top_builddir)/src/glx \
- -I$(top_builddir)/include \
+ -I$(top_srcdir)/src/gtest/include \
+ -I$(top_srcdir)/src/mapi \
+ -I$(top_srcdir)/src/mesa \
+ -I$(top_srcdir)/src/glx \
+ -I$(top_srcdir)/include \
$(X11_CFLAGS)
TESTS = glx-test
diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
index 23d0208..98065fc 100644
--- a/src/mapi/shared-glapi/tests/Makefile.am
+++ b/src/mapi/shared-glapi/tests/Makefile.am
@@ -1,9 +1,9 @@
if HAVE_SHARED_GLAPI
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
- -I$(top_builddir)/src/gtest/include \
- -I$(top_builddir)/src/mapi \
- -I$(top_builddir)/include
+ -I$(top_srcdir)/src/gtest/include \
+ -I$(top_srcdir)/src/mapi \
+ -I$(top_srcdir)/include
TESTS = shared-glapi-test
check_PROGRAMS = shared-glapi-test
commit 4cf2be408eeabd7ae8b0d3c3c81a6dc17e98e323
Author: Tom Stellard <thomas.stellard@amd.com>
Date: Mon Sep 17 14:33:56 2012 +0000
r600g: Use LOOP_START_DX10 for loops
LOOP_START_DX10 ignores the LOOP_CONFIG* registers, so it is not limited
to 4096 iterations like the other LOOP_* instructions. Compute shaders
need to use this instruction, and since we aren't optimizing loops with
the LOOP_CONFIG* registers for pixel and vertex shaders, it seems like
we should just use it for everything.
Reply to: