Mesa (intel-2008-q4): 26 new commits

Haihao Xiang haihao at kemper.freedesktop.org
Wed Dec 17 01:28:28 UTC 2008


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d5b1e591b7fb2cf3109b7e147bb3ea6aa8f8b15
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sun Dec 14 18:42:11 2008 -0800

    Perform range checking on app supplied texture base level
    
    It is possible for applications to specify any texture base level,
    including trivially invalid values (i.e., 47000000).  When an app
    specifies an invalide base level, we should gracefully disable the
    texture instead of accessing memory outside the gl_texture_object.
    
    This fixes an occasional segfault in one of our conformance tests.
    (cherry picked from commit 1126aa86bf9ca223218695eec1f41c6523068961)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75d337f9701fb25004e33aad3d2fad2554cfa2bd
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Dec 15 15:10:18 2008 -0800

    intel: stub out CompressedTexSubImage2D instead of segfaulting.
    (cherry picked from commit dc58da3e063d2a4018eea9149b43a3656a93a7ca)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2726e80e9dafcde210e0e72e210b5b42eceb5a51
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Dec 15 13:25:20 2008 -0800

    i965: Update state before checking for fallbacks in brw_try_draw_prims.
    
    This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6.
    
    Bug #18907.  Thanks to idr for pointing me at a nicer testcase than blender.
    (cherry picked from commit 095c3a5cb16dae5c1e4cf85bffd3cb2465ab9e28)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e82e5650751689a67fef7509e53d6496067ec8e
