Mesa (8.0): 32 new commits

Ian Romanick idr at kemper.freedesktop.org
Fri May 18 23:17:58 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44f550ef905b609b317401afb09574373856f184
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri May 18 16:17:01 2012 -0700

    docs: Add 8.0.3 release md5sums
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1659d87afe72bf6a6536c6154e684b72a0fb72e1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri May 18 15:46:48 2012 -0700

    docs: Add 8.0.3 release notes
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60dffb92de8bed96f7335bf07639fe80831d6c5a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri May 18 15:27:58 2012 -0700

    mesa: Bump version number to 8.0.3
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5b65af5fa0f9de5fc4af8fbfe7ca9ebe8c871a3
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 14 10:18:23 2012 -0700

    mesa: Check for framebuffer completeness before looking at the rb.
    
    Otherwise, an incomplete framebuffer could have a NULL
    _ColorReadBuffer and we'd deref that.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 5a827d9a2b5d698fed98a5d62ff0292b48bdd6c7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0e8f1efada825cff290895e5fc3b4ca957b68f7
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 14 08:51:03 2012 -0700

    glsl: Fix assertion failure on handling switch on uint expressions.
    
    Fixes piglit glsl-1.30/execution/switch/fs-uint.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 9c4e9ce051bb43861adb4f8cd8e88a733c2f3ed1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91874c3252d179a4f54b19f4178d7f5bdd706bcb
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 14 08:45:59 2012 -0700

    glsl: Reject non-scalar switch expressions.
    
    The comment quotes spec saying that only scalar integers are allowed,
    but we only checked for integer.
    
    Fixes piglit switch-expression-const-ivec2.vert
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit bbbc7c7d566905920967f56648fc26abcb37f4a1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d105870c9873e37957f97cd60eda16d39ac361e
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 14 08:39:54 2012 -0700

    glsl: Let the constructor figure out the types of switch-related expressions.
    
    I noticed this while unindenting the code.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 5d6ea16dfe99e1aba61c25a897b66951faab1a39)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=912acd045c520165b13537a24873ef21ff7a155d
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 14 08:37:50 2012 -0700

    glsl: Fix indentation of switch code.
    
    I managed to completely trash it in 22d81f15.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 5462f3679ab7217d3a3be48365750801c7771237)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f90817e3cc5739efdf94a723921d77e38a6f5f1
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 10 15:38:11 2012 -0700

    i965/vs: Fix up swizzle for dereference_array of matrices.
    
    Fixes assertion failure in piglit:
    vs-mat2-struct-assignment.shader_test
    vs-mat2-array-assignment.shader_test
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit aa02884c4fdcbc20cf7ac89ec50f9d6c8d1e1682)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19745022237e3ff48896348468a3ff241b2d30af
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 10 14:56:48 2012 -0700

    mesa: Throw error on glGetActiveUniform inside Begin/End.
    
    Fixes piglit GL_ARB_shader_objeccts/getactiveuniform-beginend.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit ef691885c92abcd085d89fc30feeda87961773ab)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bf439e5da5222d4f7737950c1436e9916af356b
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 8 11:41:03 2012 -0600

    mesa: fix glMaterial / dlist bug
    
    When glColorMaterial() is used to latch glColor commands to a material
    attribute, glMaterial calls to change that material should become no-ops.
    This failed to work properly when the glMaterial call was inside a
    display list.
    
    This removes the Material function from the vbo_attrib_tmp.h template
    file.  We have separate/different implementations for the "save" and
    "exec" cases now.
    
    NOTE: This is a candidate for the 8.0 branch.
    (cherry picked from commit 1bc16bf98a1b5a4cca0c0ae2a80ba7982c6e4651)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d28e968edb107edb7bddecea469be15da5781aea
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 8 10:22:20 2012 -0600

    mesa: fix/add error check in _mesa_ColorMaterial()
    
    _mesa_material_bitmask() will record a GL error and return 0 if
    face or mode are illegal.  Return early in that case.
    
    NOTE: This is a candidate for the 8.0 branch.
    (cherry picked from commit f2724905469bbcde820b9ece2e4f44a610a75a65)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f67d73830f0bc0a8b08912f0fee02e3fbced655
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue May 8 12:04:45 2012 -0700

    glsl: Fix broken constant expression handling for <, <=, >, and >=.
    
    We were looping over all the vector components, but only dealing with
    the first one.  This was masked by the fact that constant expression
    handling on built-ins went through custom code for the lessThan()
    /function/ rather than the ir_binop_less expression operator.
    
    NOTE: This is a candidate for all release branches.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Olivier Galibert <galibert at pobox.com>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit f72e9b2041e294c8ac2258ff3f2b923c39cbef83)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84f537e72b38957d7f6aaa76ffadd4457ed47edd
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu May 3 16:02:50 2012 -0700

    intel: Disable ARB_framebuffer_object in ES contexts
    
    This patch removes ARB_framebuffer_object from the GLES1 and GLES2
    extension lists in intel_extensions_es.c.
    
    Fixes a crash in the Android browser on Ice Cream Sandwich.
    
    The Android browser crashed because it did the following, which is legal
    in GLES2 but not in ARB_framebuffer_object.
        glGenFramebuffers(1, &fb);
        glBindFramebuffer(GL_FRAMEBUFFER, fb);
        // render render render...
        glDeleteFramebuffers(1, &fb);
        // go do other stuff...
        glBindFramebuffer(GL_FRAMEBUFFER, fb);
        // This bind unexpectedly failed, and the app panics.
    
    The semantics of glBindFramebuffer specified by ARB_framebuffer_object (a
    desktop GL extension) and GLES2 specs are incompatible. The ideal solution
    to fix this is to create separate API entry points for glBindFramebuffer,
    one for GL and the other for GLES2. But, until that work is complete,
    disabling ARB_framebuffer_object in GLES2 contexts safely fixes the problem.
    
    Likewise, the semantics of glBindFramebuffer in ARB_framebuffer_object and
    of glBindFramebufferOES in OES_framebuffer_object (a GLES1 extension) are
    incompatible. Even though the functions have different names, the semantic
    difference still results in a bug because both API calls are implemented
    by a single function, _mesa_BindFramebufferEXT, which handles the semantic
    difference incorrectly. Again, disabling ARB_framebuffer_object in GLES1
    contexts safely fixes this problem.
    
    According to the ARB_framebuffer_object spec, the extension is an
    amalgamation of
        EXT_framebuffer_object
        EXT_framebuffer_blit
        EXT_packed_depth_stencil
        EXT_framebuffer_multisample
    By disabling this extension, however, no functionality is removed from
    GLES1 and GLES2 contexts because 1) the first three extensions are
    explicitly enabled in Intel's ES extension lists and 2) no functionality
    of the last extension is exposed in an ES context.
    
    Note: This is a candidate for the 8.0 branch.
    See-also: http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg21006.html
    CC: Charles Johnson <charles.f.johnson at intel.com>
    CC: Sean Kelley <sean.v.kelley at intel.com>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    (cherry picked from commit 1c0f5d8324c4db2720247989ddc4a45315b55a85)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eaa27789dd46d09e40087f781d7eb9b9721edf5
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue May 1 00:01:08 2012 -0700

    mesa: Add primitive restart support to glArrayElement
    
    When primitive restart is enabled, and glArrayElement is called
    with the restart index value, then call glPrimitiveRestartNV.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Brian Paul<brianp at vmware.com>
    (cherry picked from commit 5795d3b5aec767dc2d7901b432f9182121b8e46f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e8c30304e25dc3bd5a357de34e414fe12ce5ca2
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Mar 23 23:11:09 2012 -0700

    mesa: Fix memory leak in generate_mipmap_compressed.
    
    Fixes Coverity resource leak defect.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit b688700edc0ee8a4dcbac9b4cc5b0388691b7b43)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e5f17b5f96b9eb3582cf9e5fb8c81e33bf49a5d
