Mesa (8.0): 45 new commits
Ian Romanick
idr at kemper.freedesktop.org
Tue Jul 10 15:52:49 UTC 2012
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b27cc39625c6c4b9aca521a3c673dcdba60e797
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 10 08:45:35 2012 -0700
docs: Add 8.0.4 release md5sums
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1f4867c89adb1a6b19d66ec8ad146115909f0a7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 10 08:30:11 2012 -0700
docs: Add 8.0.4 release notes
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c2225b026162beedf3302a3515eaea2f6f7e4f8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jul 10 08:28:32 2012 -0700
mesa: Bump version number to 8.0.4
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=827c99e1a025c588f1ab5b42bf49a681047d8136
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Jun 15 05:13:02 2012 +0200
st/mesa: don't do srgb->linear conversion in decompress_with_blit
This fixes piglit/getteximage-formats on r600g.
NOTE: This is a candidate for stable branches.
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 5e7e7d96b341e937d3b795e94ac4a863c357f724)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d384680988cc3a9a7b69793f5f46971bbd5210a
Author: Thomas Gstädtner <thomas at gstaedtner.net>
Date: Wed May 23 18:55:51 2012 +0200
gallium/targets: pass ldflags parameter to MKLIB
Without passing the -ldflags parameter before $(LDFLAGS) in some cases
flags will be passed to MKLIB which it does not understand.
This might be -m64, -m32 or similar.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Thomas Gstädtner <thomas at gstaedtner.net>
Signed-off-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 93594f38be75227879b835a2037b7466adbd70ef)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc3d2c46239af5c57f90643408586345b5561360
Author: Vinson Lee <vlee at freedesktop.org>
Date: Sun Apr 8 22:28:34 2012 -0700
st/mesa: Fix uninitialized members in glsl_to_tgsi_visitor constructor.
Fixes uninitialized member defects reported by Coverity.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 70d038e46eb877ffa922003c78630eb7eb76c0f3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe5541f64c11ccd38ccf56c71e95a597ae5e509f
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date: Tue Apr 10 00:44:52 2012 +0400
r600g: check gpr count limit
This should help to prevent gpu lockups.
See https://bugs.freedesktop.org/show_bug.cgi?id=48472
NOTE: This is a candidate for the stable branches.
Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit 783e4da72aa203a645737dec81b001341951a942)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ce1a4526f3af818ef6a3934a0ff0d192f818376
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 2 20:05:16 2012 +0200
st/mesa: fix max_offset computation for base vertex
Add the maximum base vertex offset to max_index for computing the
buffer size. Fixes a failed assertion in the u_upload_mgr.c code with
the VMware svga driver.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=48141
v2: incorporate Marek's suggestions.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Marek Olšák <maraeo at gmail.com>
(cherry picked from commit 299c9052e832712654865af8dbd0ed4bf055d124)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0e1ca353b9b77f328d1afa2480ccbffbbea7143
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Mar 28 14:00:42 2012 -0700
glsl: Don't trust loop analysis in the presence of function calls.
Function calls may have side effects that alter variables used inside
the loop. In the fragment shader, they may even terminate the shader.
This means our analysis about loop-constant or induction variables may
be completely wrong.
In general it's impossible to determine whether they actually do or not
(due to the halting problem), so we'd need to perform conservative
static analysis. For now, it's not worth the complexity: most functions
will be inlined, at which point we can unroll them successfully.
Fixes Piglit tests:
- shaders/glsl-fs-unroll-out-param
- shaders/glsl-fs-unroll-side-effect
NOTE: This is a candidate for release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit 0405bd08ca0e01ebc68891ee1ff47d320983f775)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04f7c32f789de49338bc1a69d66bb49374f8b09c
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 23 14:53:48 2012 -0600
draw: fix missing immediates bug in polygon stipple code
The function that counts the number of TGSI immediates also needs to
emit the immediates. This fixes assorted failures when using polygon
stipple with fragment shaders that have their own immediates.
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 7f16246acef4089570abca76a59580691ec6cf68)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da8d65fde46ac324d03ea667124d60db93047870
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 23 08:16:58 2012 -0600
st/mesa: fix mipmap image size computation w.r.t. texture arrays
The image height or depth is the array_size for array textures.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47742
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
(cherry picked from commit 318669f196ca922337da02af9d72773e76e70b45)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57a273d89b76c6fefc21438ed688a8b73d862cb4
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 16 09:31:13 2012 -0600
st/mesa: add null pointer check in st_texture_image_map()
If we failed to allocate a memory resource for the texture we'd crash
when we tried to map it. Now we propogate the NULL back up to the
texstore code and generate GL_OUT_OF_MEMORY.
Fixes a crash with the upcoming piglit max-texture-size test.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit 03f8a97d718502f60d16000aead251d88a751149)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=099bc3aaea93313c774a554a5dee56706ac4b674
Author: Brian Paul <brianp at vmware.com>
Date: Mon Feb 13 14:48:36 2012 -0700
st/mesa: use private pipe_sampler_view in decompress_with_blit()
Similar to the previous commit. Also fix incorrect setting of the
sampler view's state after it's created. We need to specify the
first/last_level fields in the template instead.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
(cherry picked from commit 0315cb9f8f3ec38fa9594860754fb53a67cf4c23)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3539914e49118a5048e7c0f87d5014c088988195
Author: Brian Paul <brianp at vmware.com>
Date: Fri Feb 10 18:57:15 2012 -0700
st/mesa: don't set PIPE_BIND_DISPLAY_TARGET for user-created renderbuffers
The st_renderbuffer_alloc_storage() function is used to allocate both
window-system buffers and user-created renderbuffers. The later kind
are never directly displayed so don't set PIPE_BIND_DISPLAY_TARGET for
those surfaces.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
(cherry picked from commit 5a70e12fc0897a3178c73b20d99fc0f11b180374)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de8bb6a59b09821d66f7ff38e35cce20c3cfa86f
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Jan 27 14:40:06 2012 +0000
draw: Ensure that prepare is always run after LLVM garbagge collection.
Should avoid dangling pointer derreference with
glean --run results --overwrite --quick --tests texSwizzle
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 07635a4799b15a7575e1feb8859ecc7734850deb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=646ac024624ebc74ec540992507060968c3d9a4e
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 26 11:32:01 2012 -0700
svga: reset vertex buffer offset in svga_release_user_upl_buffers()
This function releases the buffer that contains user-space vertex data.
The buffer_offset field points into that buffer. So reset the
buffer_offset to zero when we release the buffer so that subsequent
draws don't inadvertantly get a bad offset.
Fixes error messages / failed assertions (in the draw module's bounds/size
checking code) when running piglit's polygon-mode test.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit 04341e51cea32d6e54d99019dd00ec56e77e27f9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dad7547b98dc4da4899ee883fa5c3c4f5698101a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 19 11:37:00 2012 -0700
svga: move svga_texture() casts/calls in svga_surface_copy()
To fix failed assertions when calling glCopyBufferSubData().
svga_texture() asserts that the resource is a texture. Simply move the
calls to svga_texture() after the code that handles non-texture copies
so that we don't call it with non-texture resources.
Fixes glean bufferObject failure.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit 7f2e12812a2208330ef8704e7c4721ececd2aab3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bf8f39cc83df5cd4c1183fcca294cef57a92ca8
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 19 10:20:24 2012 -0700
st/mesa: copy num_immediates field when copying the immediates array
Two assignments to num_immediates were missing in
get_pixel_transfer_visitor() and get_bitmap_visitor().
The uninitialized value led to valgrind errors and crashes in some
cases.
Added new assertions to catch future problems in this area. Also
changed num_immediates to unsigned to avoid signed/unsigned
comparison warnings.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit fdae0eaf222f271bfbc7e71d8561eb8b90685ae5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c65bcd259109b812f83c4400ee4e748ef7f2bb8
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 19 09:41:30 2012 -0700
st/mesa: add fallback pipe formats for (compressed) R, RG formats
If we don't find an exact PIPE_FORMAT_x for a GL_(COMPRESSED)_RED/RG format,
try uncompressed formats. We were already doing this for the RGB(A) formats.
Fixes piglit arb_texture_compression-internal-format-query test.
NOTE: This is a candidate for the stable branches.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit 75f37ddba7e5a297390299be0dab8377ea40f5c8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c60a83adc246588230854256023d31c43e7e1dde
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Wed Jan 18 19:24:18 2012 -0800
i915g: Don't avoid flushing when we have a pending fence.
Otherwise the fence will never arrive.
Also check for a NULL i915->batch.
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 32b07bb1496f5772ca16e719bb87e1702ceff196)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db555c5d59173f01aa75b7a91630f2eced834a1f
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Wed Jan 18 19:23:48 2012 -0800
i915g: Don't invert signalled/unsignalled fences
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 2b4afdba05abe3408f6347be82465b6420f50aab)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1423b1c209ab3bee60bfdda6f8a1d88f8da34d2
Author: Brian Paul <brianp at vmware.com>
Date: Tue Jan 17 16:28:10 2012 -0700
svga: change PIPE_CAPF_MAX_TEXTURE_LOD_BIAS from 16.0 to 15.0
The legal range for the device is apparently [-16.0, +15.0].
Limiting the range to [-15, +15] fixes piglit's lodbias test.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit a9eda41539bd63ed1835556ad3afc77ee01f6a6a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21d77c51c19a1545ddf8dd12b5e54eef061c5d9f
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 18 10:06:42 2012 -0700
svga: fix min/max lod clamping
The interaction between the mipmap lod min/max limits and the texture
base/max level limits is kind of tricky. Changing the base level
didn't work as expected before.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit fd890873b20de553078fc96d977fbd858238c7d9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc7d43ee9afddb842fd72197cf21992961a5c9fa
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 18 10:05:25 2012 -0700
svga: add 0.5 in float->int conversion of sample min/max lod
This makes lod clamping more consistent with other drivers.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca at vmware.com>
(cherry picked from commit 5abcd198b8e644c0d97c6766c6707e20fe22f0fb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed8fcc0c82a4b0d2480a003173cc6300db507c2f
Author: Brian Paul <brianp at vmware.com>
Date: Tue Jan 17 08:15:25 2012 -0700
st/mesa: pass GL_MAP_INVALIDATE_RANGE_BIT to gallium drivers
when mapping renderbuffers or texture images.
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 84c7c14697c82fe25586f8186b4f47d80a6f05f9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed1da7e5038b344cea7a324b2bed6075af3d0028
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jun 4 10:20:36 2012 -0700
glsl: Fix pi/2 constant in acos built-in function
In single precision, 1.5707963 becomes 1.5707962513 which is too
small. However, 1.5707964 becomes 1.5707963705 which is just right.
The value 1.5707964 is already used in asin.ir.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Olivier Galibert <galibert at pobox.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
(cherry picked from commit 4bfdc8313592ec8a8794d6b7bc33a5c44df34ed4)
Conflicts:
src/glsl/builtins/ir/acos.ir
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74f21adbb7d07f8e99c62de2a7c4062ae6fa1396
Author: Antoine Labour <piman at chromium.org>
Date: Thu May 24 18:15:44 2012 -0700
mesa: Free uniforms correclty.
This is an array of uniforms, not a single one.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit e2e9b4b10fcf3ba6358b9be54638f850523af82e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09c746f2dc7de75c609db6129ab98d5ba10e4341
Author: Antoine Labour <piman at chromium.org>
Date: Thu May 24 18:08:27 2012 -0700
meta: Cleanup the resources we allocate.
When we have multiple shared contexts, and one of them is
long-running, this will lead to never freeing those resources
since they are shared. Instead, free them right away on context
destruction since we know the other context isn't using them.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 53feb8ecdc74502c940a749b9ce89e68625c69a5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab33bc8c7bd19c83fa968986d93654477649b5d8
Author: Stéphane Marchesin <marcheu at chromium.org>
Date: Thu May 24 17:58:53 2012 -0700
glx: Handle a null reply in QueryVersion.
Works around crashes when X connections break.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 0256edd709d976198d5354fdd88143d8da9e51d5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1edeb2cec1c92b73bef97c2a5f15be943a8379b2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Jun 5 15:58:41 2012 -0700
glsl: Hook up loop_variable_state destructor to plug a memory leak.
While ~loop_state() is already freeing the loop_variable_state objects
via ralloc_free(this->mem_ctx), the ~loop_variable_state() destructor
was never getting called, so the hash table inside loop_variable_state
was never getting destroyed.
Fixes a memory leak in any shader with loops.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 3603fdcebfa25e2217f1dbfb0a99261be3e84b02)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afaf5b59e45b914be39e141209ed71308039774d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Jun 1 13:16:58 2012 -0700
i965/fs: Fix user-defined FS outputs with less than four components.
OpenGL allows you to declare user-defined fragment shader outputs with
less than four components:
out ivec2 color;
This makes sense if you're rendering to an RG format render target.
Previously, we assumed that all color outputs had four components (like
the built-in gl_FragColor/gl_FragData variables). This caused us to
call emit_color_write for invalid indices, incrementing the output
virtual GRF's reg_offset beyond the size of the register.
This caused cascading failures: split_virtual_grfs would allocate new
size-1 registers based on the virtual GRF size, but then proceed to
rewrite the out-of-bounds accesses assuming that it had allocated enough
new (contiguously numbered) registers. This resulted in instructions
that accessed size-1 GRFs which register numbers beyond
virtual_grf_next (i.e. registers that were never allocated).
Finally, this manifested as live variable analysis and instruction
scheduling accessing their temporary array with an out of bounds index
(as they're all sized based on virtual_grf_next), and the program would
segfault.
It looks like the hardware's Render Target Write message requires you to
send four components, even for RT formats such as RG or RGB. This patch
continues to use all four MRFs, but doesn't bother to fill any data for
the last few, which should be unused.
+2 oglconforms.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 2f18698220d8b27991fab550c4721590d17278e0)
Conflicts:
src/mesa/drivers/dri/i965/brw_fs.h
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fc9b5a2134ebfcb110c935e02904dae9f0a8f67
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 4 14:12:15 2012 -0700
i965/vs: Fix texelFetchOffset() on pre-Gen7.
Commit 4650aea7a536ddce120576fadb91845076e8e37a fixed texelFetchOffset()
on Ivybridge, but didn't update the Ironlake/Sandybridge code.
+18 piglits on Sandybridge.
NOTE: This and 4650aea7a536ddce are both candidates for stable branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit cb18472eca9910e7a4222ebc1b6b1b66869f5b53)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b38691927b9f26503ac70e1731182a6a09950ab
Author: Eric Anholt <eric at anholt.net>
Date: Tue Apr 17 11:56:26 2012 -0700
i965/vs: Fix texelFetchOffset()
It appears that when using 'ld' with the offset bits, address bounds
checking happens before the offset is applied, so parts of the drawing
in piglit texelFetchOffset() with a negative texcoord go black.
(cherry picked from commit 4650aea7a536ddce120576fadb91845076e8e37a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f1218385a2882574484104f4e135068e584d3dd
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 4 14:07:13 2012 -0700
i965/fs: Fix texelFetchOffset() on pre-Gen7.
Commit f41ecade7b458c02d504158b522acb2231585040 fixed texelFetchOffset()
on Ivybridge, but didn't update the Ironlake/Sandybridge code.
+15 piglits on Sandybridge.
NOTE: This and f41ecade7b458 are both candidates for stable branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 217b62bf001f6b1da31807b803bbe45d7cabe3ba)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c2f9828e09f0f8c8ecc546b3d209e944367cc39
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 4 11:40:23 2012 -0700
meta: Fix GL_RENDERBUFFER binding in decompress_texture_image().
This isn't saved/restored by _mesa_meta_begin, so we need to do it
manually (like we do for the read/draw framebuffers). Additionally,
we neglected to re-bind before the glRenderbufferStorage call.
+13 oglconforms.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 7fde071f04afff86d4f8d7895073e22e60970b4e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a03d5e6a8815f7aeaef0465bf42c90ed1b32ace3
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 4 00:51:34 2012 -0700
mesa: Unbind ARB_transform_feedback2 binding points on Delete too.
DeleteBuffer needs to unbind from these binding points as well, based on
the same rationale as the previous patch.
+51 oglconforms (together with the last patch).
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 3edd2ba22bdb9abd4e2b10db4379f4182b5c3ecd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fde348eb8e399858e502f39cb99fc0d46ffc550
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Jun 4 00:48:23 2012 -0700
mesa: Support BindBuffer{Base,Offset,Range} with a buffer of 0.
_mesa_lookup_bufferobj returns NULL for 0, which caused us to say
"there's no such buffer object" and raise an error, rather than
correctly binding the shared NullBufferObj.
Now you can unbind your buffers.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 05b086ce934fa2967da736db8db429d0886735a9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8fed44e9e29ac3998fd6642bfc73804d14f169a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Jun 3 22:34:32 2012 -0700
mesa: Unbind ARB_copy_buffer and transform feedback buffers on delete.
According to the GL 3.1 spec, section 2.9 ("Buffer Objects"):
"If a buffer object is deleted while it is bound, all bindings to that
object in the current context (i.e. in the thread that called
DeleteBuffers) are reset to zero."
The code already checked for a number of cases, but neglected these
newer binding points.
+21 oglconforms.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit cb8ed93dd0faf958493d35a4729c4a00a201af8d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f7dffae6936eb18fbc9fe32a1ff45d9c78557bf
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Jun 1 02:56:50 2012 -0700
glsl/builtins: Fix textureGrad() for Array samplers.
We were incorrectly assuming that the coordinate's dimensionality is
equal to the gradient's dimensionality. For array types, the coordinate
has one more component.
Fixes 12 subcases of oglconform's glsl-bif-tex-grad test.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 25edfbfccfb8af9eecd949c3fc4f2680c5b963b6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a34e98b6143ad0945e3b33862ba894229530cf7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Jan 27 16:09:48 2012 -0800
mesa: Restore depth texture state on glPopAttrib(GL_TEXTURE_BIT).
According to Table 6.17 in the GL 2.1 specification, DEPTH_TEXTURE_MODE,
TEXTURE_COMPARE_MODE, and TEXTURE_COMPARE_FUNC need to be restored on
glPopAttrib(GL_TEXTURE_BIT).
Makes a number of oglconform tests happier.
v2: Make restoration conditional on the ARB_shadow and ARB_depth_texture
extensions, as suggested by Brian. I'm not sure that any
implementations still remain that don't support those, but why not?
NOTE: This is a candidate for stable release branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit 608c3d2083be9de1eadac6dad67cd571888ca5d7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39a0b79c6f1312a5f8e6cd61fba95a81a911e577
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri May 18 16:25:31 2012 -0700
glsl: Remove spurious printf messages
These look like debug messages from the switch-statement development.
NOTE: This is a candidate for the 8.0 release branch.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit adfe53184155f33958f82383a7148b0536455a4c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c8f5e9af0f6a8ff8a6114396c4b9bb2bff1f2a8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon May 21 19:34:13 2012 -0700
ralloc: Fix ralloc_parent() of memory allocated out of the NULL context.
If an object is allocated out of the NULL context, info->parent will be
NULL. Using the PTR_FROM_HEADER macro would be incorrect: it would say
that ralloc_parent(ralloc_context(NULL)) == sizeof(ralloc_header).
Fixes the new "null_parent" unit test.
NOTE: This is a candidate for the 7.9, 7.10, 7.11, and 8.0 branches.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 1559b2e2d7c0d9ddab0e186fcf855ea847152ef1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a72fdfed7b042d26c9a83deccefab2cd0eb66ed8
Author: Kurt Roeckx <kurt at roeckx.be>
Date: Fri May 11 00:19:42 2012 +0200
i830: Fix crash for GL_STENCIL_TEST in i830Enable()
commit 87f12bb2d95236c7b025d1a8be56b5ab1683d702 tried to fix rb->mt
being NULL, but change this case wrong.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Kurt Roeckx <kurt at roeckx.be>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit f92b2e5e90f456491fc15b3b9612381a83726606)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba45b6deeaf89d224510eaa92ed588881c5de729
Author: Lukas Rössler <pontomedon at gmail.com>
Date: Mon May 21 08:29:21 2012 -0600
glu: fix two Clang warnings
This patch removes two Clang warnings in GLU:
The first one seems to be an actual bug in mapdesc.cc: Clang complains
that sizeof(dest) will return the size of REAL*[MAXCOORDS], instead of
the intended REAL[MAXCOORDS][MAXCOORDS]. The second one is just
cosmetic because Clang doesn't like extra parentheses.
NOTE: This is a candidate for the 8.0 branch
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit 6178b653c766beeb8a6ad37134a6ee1a246a0c18)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04c35a5dff6b936c4d62541dafb78fef8b7a3760
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date: Sat Apr 21 19:35:48 2012 +0000
mesa: require GL_MAX_SAMPLES >= 4 for GL 3.0
As noted in commit be4e46b21a60cfdc826bf89d1078df54966115b1,
this was missing before.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 8e90913e9f99ff3296a3c3da36e73cd2d4730269)
More information about the mesa-commit
mailing list