Author: Pierre Willenbrock <pierre at pirsoft.de>
Date:   Fri Dec 12 21:18:23 2008 +0100

    intel: Don't steal renderbuffer from caller in intel_miptree_create_for_region
    
    Fixes double-frees of some regions, once from the renderbuffer code and
    once from the miptree itself.
    
    Bug #19062
    (cherry picked from commit e72a44215312ae1f3c812ba28e47b4aec3589de9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9349496c6d067a35492c36d3f60d49302f64535
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sun Dec 14 18:40:39 2008 -0800

    GLX: Include glapi.h before glapitable.h
    
    A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change
    some of the interdependencies between these two header files.  Now
    glapi.h must be included before glapitable.h.
    (cherry picked from commit 63cca2ba10ce7dcc8481cfa4be3872dfc269dded)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a94bf86e17b1bd99502dc9fe47db4d701cdc179d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 12 12:59:59 2008 -0800

    GLX: Change resulting from previous commit
    
    Commit db61cbfa2aa241da49589331d8b6875d9a77d826 made modifications to
    the protocol generator data and scripts.  This commit represents the
    changes to the generated files resulting from the previous changes.
    
    This is the client-side part of the fix for bugzilla #11003.
    (cherry picked from commit 2dd0c16f2118a39484615b80ca33620d3276523f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5ecc77e4d1d4b8a93c09a1051ecf9d1e50c50ed
Author: Neil Roberts <neil at linux.intel.com>
Date:   Tue Dec 2 15:03:01 2008 +0000

    Return 0 as the request size when the pixels parameter is NULL
    
    img_null_flag was being ignored when calculating the size of a request
    so a BadLength error gets thrown for glTexImage3D when the pixels
    parameter is NULL.
    
    See bug #11003
    (cherry picked from commit 1709ab01ef24279c782e420568e9257b4b92b224)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2eb5dc9fb2d748b144435849ab4955282f68dfb7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 9 14:43:09 2008 -0800

    GLX: Fix protocol for glTexSubImage#D
    
    The TexSubImage commands do not have the "NULL image" flag that was
    introduced with glTexImage3D.  However, there is a CARD32 pad element
    where that flag would be.  Removing the img_null_flag causes the flag
    to be removed from the protocol.  This changes the protocol and breaks
    everything.
    
    In order to prevent needing to hand-code all of the TexSubImage
    functions, a new attribute was added to the param element.  This new
    attribute, called "padding," is a boolean flag that selects whether or
    not the parameter is a real parameter (default / false) or is protocol
    padding (true) that does not appear in the function's parameter list.
    
    This change resulted in a number of changes to other Python scripts.
    In almost all cases parameters with the is_padding flag set should not
    be emitted.
    
    This patch only changes the the XML, the DTD, and the generator
    scripts.  It does NOT include the resulting changes to the generated
    code.  Generated code in the X server is also changed by the script /
    XML changes in this patch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit 0f73302d24f4201813da2939742c5bcb6964b3b1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7edabcd77c91bee3029d415e6590d5d28a75d2a
Author: Gary Wong <gtw at gnu.org>
Date:   Sat Dec 13 20:06:21 2008 -0700

    Fix silly type mismatch error in multinoise demo.
    (cherry picked from commit a42342cd90c19d8c29093e91d07d7efab5b5d25a)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c93396b76c4a2c0e6703a7cde6188d56d952f0d6
Author: Gary Wong <gtw at gnu.org>
Date:   Sat Dec 13 14:15:33 2008 -0700

    i965: Finish OPCODE_NOISEn instructions.
    
    Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD)
    in the initial RNDD instructions (which avoids saturating negative inputs
    to 0).
    (cherry picked from commit d28e8528958b472c821e3b72a28c22f337aba66e)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64f8dd47d318b5973ea2157ea97b95a4952a89b7
Author: Gary Wong <gtw at gnu.org>
Date:   Sat Dec 13 14:00:37 2008 -0700

    Add "multinoise" demo, to test 1/2/3/4 dimensional noise.
    (cherry picked from commit d427a2910fbb130c1be49667b0133c7605eef7ed)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fa4a87303a3196442c62436ee96b2368f0b0979
Author: Gary Wong <gtw at gnu.org>
Date:   Sat Dec 13 12:58:18 2008 -0700

    Ensure p.w is initialised in noise demo.
    (cherry picked from commit 0df3dfab82539c2477bfd4d254d1f2c6e35efb57)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f5fa63935bc46b4d47718336aa0db51bda8b5df
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Fri Dec 12 10:02:05 2008 +0800

    intel: check for null texture. (fix #13902)
    (cherry picked from commit 8b69c42b356d51c3a37bc0af41738b016c2adc5b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6727ed4b573d210556ea2330e3165371138bddc
Author: Xiang, Haihao <haihao.xiang at intel.com>
Date:   Thu Dec 11 14:03:00 2008 +0800

    i915: fallback for cube map texture.
    
    The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and
    TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to
    software rendering for other modes to avoid potential gpu hang issue. This
    fixes scorched3d issue on 945GM(see bug 14539).
    (cherry picked from commit c8b505d8260cccf289c947c629471df8f5c81c0d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe328107998e65d979aa3d14415b4d88114207cf
Author: Guillaume Melquiond <guillaume.melquiond at gmail.com>
Date:   Tue Dec 9 13:15:05 2008 -0800

    tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.
    
    Bug #16520.
    (cherry picked from commit 3b9bc821e1dfe39905585746166183264c335416)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea371c5779433db3b749121e069c930794f756ec
Author: Guillaume Melquiond <guillaume.melquiond at gmail.com>
Date:   Tue Dec 9 13:10:56 2008 -0800

    tnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle.
    
    SSE movss from memory zeroes out everything above the destination dword, so
    we get the (a, 0) or (a, 0, 0) result that these functions needed.
    
    Bug #16520.
    (cherry picked from commit b66495a0d915f5d5cc5ab50c843c9c1b296a5851)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ad00b341e1d90455419b02eed95e57289b012cf
Author: Guillaume Melquiond <guillaume.melquiond at gmail.com>
Date:   Tue Dec 9 11:42:24 2008 -0800

    tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.
    
    Bug #16520
    (cherry picked from commit 6e29a3c8e2dc920b6216a0df6357abd8234f1ec4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=369daf6994a127bb3b2ed3f38ffcadc4827359c4
Author: Guillaume Melquiond <guillaume.melquiond at gmail.com>
Date:   Tue Dec 9 09:29:08 2008 -0800

    tnl: Avoid undefined input value use in insert_3f_viewport_2().
    
    Bug #16520.
    (cherry picked from commit d507cd749b468751b880194a52ea7171b5dac75c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a239543e4de9703f17e14126cc347d4e6479838
Author: Pierre Willenbrock <pierre at pirsoft.de>
Date:   Mon Dec 8 14:06:51 2008 -0800

    intel: Require the right amount of space in glBitmap blit acceleration.
    
    This leads to problems when the batchbuffer is flushed, but the bitmap
    data could not fit into it.
    (cherry picked from commit a0d5c3cfe6582f8294154f6877319193458158a2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e403ee15d19e47338a545150ed687ab346386e3d
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Dec 6 21:14:56 2008 -0800

    mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB).
    
    The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not
    CUBE_MAP_ARB, so walk all faces when we encounter that.  Fixes oglconform
    fbo.c segfault with both swrast and i965 drivers.
    (cherry picked from commit f849d364c22e702e3dda664fa65601d4cf2b55a5)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52d1c354b7775045b46f89a0046f91a88da40e0d
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Dec 6 15:47:23 2008 -0800

    intel: Fall back on rendering to a texture attachment with a border.
    
    Fixes a segfault in oglconform fbo.c test.
    (cherry picked from commit 8b661a5d33604fd3706cb1825236d72ae2949598)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65d11ecc73be09b52d2245989b24494e43a6d6a0
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Dec 6 15:21:47 2008 -0800

    intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.
    
    The images aren't mapped at this point, so we want the generic Mesa path for
    GenerateMipmapEXT that does the mapping/unmapping for us.  Ideally Mesa would
    just call it for us.
    (cherry picked from commit 75b26e18a64b2fb1962e5e49dfaebd257c734ecc)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=684c92338976f1bf8973f5020a63c2cb5401b6a8
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Dec 6 14:51:17 2008 -0800

    intel: Fix glCopyPixels blit acceleration for FBO destinations.
    
    This was another opportunity to either get clipped to screen size or not get
    clipped enough and draw outside of object boundaries.
    (cherry picked from commit a0625fa28152db08f026dc9856035c0908060154)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e1e0df49267e6a3f5d5f5548535f87b077308a
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Dec 6 14:21:12 2008 -0800

    intel: Fix glBitmap blit acceleration for FBO destinations.
    
    Bug #18914.  Fixes fbo_firecube hang due to drawing outside the FBO bounds.
    Thanks to Pierre Willenbrock for debugging the issue.
    (cherry picked from commit cb433d91c6e198b7c77f747f1a38803532bc9be9)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0b689bb8496ba68d79cc4a5540aea88b84694f1
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec 3 11:36:55 2008 -0800

    i965: Fix failure to upload new constant data when changing programs.
    
    This is fallout from the ffvertex_prog.c work.  It doesn't call
    ProgramStringNotify, so we don't set param_state, so we wouldn't track when
    VP parameters changed, and constants wouldn't get uploaded.  Instead, remove
    param_state entirely and just use the real value that we want to be tracking.
    
    Fixes rendering in openarena since BRW_NEW_BATCH got disentangled from
    BRW_NEW_INDICES.
    
    Bug #18822.
    (cherry picked from commit 264cba6f70eacd9e04646104d10ba63c248d7b83)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cfc0c1ff40658e4ea23a670a8fda21e99cb4b29
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Dec 3 11:30:58 2008 -0800

    i965: Fix stray character that the compile whined about.
    (cherry picked from commit 8a1e7086c7c1d2fed22a0d7f840de515a6ca7e18)




More information about the mesa-commit mailing list