Author: Han Shen(沈涵) <shenhan at google.com>
Date:   Mon Apr 23 08:28:12 2012 -0600

    bin/mklib: remove '-m32' for arm linux
    
    -m32 is not a valid option for ARM.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit b352d676e4ab8656a4fbae33493e5adf3a932708)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b9363a31647f1e252c7023e52f549a1dd33b4f7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Mar 5 13:54:29 2012 -0800

    intel: Remove pointless software fallback for glBitmap on Gen6.
    
    We already have a meta path below that works just fine; no apparent
    regressions in oglconform.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46834
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    (cherry picked from commit 3cd7bee48f7caf7850ea64d40f43875d4c975507)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d9ff6af597d4b28e44891a4f4018bb53c66734f
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 23 14:14:11 2012 -0700

    intel: Return success when asked to allocate a 0-width/height renderbuffer.
    
    It seems silly that GL lets you allocate these given that they're
    framebuffer attachment incomplete, but the webgl conformance tests
    actually go looking to see if the getters on 0-width/height
    depth/stencil renderbuffers return good values.  By failing out here,
    they all got smashed to 0, which turned out to be correct for all the
    getters they tested except for GL_RENDERBUFFER_INTERNAL_FORMAT.  Now,
    by succeeding but not making a miptree, that one also returns the
    expected value.
    
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit b7406404aba1817d5a87714f97a108a755943452)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=110111bc5b246369016514969c98bedfefe7b376
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 1 14:46:04 2012 -0600

    mesa: do more teximage error checking for generic compressed formats
    
    When glTexImage or glCopyTexImage is called with internalFormat being a
    generic compressed format (like GL_COMPRESSED_RGB) we need to do the same
    error checks as for specific compressed formats.  In particular, check if
    the texture target is compatible with the format.  None of the texture
    compression formats we support so far work with GL_TEXTURE_1D, for example.
    
    See also https://bugs.freedesktop.org/show_bug.cgi?id=49124
    
    NOTE: This is a candidate for the 8.0 branch.
    (cherry picked from commit a36581ccc06693231011c3fe136207e73191b1ce)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aaaa1885310f1fccc39ea1cb0e3fa7fccf314da
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 20 16:45:12 2012 -0600

    st/mesa: no-op glCopyPixels if source region is out of bounds
    
    If the source region for a glCopyPixels is completely outside the
    source buffer bounds, no-op the copy.  Fixes a failed assertion.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    (cherry picked from commit 99ed0b2f9b95a484aa78aeee0277bb669611be5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e824b728b406a5839055d95b0f8cd0335664721
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Apr 11 23:05:44 2012 -0700

    ir_to_mesa: Fix uninitialized member in add_uniform_to_shader.
    
    Fix uninitialized scalar field defect 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 10ec14865aa7d0110ae202011be36d6e4a7ba154)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc65fc5035236ad1d35858bb940dfa9c0fb244f5
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Mon Apr 9 13:59:03 2012 -0700

    main: Fix memory leak in _mesa_make_extension_string()
    
    I forgot to free the string returned by strdup().
    
    Note: This is a candidate for the stable branches.
    CC: Johannes Obermayr <johannesobermayr at gmx.de>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    (cherry picked from commit 36fef005b191fcd3fa858abb5f2aa6e7229e2c60)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9088b5251e7db7d21a8a53635b7334b9e52e41f
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Mar 31 23:11:42 2012 -0700

    swrast: Fix memory leaks in blit_linear.
    
    Fixes Coverity resource leak defects.
    
    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 431b458f24f05db612e276e12528ce0e62707b65)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8537544be93997870b754098ae6527aa6d230ad9
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Mar 30 23:36:45 2012 -0700

    linker: Fix memory leak in count_uniform_size::visit_field.
    
    Fixes a Coverity resource leak defect.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 4123d0b32138a0fbdbc7f61380d041704ba0ad43)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4693383bfa1bc51f6cefc845a37795284bea84d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Mar 30 13:58:06 2012 -0700

    i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7.
    
    According to the BSpec ISA volume's "Accumulator Register" section:
    
    "[DevIVB] SIMD16 execution on dwords is not allowed when accumulator is
     explicit source or destination operand."
    
    Fixes piglit tests:
    - fs-multiply-const-ivec4
    - fs-multiply-const-uvec4
    - fs-multiply-ivec4-const
    - fs-multiply-uvec4-const
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 01044fce6b3de11635ea5078b76ffee1a33b3802)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eb2e5bdc74e8690b3e45639f1183a6fa5c66360
Author: Dave Airlie <airlied at gmail.com>
Date:   Fri Mar 23 16:17:33 2012 +0000

    intel: fix TFP at 16-bpp
    
    don't ask why I had to debug this.
    
    tested to fix g-s and kwin at 16-bpp on Ironlake.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 7b6424143d8bf572cadd46adcbaa91d2a5598635)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca8be6fe2b1bc71e9a93fdc83087d20c8bc8da12
