Mesa (8.0): 42 new commits
Ian Romanick
idr at kemper.freedesktop.org
Fri May 18 06:52:24 UTC 2012
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=869c34527a51c2797effd4ba1169dcb57d4bbffd
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Mon Feb 27 11:09:29 2012 -0800
intel: Fix a case when mapping large texture fails
This is a squash of:
intel: Fix a case when mapping large texture fails
This patch handles a case when mapping a large texture fails
in drm_intel_gem_bo_map_gtt(). These changes avoid assertion
failure later in the driver as reported in following bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=44970
https://bugs.freedesktop.org/show_bug.cgi?id=46303
Testing: No regressions in piglit quick.tests
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
(cherry picked from commit cdcfd5d1d60179e60e3a0a47dda71bfe91083105)
and:
intel: fix un-blanced map_refcount issue
This is a regression introduced by commit cdcfd5, which forget to
increase the map_refcount for successfully-mapped region. Thus caused a
wrong non-blanced map_refcount.
This would fix the regression found in the two following webglc testcase
on Pineview platform:
texture-npot.html
gl-max-texture-dimensions.html
Cc: Anuj Phogat <anuj.phogat at gmail.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
(cherry picked from commit 9cb777eb71dde895ca0ad3454a9b44252e9b402e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e7f09910897cad2c07d5009c334c42e6bb56723
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Mon Mar 12 10:39:48 2012 -0700
mesa: Fix the cause of piglit test fbo-array failure
Handle the special case of glFramebufferTextureLayer() for which we pass
teximage = 0 internally in framebuffer_texture(). This patch makes failing
piglit test fbo-array, fbo-depth-array to pass.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47126
V4: Removed the duplicated code.
Note: This is a candidate for the stable branches.
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc2413c889c40225ef705f6762ee1e389744f879
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Mar 8 11:06:42 2012 -0800
drirc: Add force_glsl_extensions_warn workaround for Unigine Heaven.
Unfortunately, Unigine Heaven 3.0 still needs this.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 60218b604ae3422983dd1cd24f5d913e18f73ac0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ebdf222248dcbad59859ea0f98ce53a51f44b24
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Fri Mar 2 12:00:51 2012 -0800
mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv()
_mesa_max_texture_levels() is also used to test valid texture target
in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed
as texture target in glGetTexLevelParameter(). So, this should throw
GL_INVALID_ENUM error.
Few other functions which use _mesa_max_texture_levels() like
getcompressedteximage_error_check() and getteximage_error_check()
also don't accept GL_TEXTURE_CUBE_MAP.
Above fix makes piglit fbo-cubemap test to fail. This is because of
incorrect texture target passed to _mesa_max_texture_levels() in
framebuffer_texture(). Fixing that as well
Note: This is a candidate for the stable branches
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit a9523af0e88017d683c19ff238bfc5eb7cb88fd0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3f6e8f4316d78caed3cfffdb63c157d0e1fa987
Author: Kurt Roeckx <kurt at roeckx.be>
Date: Fri Mar 2 17:31:23 2012 -0800
i915: Fix i830 polygon stipple from PBOs.
This is a direct port of the i915 patch in
a856da63247a4b403f6350914f732e14d1530ed1.
Fixes glean's pbo test.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41372
Reviewed-by: Eric Anholt <eric at anholt.net>
NOTE: This is a candidate for release branches.
(cherry picked from commit 489ac8e73a2432d29597a62cd83f09b9d1848533)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5696077656299d8617d4e71efcc5f8b0632a969c
Author: Kurt Roeckx <kurt at roeckx.be>
Date: Fri Mar 2 15:34:45 2012 -0800
i915: Compute maximum number of verts using the actual batchbuffer size.
We were looking at the size of batch.map for how big the batchbuffer
was, but on 865 we just use a single-page batchbuffer due to hardware
limits.
v2: Removed check for sizeof map < bo->size, since that's always false.
[change by anholt]
NOTE: This is a candidate for release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41495
(cherry picked from commit 024ece7523f1735d2fca0067c0a3bdcf53fde8f9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=815d6e3f2f6c48104268195b7d48976d189b9d30
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Nov 9 22:21:16 2011 +0000
i830: Compute initial number of vertices from remaining batch space
In order to prevent an overflow of the batch buffer when emitting
triangles, we need to limit the initial primitive to fit within the
current batch. To do we need to measure the remaining space and thence
compute the maximum number of vertices that fit into that space.
Reported-by: Kurt Roeckx <kurt at roeckx.be>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41495
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Eric Anholt <eric at anholt.net>
NOTE: This is a candidate for release branches.
(cherry picked from commit 33b07893e92dcee495908c549be872887096c894)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9aa4607c54affcec38d814cd9abc9b9056a5d47
Author: Alban Browaeys <prahal at yahoo.com>
Date: Thu Feb 2 19:20:22 2012 +0100
dri/i915: Fix off-by-one in i830 clip region size.
The hardware, like i915, uses an inclusive bounds on min and max for
the drawing rectangle, but we were providing a number for exclusive.
The number of bits used by the hardware only covers this value going
up to the maximum size, so when we programmed 2048 as the maximum
inclusive X, it saw a maximum X of 0 and clipped all rendering. This
caused rendering failures in gnome-shell.
Fixes piglit fbo-maxsize.
v2: dropped changes to the blitter, which does use an exclusive x2, y2.
[change by anholt]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45558
Reviewed-by: Eric Anholt <eric at anholt.net>
NOTE: This is a candidate for release branches.
(cherry picked from commit 7d13a6e64bf88566875a8f68e0aac9b937e30feb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a164f23d093022cd2435a0bb781792998986a1b4
Author: Eric Anholt <eric at anholt.net>
Date: Fri Mar 2 13:09:51 2012 -0800
i915: Fix piglit fbo-nodepth-test on i830.
This is a direct port of fc4fba52cf7e9616c70dd76b4d6bdba6582e157b from
i915, and fixes GPU hangs when running piglit.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41372
Reviewed-by: Eric Anholt <eric at anholt.net>
NOTE: This is a candidate for release branches.
(cherry picked from commit 4d4f2daefabdc4ca1dd778a9265475c65ef52936)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=31aaf56f28e0410543f6b1d3199fffc624a1bc6d
Author: Eric Anholt <eric at anholt.net>
Date: Tue Feb 28 13:33:53 2012 -0800
mesa: Add missing error check for first < 0 in glDrawArraysInstanced().
Fixes piglit GL_ARB_draw_instanced/negative-arrays-first-negative.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 767ba60831657a684e3852c398a0d13d1201158f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bbd4359006a2c02ac662c76ac80ff0e61c6d675
Author: Eric Anholt <eric at anholt.net>
Date: Tue Feb 28 13:33:52 2012 -0800
mesa: Fix display lists for draw_elements_base_vertex with draw_instanced.
Fixes piglit GL_ARB_draw_elements_base_vertex/dlist-arb_draw_instanced
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 871518dbf8266fe91d09e3368fe2bc90603cd3b1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe64ad0cba965a0334276560b291c9eba8c2ad25
Author: Eric Anholt <eric at anholt.net>
Date: Tue Feb 28 13:33:51 2012 -0800
mesa: Fix display list handling for GL_ARB_draw_instanced.
When you called them in a display list compile before, you would just
end up calling through NULL.
Fixes piglit GL_ARB_draw_instanced/dlist.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 3c69a18b6a9f292542672c58bb324a69b750a208)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae02489a6dc173fec03277a84c6ef40f7c906103
Author: Paul Berry <stereotype441 at gmail.com>
Date: Thu Feb 16 16:00:45 2012 -0800
i915: Initialize swrast_texture_image structure fields.
Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale
fields to swrast) moved the initialization of the Width, Height, and
DepthScale fields to _swrast_alloc_texture_image_buffer(). However,
i915 doesn't call this function because it performs its own buffer
allocation. As a result, the Width, Height, and DepthScale fields
weren't getting initialized properly, and some operations requiring
swrast would fail.
This patch ensures that Width, Height, and DepthScale are properly
initialized by separating the code that sets them into a new function,
_swrast_init_texture_image(), which is called by
intel_alloc_texture_image_buffer() as well as
_swrast_alloc_texture_image_buffer(). It also moves the
initialization of _IsPowerOfTwo into this function.
Fixes piglit test fbo/fbo-cubemap on i915.
Partially fixes https://bugs.freedesktop.org/show_bug.cgi?id=41216
This is a candidate for the 8.0 branch.
Reviewed-and-tested-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 80513ec8b4c812b9c6249cc5824337a5f04ab34c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00a182d66eac8bc8b7dbcbef887fe9a288afde49
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Wed Feb 15 15:40:51 2012 -0800
mesa: fix issues with texture border and array textures
For a 1D texture array, the border only applies to the width. For a 2D
texture array the border applies to the width and height but not the depth.
Sucha cases were not handled correctly in _mesa_init_teximage_fields().
Note: This is a candidate for stable branches
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit b5c409363cfd144b1caad50b77ccc7591de42af2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88cbc43d1f3e2da991e091894d777a2ddb63f268
Author: Brian Paul <brianp at vmware.com>
Date: Sun Feb 19 19:50:31 2012 -0700
mesa: add missing return after _mesa_error() in update_array()
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit e14b3573676af291669ee6ef4a295fc61a22c8d8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d342246e2b70c1b420c031a8b6ebac8ada37b5a2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sat Feb 18 13:08:29 2012 -0800
i965: Make the dummy fragment shader work in SIMD16 mode.
If you're resorting to the dummy shader, you've probably already turned
off SIMD16 mode. But if you didn't, it would die in a fire.
We could either fail to compile in SIMD16 mode...or just fix it.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit df5963c25641a7c3a4bbfcb81cc3dc771581590e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51e1111bd639e8cd0c66fb6730d945227d2788cd
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sat Feb 18 12:59:40 2012 -0800
i965: Fix GPU hangs in the dummy fragment shader.
The dummy FB write failed to specify EOT and a message length, causing
the GPU to hang. Now we can enjoy "everyone's favorite color" again.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 393b42240f22dbbfb4f089036319031ad36173f3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b85c5d9344eb19f7012c0906aaff2c2cd11f83ba
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Feb 8 05:08:24 2012 -0800
vbo: Eliminate short-circuiting in invalid-start case.
Now that we have a index_range_invalid flag, we can just use that rather
than calling vbo_validated_drawrangeelements directly and returning.
NOTE: This is a candidate for release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 6e738d35c5c88769ececbadd5f4ac14d36647168)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb2eb97bafc13e3786f995fcac1dbca791b86003
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Feb 8 05:08:23 2012 -0800
vbo: Rework checking of 'end' against _MaxElement.
This failed to take basevertex into account:
If basevertex < 0:
(end + basevertex) might actually be in-bounds while 'end' is not.
We would have clamped in this case when we probably shouldn't.
This could break application drawing.
If basevertex > 0:
'end' might be in-bounds while (end + basevertex) might not.
We would have failed to clamp in this place. There's a comment
indicating the TNL module depends on max_index being in-bounds;
if so, it would likely break horribly.
Rather than trying to clamp correctly in the face of basevertex, simply
delete the clamping code and indicate that we don't have a valid range.
This causes _tnl_vbo_draw_prims to use vbo_get_minmax_indices() to
compute the actual bounds, which is much safer.
NOTE: This is a candidate for release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit 112b02c32402d96fd7d526ab84877bb66dc12de4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7032a56c852a30e67752ccec1423a66888fea4d3
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Feb 8 05:08:22 2012 -0800
vbo: Ignore invalid element ranges which are outside VBO bounds.
Some applications, such as Regnum Online, appear to pass invalid
start/end values to glDrawRangeElements. In particular, the 'start'
index sometimes exceeds the maximum array element. This is clearly
invalid behavior, and although the spec isn't clear, seems to result
in undefined, implementation-specific behavior.
This patch takes the conservative approach and simply ignores the range,
while issuing a warning indicating that the application is broken and
should be fixed.
NOTE: This is a candidate for release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45214
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44701
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41152
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40361
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28138
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com> [v1]
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit f00c97b23f78f3ccd1ea554ceebe7a33de7f81cf)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3aaf3c85e4fb57bfafc66082b26b6529c2c93a10
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Feb 8 05:08:21 2012 -0800
vbo: Remove pedantic warning about 'end' beind out of bounds.
The application supplied [start, end] range is merely a conservative
hint of the ranges of index values inside the index buffer. There is no
requirement that all vertices in the range [start, end] be referenced.
Passing an 'end' value larger than the maximum legal index is perfectly
acceptible; applications can legally pass 0xffffffff when they don't
have a tighter bound readily available.
Thus, the warning doesn't indicate a correctness issue; it could only
indicate a performance issue. However, it does not even do that.
glDrawRangeElements is designed to optimize non-VBO vertex data uploads
by providing an upper bound on the size of buffers a driver would need
to allocate. With VBOs, the data is already in an uploaded buffer, so
the range doesn't help.
The clincher is: we only know _MaxElement for VBOs. For user-space
arrays, we just set it to 2,000,000,000 (see mesa/main/varray.h:63.)
So we can only check this in the case where it is not useful.
Many applications, including the Unigine demos, currently trigger this
warning, which suggests the applications are buggy when they're actually
fine. Eliminating the warning should confuse users less while not
actually losing any benefit to application developers.
NOTE: This is a candidate for release branches.
Suggested-by: Jose Fonseca <jfonseca at vmware.com>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit f9be8543aab9005c30b38331b9f7250a01720942)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a24f0868f169bc90a886af42e589a31eac969e8
Author: Brian Paul <brianp at vmware.com>
Date: Wed Feb 15 15:29:29 2012 -0700
mesa: add missing texture integer test in glTexSubImage()
If the texture format is integer, the incoming user data must also be
integer (and similarly for non-integer textures).
NOTE: This is a candidate for the stable branches.
Reviewed-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 6f3d91840945fbd9221a247e4f95b32c4051f202)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a325146f11e87c64d9a5814539dcd7f35acb2008
Author: Eric Anholt <eric at anholt.net>
Date: Mon Feb 13 13:36:06 2012 -0800
mesa: Include the multisample enables under GL_MULTISAMPLE_BIT attrib as well.
Fixes (with the previous commit) piglit GL_ARB_multisample/pushpop.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit b631b471d86747c8bb20c6c9c413ff1ff2ad6486)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64c69a5b86244b5cc005f6f7e0328918d4493d0c
Author: Eric Anholt <eric at anholt.net>
Date: Mon Feb 13 13:24:39 2012 -0800
mesa: Fix push/pop of multisample coverage invert.
In the table of of push/pop attributes, this one doesn't fall under
the enable group.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 4b6e45c7d6a60be71540109866c71fe0d2f35569)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a7cb5d21ca147aaa77e0b1ca5a746bbc6e8966a
Author: Mathias Fröhlich <Mathias.Froehlich at gmx.net>
Date: Wed Jan 25 17:35:01 2012 +0100
glsl: Avoid excessive loop unrolling.
Avoid unrollong loops that are either nested loops or
where the loop body times the unroll count is huge.
The change is far from being perfect but it extends the
loop unrolling decision heuristic by some additional
safeguard. In particular this cuts down compilation of
a shader precomputing atmospheric scattering integral
tables containing two nesting levels in a loop from
something way beyond some minutes (I never waited for
it to finish) to some fractions of a second.
This fixes piglit tests glsl-fs-unroll-explosion and
glsl-vs-unroll-explosion on r600g.
Reviewed-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
(cherry picked from commit 67007080b716c7e51039a381f407ababd68230f7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=865ad64e068b89e430614508ca1c973a7e4fb471
Author: Eric Anholt <eric at anholt.net>
Date: Sat Feb 4 14:05:46 2012 +0100
i965/fs: Implement GL_CLAMP behavior on texture rectangles on gen6+.
We were doing saturate-based clamping on the [0,width] or [0,height]
coordinate, which meant only the first pixel was addressable.
Fixes piglit ARB_texture_rectangle/texwrap-RECT-bordercolor
NOTE: This is a candidate for the 8.0 release branch.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 7c857a6b159debf76d4661f494fd2c97d205b5b1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b2ffc647dec9bb1763a2c87806df2e288a5fd3d
Author: Eric Anholt <eric at anholt.net>
Date: Fri Feb 3 19:06:08 2012 +0100
i965/fs: Move GL_CLAMP handling to coordinate setup.
We should be able to merge self-move instruction into the MRF move
anyway, and this simplifies things for the next commit.
NOTE: This is a candidate for the 8.0 release branch.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 07e621c52329cd17b97051a26493626228d043b9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d1049ff2661a70c2bd26961f7667a59b7b5ab56
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Thu Sep 9 13:43:11 2010 +0100
Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does
There is a mismatch between the way the X server and GLX library
calculates the image size for format GL_DEPTH_STENCIL(|_NV|_EXT)
See https://bugs.freedesktop.org/show_bug.cgi?id=30102
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
(cherry picked from commit 8937c166efaaae6e05d8c8cd30be220b577729b8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78b66adc1a3f9ba3fc9877d5cafa2a1e806be3b5
Author: Roland Scheidegger <sroland at vmware.com>
Date: Mon Feb 6 01:04:28 2012 +0100
mesa: check_index_bounds off-by-one fix
in check_index_bounds the comparison needs to be "greater equal" since
contrary to the name _MaxElement is the count of the array (this matches
similar code in vbo_exec_DrawRangeElementsBaseVertex).
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 1f4a853b1e4691400ab832c589b044b659c20c06)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7b1a7bfb195c4ece210a3fb7dbe9bfd8a4340b2
Author: Brian Paul <brianp at vmware.com>
Date: Wed Feb 1 08:42:48 2012 -0700
vbo: fix node_attrsz[] usage in vbo_bind_vertex_list()
The node_attrsz[] array is initially copied from the node->attrsz[]
array but some values get rewritten. Thereafter, we need to use the
node_attrsz[] values.
Fixes a bug when replaying a display list that uses generic vertex
array[16] (at least).
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit e53557996ece5ab877652b8f83ae40bb4c483453)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d5b40a5a2f66d8efb84bc84ccbfed1bcf074077
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Jan 29 16:25:16 2012 +0000
mesa/format_unpack: add LUMINANCE 8/16 UINT/INT
This just copies what the LUMINANCE_ALPHA bits do.
Fixes piglit tests on softpipe complaining about missing unpack.
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit fef395c0c3a011cc23cc638358c116accf35b7a2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e987b6e7a083352f9db6e23fbd06ee6680e335d
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 26 20:01:11 2012 -0700
mesa: add BGR888 code in _mesa_format_matches_format_and_type()
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 966720f507f71d2dce1f3499d7b29d98b615effe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3158636f4c62ce9d2f401bd2ae565dbc3519873a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 26 20:01:11 2012 -0700
mesa: fix error in _mesa_format_matches_format_and_type() for RGB888
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit b019228d6bb00291315f2a4045fb30af89715433)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a34147539860ffff9d1a27c59e0cdeb4cb39d2bf
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 26 20:01:10 2012 -0700
mesa: remove LSB-first pixel packing check in glReadPixels
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 343100d1fcd5ee705e8b99cd9ff1259001f15081)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d953370670c25167d344e572189e5d2c25b5a992
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jan 25 16:29:28 2012 -0800
mesa: Fix handling of glCopyBufferSubData() for src == dst.
Fixes piglit ARB_copy_buffer-overlap, on swrast, which previously
assertion failed.
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 531e44415b078db105d0439ea90b3ea3bc3b0f7b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e8c974fff90639f121a286f4b8bba64327bc428
Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date: Sun Jan 22 12:42:38 2012 -0600
glsl: Don't use newlocale on Haiku
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 873f3ae92e1d8a17ea228b38b4c20346d54ae045)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0f010db1c38258c646748b4313e5aad32f4682c
Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date: Sun Jan 22 12:42:32 2012 -0600
mesa: Don't use newlocale on Haiku
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9de17f5f4d267ffd0b6432519d0d87a8dc9d29e3
Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date: Sun Jan 22 12:42:24 2012 -0600
svga: fix typedef conflicts on Haiku
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 32876a452f368529392619b1d2552594317e8420)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abd1431707920f97aa41a0e49259f2b9ffa44be2
Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date: Sun Jan 22 12:42:17 2012 -0600
llvmpipe: fix symbol conflict on Haiku
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 1550b0668e8914f12ed314d347f59c89ba42c20c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2fdcc1e12bb636d6533afb49a5d28ba210483e4
Author: Matt Turner <mattst88 at gmail.com>
Date: Wed Jan 11 19:02:26 2012 -0500
Remove -ffast-math from default CFLAGS
Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as
true.
Signed-off-by: Matt Turner <mattst88 at gmail.com>
(cherry picked from commit 2fdbbeca43e7b57095774e4228e6eea75a180fab)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1b6c691373a96d537cf408e04192ed48e870100
Author: Alex Deucher <alexander.deucher at amd.com>
Date: Tue Jan 17 17:14:19 2012 -0500
radeon: fix fog coordinate emit
Noticed by dungeon on phoronix:
http://phoronix.com/forums/showthread.php?65408-Radeon-R100-R200-Mesa-Driver-Sees-Attention&p=247018#post247018
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Note: this is a candidate for the stable branches.
(cherry picked from commit e77c495d09105a1b6a13fd62d0d3585b019e1c66)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e72cbdf395c6622e1b393f1393e88d834d0f931e
Author: Alex Deucher <alexander.deucher at amd.com>
Date: Tue Jan 17 17:06:18 2012 -0500
r200: fix fog coordinate emit
Noticed by dungeon on phoronix:
http://phoronix.com/forums/showthread.php?65408-Radeon-R100-R200-Mesa-Driver-Sees-Attention&p=247018#post247018
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Note: this is a candidate for the stable branches.
(cherry picked from commit afdd6f8c34705eae5048da03329750836bcecf44)
More information about the mesa-commit
mailing list