Author: Dave Airlie <airlied at gmail.com>
Date:   Thu Mar 22 11:56:43 2012 +0000

    drisw: fix image stride calculation for 16-bit.
    
    If you ran g-s in 16-bpp we'd do a bunch of memory corruption.
    
    now it just misrenders for some other reasons.
    
    applies to stable.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    (cherry picked from commit d6c5ad52b2473064f0b3e031a2e1b59480c68c43)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa17a8b81e02bfac8f10656cbda95f3c7b40d9b6
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Mar 23 18:37:16 2012 +0000

    glx/drisw: avoid segfaults when we fail to get visual
    
    piglit glx-tfp segfaults on llvmpipe when run vs a 16-bit radeon screen,
    
    it now fails instead of segfaulting, much prettier.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    (cherry picked from commit 2c778375a1356ffb8db1522bc3fc64c568c35cb1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b304eca8dfb056660376104b9bc6820187e0ac03
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Mar 22 23:59:52 2012 -0700

    mesa: Fix memory leak in _mesa_get_uniform_location.
    
    Fixes Coverity resource leak defect.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 0f3aa9f4bd7daab354deb9268307c5628b460f6b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97bff9635295c5143f72e0475f174215785c249c
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar 20 17:43:52 2012 -0600

    st/mesa: set MaxUnrollIterations = 255
    
    The default was 32 for the EmitNoLoops=0 case.  This allows the oZone3D
    soft shadows test to work properly with the vmware driver.  Jose reported
    that SM3 supports up to 255 loop iterations.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>
    (cherry picked from commit 20836c81851e0df29a8ee9c86e5e5388738c840b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9405567c28d188a7cf4b25f8a45e8165142463da
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar 20 17:43:12 2012 -0600

    glsl: propagate MaxUnrollIterations to the optimizer's loop unroller
    
    Instead of the hard-coded value of 32.  Note that MaxUnrollIterations
    defaults to 32 so there's no net change.  But the gallium state tracker
    can override this.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    (cherry picked from commit 7feabfe23dc54960abba34755f484f786575ac49)




More information about the mesa-commit mailing list