Mesa (pipe-video): 122 new commits

Christian König deathsimple at kemper.freedesktop.org
Mon Jul 11 14:49:46 UTC 2011


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df5e0b9435c869f88234a69db9bfe97342b027d4
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 16:29:02 2011 +0200

    [g3dvl] fix a whole bunch of memory leaks

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7ec477ebc8b256381854f1cef0ec03a2d713555
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 14:36:03 2011 +0200

    [g3dvl] revert some unintended white space changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d1057f243efe6e2d7b11a65df6d5124c469cec7
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 13:55:56 2011 +0200

    [g3dvl] sync SConscript with Makefile

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96718d98deb28d5be6610ff6d827a747fddd5890
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 12:31:54 2011 +0200

    [g3dvl] softpipe is no longer needed for dri-nouveau

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=358795bc0bacdba9a36bb010ef18ee1b2d086f2d
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 11:39:11 2011 +0200

    r600g: revert "support textures with scaled number formats"
    
    We should add those probably when merged to master.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6eb1f82570659b7b5a562faa06d804e63a0fc64
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 11:28:23 2011 +0200

    pipe-video: merge fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e45d8958244919ccfccd72527cdf7e96e996c781
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 11:08:45 2011 +0200

    [g3dvl] remove some stale nv40 files

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8898a70dfe4396993e1c69e451544fa2cd5c2e7
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 11:06:05 2011 +0200

    [g3dvl] remove pipe_video_context from nouveau

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f919547f3785b1d8839b9fc5c00ac397e30896a1
Merge: cd4f18089e44872ce9e3c04ac5e808a7204ffc49 12265d26ddc72f62de927ac24e12ab41fcd8d1c5
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Jul 11 10:48:59 2011 +0200

    Merge remote-tracking branch 'origin/master' into pipe-video
    
    Conflicts:
    	src/gallium/drivers/r600/r600_pipe.c
    	src/gallium/drivers/r600/r600_state_inlines.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12265d26ddc72f62de927ac24e12ab41fcd8d1c5
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jul 11 04:17:37 2011 +0200

    Revert "WIP r600g: depth_buffer_float renderbuffer support on evergreen"
    
    This reverts commit 91a52dae97379d118965567b5c11e393996baeb9.
    
    Pushed accidentally.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc9d789d1b39f9702c179a1d60f76535352563df
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jul 11 04:13:35 2011 +0200

    r600g: more valgrind fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=daf6604435594b2ec861a40eaf4c5a23c97c0714
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jul 11 04:01:06 2011 +0200

    r600g: zero memory of ioctl parameters
    
    Fixes valgrind warning.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=01f48a979d85525acd060c8055ec835a1b56ea87
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jul 11 01:39:53 2011 +0200

    mesa: implement packing of DEPTH_STENCIL & FLOAT_32_UNSIGNED_INT_24_8_REV combo
    
    Tested with the new piglit fbo-depthstencil test.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91a52dae97379d118965567b5c11e393996baeb9
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 23:22:37 2011 +0200

    WIP r600g: depth_buffer_float renderbuffer support on evergreen

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1214cca084f277b5acc913490d354edbd4b990f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 10 20:03:05 2011 +0200

    swrast: fix depth/stencil blits when there's no colorbuffer
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83478e5d5944e1fc320e8cfb10ba75055bbea3fd
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 10 20:01:33 2011 +0200

    mesa: return early if mask is cleared to zero in BlitFramebuffer
    
    From ARB_framebuffer_object:
        If a buffer is specified in <mask> and does not exist in both the
        read and draw framebuffers, the corresponding bit is silently
        ignored.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3414447011b6b25aeab22f4949a96c09cf4c5098
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun 29 02:10:55 2011 +0200

    docs: update GL3 status

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89954723bfeef59d055d2332ff112f0204b48130
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jun 20 19:40:41 2011 +0200

    r600g: depth_buffer_float support on r600-r700

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9ab6712ccb5a7249feaaf071fefdc78e80808a6
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 21:14:07 2011 +0200

    gallium/util: handle Z32F_FLOAT_S8X24_USCALED in pipe_tile_raw_to_rgba
    
    And make pipe_put_tile_rgba_format no-op like the other Z formats.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e860cb64dbcb170207641fc280e47858fae74891
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jun 24 23:39:51 2011 +0200

    gallium/util: implement software Z32F_S8X24 depth-stencil clear

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ff6f90c3f138fbe922d1eee6cecffc87234ef34
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jun 24 23:38:36 2011 +0200

    gallium/util: implement pack functions for Z32F and Z32F_S8X24

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e517e5ac7c89b133f341a1075db95e14d0ba23c2
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jun 27 19:09:24 2011 +0200

    st/mesa: implement read/draw/copypixels for Z32F and Z32F_S8X24

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adea7ea0bc2683c0ee544e20074062df9ae5a72b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun 1 15:49:33 2011 +0200

    st/mesa: initial ARB_depth_buffer_float support

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba15e8260ef6697fcd8c1f6ab098469db6fe78ba
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 1 02:04:34 2011 +0200

    mesa: implement depth/stencil renderbuffer wrapper accessors for Z32F_X24S8
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bde6a044588401ebbd14881cd5621095c221f0a5
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 14:18:25 2011 +0200

    mesa: implement generatemipmap for GL_FLOAT_32_UNSIGNED_INT_24_8_REV
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2f087cd87ab9b1651d221b5c7d7e543a4585d68
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 05:17:51 2011 +0200

    mesa: implement texstore for DEPTH32F_STENCIL8
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc878c7f8bfdabb40a4f784984c13b94656569ed
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 13:36:27 2011 +0200

    mesa: implement texstore for DEPTH_COMPONENT32F
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfb63b7d62ccd9618a110f9f5297f87574384058
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 05:09:24 2011 +0200

    mesa: implement depth unpacking for GL_FLOAT_32_UNSIGNED_INT_24_8_REV
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6fbbe36ee198d00db6a1ae297970531186ae3c
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jun 21 05:06:36 2011 +0200

    mesa: implement stencil unpacking for GL_FLOAT_32_UNSIGNED_INT_24_8_REV
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4843c7b24af7408329d33ab16bb946b17244a5f8
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jun 20 03:07:16 2011 +0200

    mesa: implement texfetch functions for depth_buffer_float
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1165280cbd37dee1e499358633478ab869de21df
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun 1 15:48:51 2011 +0200

    mesa: initial ARB_depth_buffer_float support
    
    Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there.
    The spec says the type is n/a.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a7e28e29b5005c20ac02a7eec6511f6d7fd1c4
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Sun Jul 10 13:19:38 2011 -0400

    r600g: LIT: clamp negative src.y to 0
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39083
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d644a50dc328e54d513e4304378bb8c34148f7cc
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 10 17:40:38 2011 +0200

    st/dri: remove unused variables

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95f9e118fe7b02ab5d28550dabd8751e5fb15e3c
Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Jul 10 01:27:20 2011 +0800

    st/egl: fix linking errors
    
    Add symbols referenced by src/glx/dri2.c.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=440224ab73ba19a96629c34e21fe976d1395e483
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Jul 9 02:46:03 2011 -0700

    intel: Recognize all depth formats in get_teximage_readbuffer.
    
    The existing code was missing GL_DEPTH_COMPONENT32, resulting in it
    wrongly returning the color buffer instead of the depth buffer.
    
    Fixes an issue in PlaneShift 0.5.7 when casting spells.  The game calls
    CopyTexSubImage2D on buffers with a GL_DEPTH_COMPONENT32 internal
    format, which (prior to this patch) resulted in an attempt to copy
    ARGB8888 to X8_Z24.
    
    Instead of adding the missing enumeration directly, convert the code to
    use _mesa_is_depth_format() and _mesa_is_depthstencil_format() as these
    should catch any newly added depth formats in the future.
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e591111bf783d94ee6034287cde2f4c9214e810
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:19:00 2011 +0200

    r600g: Get rid of some superfluous braces.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e53725bbc6385c76b26f069df0865c22fd365c0
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:19:00 2011 +0200

    r600g: Check for Evergreen chip class instead of Cedar family in r600_context_flush().
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b5b289a570c699403f115cf3ad094ce92eba2fb
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:18:59 2011 +0200

    r600g: Store the chip class directly in r600_bc.
    
    Instead of deriving it from the family again.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89dc31a28d8e5607989ec11cfd29310c1c97f6ac
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:18:59 2011 +0200

    r600g: Replace the CHIPREV_* defines with the chip_class enum.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f7dfd8ad3185f006e7ae8ed86bafd4d66ebc903
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:18:59 2011 +0200

    r600g: Get rid of the superfluous family field from r600_shader.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3b946b0ab88c1d7edeab183d8ad5125ba223392
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:18:59 2011 +0200

    r600g: Store the chip class in r600_pipe_context.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=949896b82f19f72333e7f6c132bd55e023f0170f
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Sat Jul 9 17:18:59 2011 +0200

    r600g: Fix the type of the family field in r600_pipe_context.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d03fdc4cdefdfdc5b59547945704c6037a5061c7
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jul 8 15:30:48 2011 -0700

    i965/gen4: Fix GPU hangs since the program streaming change.
    
    This was tricky.  We were doing a use-before-initialize of
    grf_reg_count, but the value usually got overwritten anyway -- when we
    didn't have to do a relocation (typical), or on gen5 when we didn't
    have relocations at all.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38771
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57b57f6d1c3689a3a44222cb169bfd3e3142a68d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Jul 8 20:17:50 2011 -0700

    i965/gen7: Remove gratuitous dirty flags from WM and PS state.
    
    Commit b46dc45ceef3deb17ba2b0b4300eeb93e9cf7833 claimed that
    NEW_POLYGONSTIPPLE is gratuitous, but somehow just changed comments
    and whitespace instead of actually removing the flag.
    
    While we're at it, 3DSTATE_PS doesn't appear to need NEW_LINE or
    NEW_POLYGON either (those are in 3DSTATE_WM).  Also, 3DSTATE_WM
    doesn't appear to need BRW_NEW_NR_WM_SURFACES or BRW_NEW_CURBE_OFFSETS
    either (those are in 3DSTATE_PS).
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3efb47f0b0557a6b96a7e41b27725cea4736a061
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Fri Jul 8 06:19:37 2011 +0400

    r600g: introduce r600_bc_src_toggle_neg helper and fix SUB & LRP
    
    SUB & LRP instructions should toggle NEG bit instead of setting it,
    otherwise e.g. "SUB a,b,-1" is translated as "ADD a,b,-1"
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f87d566f4b0e4df18ab60d64951013629bdd624c
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Fri Jul 8 06:19:36 2011 +0400

    r600g: introduce r600_bc_src_set_abs helper and fix LOG
    
    LOG instruction should use absolute values of source operand.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b693787fdf82d065c548e80944aad14e9ba64def
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Wed Jul 6 05:29:09 2011 +0400

    r600g: RSQ: clear NEG for operand
    
    Need to clear NEG bit because it applies after ABS, e.g. "RSQ ..., -1"
    uses -|1| as operand.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86f8b4117f35c788c8a043c2e241eb19eaacae8c
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Wed Jul 6 05:29:08 2011 +0400

    r600g: LIT: swap MUL_LIT operands to fix 0^0
    
    For 0^0 case result of "LOG_CLAMPED ...,0" is -MAX_FLOAT, and then result of
    "MUL_LIT ...,0,-MAX_FLOAT,..." is -MAX_FLOAT instead of 0 because of special
    src1 checks for -MAX_FLOAT. So swap src0/1:
    "MUL_LIT ...,-MAX_FLOAT,0,..." to get expected 0, then result of
    "EXP_IEEE ...,0" is 1 as expected for LIT.
    
    Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4df137691ee29bb812347fa2c5f19095243ede22
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Fri May 6 10:31:24 2011 -0700

    GLX/DRI2: handle swap event swap count wrapping
    
    Create a new GLX drawable struct to track client related info, and add a
    wrap counter to it drawable and track it as we receive events.  This
    allows us to support the full 64 bits of the event structure we pass to
    the client even though the server only gives us a 32 bit count.
    
    Reviewed-by: Michel Dänzer <michel at daenzer.net>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e39fc784bc3d0d5ad01d9c147529ac0e10f1262
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Thu May 5 13:09:16 2011 -0700

    DRI2/GLX: use new swap event types
    
    Use the new swap event type so we get valid SBC values.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=067c9d7bd776260298ceabda026425ed7e4eb161
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 17:29:35 2011 -0700

    glsl: Lower break instructions when necessary at the end of a loop.
    
    Normally lower_jumps.cpp doesn't need to lower a break instruction
    that occurs at the end of a loop, because all back-ends can produce
    proper GPU instructions for a break instruction in this "canonical"
    location.  However, if other break instructions within the loop are
    already being lowered, then a break instruction at the end of the loop
    needs to be lowered too, since after the optimization is complete a
    new conditional break will be inserted at the end of the loop.
    
    Without this patch, lower_jumps.cpp may require multiple passes in
    order to lower all jumps.  This results in sub-optimal output because
    lower_jumps.cpp produces a brand new set of temporary variables each
    time it is run, and the redundant temporary variables are not
    guaranteed to be eliminated by later optimization passes.
    
    Fixes unit test test_lower_breaks_6.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e71b4ab8a64bf978b2036976a41e30996eebb0c8
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 15:33:36 2011 -0700

    glsl: In lower_jumps.cpp, lower both branches of a conditional.
    
    Previously, lower_jumps.cpp would break out of its loop after lowering
    a jump instruction in just the then- or else-branch of a conditional,
    and it would fail to lower a jump instruction occurring in the other
    branch.
    
    Without this patch, lower_jumps.cpp may require multiple passes in
    order to lower all jumps.  This results in sub-optimal output because
    lower_jumps.cpp produces a brand new set of temporary variables each
    time it is run, and the redundant temporary variables are not
    guaranteed to be eliminated by later optimization passes.
    
    Fixes unit test test_lower_returns_4.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=382cee91a4bbbee45897239e6802ccaa5a5ad9c3
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 12:36:23 2011 -0700

    glsl: Use foreach_list in lower_jumps.cpp
    
    The visitor class in lower_jumps.cpp never removes or replaces the
    instruction being visited, but it frequently alters or removes the
    instructions that follow it.  Therefore, to make sure the altered IR
    is visited, it needs to iterate through exec_lists using foreach_list
    rather than visit_exec_list().
    
    Without this patch, lower_jumps.cpp may require multiple passes in
    order to lower all jumps.  This results in sub-optimal output because
    lower_jumps.cpp produces a brand new set of temporary variables each
    time it is run, and the redundant temporary variables are not
    guaranteed to be eliminated by later optimization passes.
    
    Also, certain invariants assumed by lower_jumps.cpp may fail to hold,
    causing assertion failures.
    
    Fixes unit tests test_lower_pulled_out_jump,
    test_lower_unified_returns, test_lower_guarded_conditional_break,
    test_lower_return_non_void_at_end_of_loop, and test_lower_returns_3.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03145ba655ad9173a74b853843eccaae78ff392f
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 18:26:05 2011 -0700

    glsl: lower unconditional returns and continues in loops.
    
    Previously, lower_jumps.cpp would only lower return and continue
    statements that appeared inside conditionals.  This patch makes it
    lower unconditional returns and continue statements that occur inside
    a loop.
    
    Such unconditional flow control statements would be unlikely to be
    explicitly coded by a reasonable user, however they might arise as a
    result of other optimizations.
    
    Without this patch, lower_jumps.cpp might not lower certain return and
    continue statements, causing some backends to fail.
    
    Fixes unit tests test_lower_return_void_at_end_of_loop and
    test_remove_continue_at_end_of_loop.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afc9a50fba39df520046019c6993d7b7559329ea
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 12:14:07 2011 -0700

    glsl: Lower unconditional return statements.
    
    Previously, lower_jumps.cpp only lowered return statements that
    appeared inside of an if statement.
    
    Without this patch, lower_jumps.cpp might not lower certain return
    statements, causing some back-ends to fail (as in bug #36669).
    
    Fixes unit test test_lower_returns_1.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbaa2e627effbe1361e1a69c23cf247cf86f2709
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jul 1 11:59:32 2011 -0700

    glsl: Refactor logic for determining whether to lower return statements.
    
    Previously, do_lower_jumps.cpp determined whether to lower return
    statements in ir_lower_jumps_visitor::should_lower_jumps().  Moved
    this logic to ir_lower_jumps_visitor::visit(ir_function_signature *),
    so that it can be used in determining whether to lower a return
    statement at the end of a function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2c748aec5363981a05f21f26a0c4d37ccf6419d
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Jun 29 10:28:40 2011 -0700

    glsl: Add explanatory comments to lower_jumps.cpp.
    
    No functional change.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4830be938c8fa33086f73cab19a53ab3e14cb9c
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Jun 29 15:30:40 2011 -0700

    glsl: Make ir_reader able to read plain (return) statements.
    
    Previously ir_reader was only able to handle return of non-void.
    
    This patch is necessary in order to allow optimization passes to be
    tested in isolation.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fb79fc69f56cf2d8d44e4c6c2d8b862bc631139
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Jul 5 11:29:40 2011 -0700

    glsl: Remove unused function prototypes.
    
    No functional change.  Remove prototypes for do_mod_to_fract() and
    do_sub_to_add_neg(), which haven't existed since November 2010.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc98444bd58960e6cab28423365923bc7e7af3e1
Author: Gustaw Smolarczyk <wielkiegie at gmail.com>
Date:   Wed Jul 6 23:12:11 2011 +0200

    gallivm: Fix build with llvm-3.0
    
    LLVM 3.0svn changes pretty rapidly. The change in
    Target->createMCInstPrinter() signature which inspired commits
    40ae214067673edbda79371969d1730b6194d83e and
    92e29dc5b0474c073b0f05d60629fc6c3decfca4 has been reverted.
    
    Signed-off-by: Gustaw Smolarczyk <wielkiegie at gmail.com>
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7de28e80dcd4239a780b0f5fdc6e61e6e56a68aa
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jun 27 18:57:59 2011 +0200

    st/mesa: handle float formats in st_format_datatype
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=292148dc4b18958d4447df7596311bd2f09fd44f
Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Jun 27 19:01:25 2011 +0200

    st/mesa: use the first non-VOID channel in st_format_datatype
    
    Otherwise PIPE_FORMAT_X8B8G8R8_UNORM and friends would fail.
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a65e9706035c0e348307e76fdeeed0910ec8c68e
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Fri Jul 8 08:26:29 2011 +0200

    mesa/st: Fix piglit read-front with new drawable invalidation v2
    
    When the state tracker adds a front buffer, nothing triggers a validate
    drawable call, since the state tracker manager is never notified.
    
    Force a validate drawable call by invalidating the framebuffer's stamp, so
    that the window system's renderbuffer (if any) is picked up.
    
    This fixes bug 38988
    https://bugs.freedesktop.org/show_bug.cgi?id=38988
    
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c1a2e128ea44bae6dc89524116c4a170cdc2b37
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Thu Jul 7 21:58:31 2011 -0700

    i915g: Make the optimizer more generic.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8f65c07e9f3a5948c8bee95482bcab651b33c01
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 7 17:29:28 2011 -0600

    intel: add null src pointer check in intel_region_reference()
    
    Fixes segfault when running cubemap demo on i945.  This happened
    when intel_region_reference() was called in i915_set_draw_region()
    with depth_region=NULL.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7eb7d67d50fccb64248d1fc6f490895048d7d32e
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jul 7 16:47:59 2011 -0600

    glsl: use casts to silence warning

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61efad6865978b641cdacc4c087c2e623b1eab11
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date:   Thu Jul 7 23:41:06 2011 +0100

    scons: Generate libGL.so.1.5 and libGL.so.1 symlinks.
    
    In build/xxx/src/gallium/targets/libgl-xlib/SConscript

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=066bee64e1611093c7e641ba77bbd43f70d08cec
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 6 11:31:00 2011 -0700

    intel: Fix use of freed buffer if glBitmap is called after a swap.
    
    Regions looked up from the framebuffer are invalid after
    intel_prepare_render().
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30266
    Tested-by: Thomas Jones <thomas.jones at utoronto.ca>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7a2704ab48edb4853060b4a292d9388eb909e61
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 7 08:59:07 2011 -0700

    intel: Remove dead comment about software clears -- it's handled just above.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f39476b234960cd0fb794a43a3eece440367cba2
Author: John <jpsinthemix at verizon.net>
Date:   Wed Jun 29 11:45:04 2011 -0700

    i915: Fix leak of ViewportMatrix data on context destroy.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=007c2d6cd2f6b206564689ac12a3e51aaae242bc
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 29 11:37:35 2011 -0700

    intel: Remove gratuitous context checks in intel_delete_renderbuffer().
    
    Even if we don't have a current context, if we're freeing the rb we
    should free its region (and BO).  The renderbuffer unreference checks
    appear to be just cargo-cult from the region unreference code.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30217
    Reviewed-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7ef5e8498550e6ed4d609641ca6deb932882485
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 29 11:26:32 2011 -0700

    intel: Remove now trivial intel_renderbuffer_set_{hiz_,}region().
    
    As a result of this cleanup, a bug in
    intel_process_dri2_buffer_no_separate_stencil() became quite apparent.
    We were associating the NULL pointer after an unreference with the
    STENCIL attachment -- clarify the logic and attach the right region.
    
    Reviewed-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b904321ed018c661271fb1fc3eefd1af0ec61c7f
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 29 11:14:23 2011 -0700

    intel: Rely on intel_region_reference()'s support of *dst != NULL.
    
    Reviewed-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=036b74a7f8adc745c7af089129f070b8e5b8f4bd
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 29 11:09:49 2011 -0700

    intel: Allow intel_region_reference() with *dst != NULL.
    
    This should help us avoid leaking regions in region reference code by
    making the API more predictable.
    
    Reviewed-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86e62b2357447b7c97f434be4834f4b50aa0764d
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 15 12:02:12 2011 -0700

    intel: Mark MESA_FORMAT_X8_Z24 as always supported.
    
    This prevents developer surprise at seeing a GL_DEPTH_COMPONENT
    texture have stencil bits, and avoids the metaops path accidentally
    copying stencil bits around in glCopyTexImage(GL_DEPTH_COMPONENT) (and
    being broken because swrast's glReadPixels(GL_UNSIGNED_INT_24_8) is
    broken).
    
    Acked-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3de9405763ad4b9e78577699ec206be7dda03374
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 30 00:15:34 2011 -0700

    i965: Remove unused structures for command packets.
    
    We simply emit these using OUT_BATCH and bitshifting, as it results in
    better compiled code than packed structures.  Since our documentation
    is public, it's not terribly useful to keep these around for reference.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=247e4c69ce6389805437256524d043019abfa6d1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 30 00:11:39 2011 -0700

    i965: Convert system instruction pointer to OUT_BATCH style.
    
    Also rename it from CMD_STATE_INSN_POINTER to CMD_STATE_SIP to match the
    documentation.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87de78523ae96737a39267aaa135ddabff05f2f2
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 30 00:05:49 2011 -0700

    i965: Convert PIPELINE_SELECT to OUT_BATCH style.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=473a519d20c97b54504ff61aaedc0665529c14b7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jun 30 00:00:36 2011 -0700

    i965: Emit 3DSTATE_VF_STATISTICS in OUT_BATCH style.
    
    This is a little different from most because it's a single DWord;
    there's no length field.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a68c5e6b71ac9abf70eb443637d4e79ffba66595
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jun 29 23:50:05 2011 -0700

    i965: Convert 3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP to OUT_BATCH style.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e01e30b916dcbe01471a573ecaddb509cb9f0969
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Jul 4 00:57:43 2011 +0200

    mesa: Fix the BindSampler unit limit.
    
    I'm not sure about this one. The current code actually follows the spec, but
    considering the spec is supposed to be written against GL 3.2 I'd say the spec
    is broken. I filled out a spec feedback form over a month ago, but either the
    form is broken, or nobody cares.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfe284fd26e96b71c7cf46e6365b3697d68cde83
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Jul 4 00:57:42 2011 +0200

    mesa: Fix a couple of TexEnv unit limits.
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47441956284b3e22df2ee8500667617d2880bfc8
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Jul 4 00:57:42 2011 +0200

    mesa: Use the Elements macro for the sampler index assert in validate_samplers().
    
    This is probably nicer if the array size ever changes.
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86adc2b29effb573c18eb0de7016cef605ab1edc
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Jul 4 00:57:42 2011 +0200

    mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders.
    
    The total number of units used by a shader is limited to MAX_TEXTURE_UNITS,
    but the actual indices are only limited by MAX_COMBINED_TEXTURE_IMAGE_UNITS,
    since they're shared between vertex and fragment shaders.
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e35d90fb9a50562d3c658d45a50e16623028d8e
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Jul 4 00:57:42 2011 +0200

    mesa: Check the texture against all units in unbind_texobj_from_texunits().
    
    NOTE: This is a candidate for the 7.11 branch.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3069a7eaa5d83e7f41616347ba244c0dc0d944ae
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Jul 7 14:58:29 2011 +0200

    nv50,nvc0: use screen instead of context for flush notifier
    
    Context may become NULL and we still have to be able to flush
    pending fences.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e54354e8853c3521e71e5b94984722f18b7638e4
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Tue Jun 28 16:06:56 2011 +0200

    nv50: more formats for nv50_resource_copy_region conversion path
    
    It's not supposed to do conversion, but st sometimes asks us to.
    Sometimes conversion is even wrong (e.g. between UNORM and SRGB).
    
    This should now include all formats the 2D engine supports.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f934c80faf0d1fb559cee0a903daba321098320d
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Thu Jul 7 00:15:05 2011 -0700

    i915g: Apply optimization to ADDS/MUL and only if we're not saturating.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b23d4c9a5b9567ba62aee753d2a6ad6d5d2d177
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Thu Jul 7 10:18:24 2011 +0200

    st/xa: Fix up error reporting. Disable component alpha.
    
    Component alpha is temporarily disabled since it seems a bit buggy.
    
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=568d99cc6c8eea75ce50fe29e1ea8a94fe7ff7a7
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date:   Wed Jul 6 21:58:33 2011 +0200

    st/xa: Fix render to xa_format_a8, which is backed by a gallium L8 texture
    
    Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a10976adb65010bec7952a80d1b43d62b3f8bb3
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 6 17:18:32 2011 -0600

    i915g: move code after declaration

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d32d4f780f9dad122adb63086da266aec6e88850
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 27 17:59:58 2011 -0700

    linker: Assign locations for fragment shader output
    
    Fixes an assertion failure in the piglib out-01.frag
    ARB_explicit_attrib_location test.  The locations set via the layout
    qualifier in fragment shader were not being applied to the shader
    outputs.  As a result all of these variables still had a location of
    -1 set.
    
    This may need some more work for pre-3.0 contexts.  The problem is
    dealing with generic outputs that lack a layout qualifier.  There is
    no way for the application to specify a location
    (glBindFragDataLocation is not supported) or query the location
    assigned by the linker (glGetFragDataLocation is not supported).
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38624
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: Kenneth Graunke <kenneth at whitecape.org>
    Cc: Vinson Lee <vlee at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=174cef7fee7d400fc89a3ce68b7791d2aa3eb90f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jun 24 17:30:41 2011 -0700

    glsl: Don't choke when printing an anonymous function parameter
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38584
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbda466fc05a6262ba857a7887e16347cf3d3e96
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jun 24 17:12:31 2011 -0700

    ir_to_mesa: Allocate temporary instructions on the visitor's ralloc context
    
    And don't delete them.  Let ralloc clean them up.  Deleting the
    temporary IR leaves dangling references in the prog_instruction.  That
    results in a bad dereference when printing the IR with MESA_GLSL=dump.
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38584
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eb97979584b73907327eebc547302e6b8d8976a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jun 27 16:33:13 2011 -0700

    glsl: Track initial mask in constant propagation live set
    
    The set of values initially available (before any kills) must be
    tracked with each constant in the set.  Otherwise the wrong component
    can be selected after earlier components have been killed.
    
    NOTE: This is a candidate for the 7.10 and 7.11 branches.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37383
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Cc: Kenneth Graunke <kenneth at whitecape.org>
    Cc: Matthias Bentrup <matthias.bentrup at googlemail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31484b068d4d2842593498c75ec831dfa75af14e
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Jul 6 14:10:51 2011 -0700

    i915g: Fix optimize so that it actually gets used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b786db06540472beda9cedd18937d6e12855b3eb
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 6 15:04:17 2011 -0600

    mesa: fix texstore addressing bugs for depth/stencil formats
    
    Using GLuint pointers worked when the pixel size was four bytes
    or the row stride was a multiple of four but was otherwise broken.
    Fixes failures found with the piglit fbo-stencil test.
    
    This helps to fix https://bugs.freedesktop.org/show_bug.cgi?id=38729
    
    NOTE: This is a candidate for the 7.11 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=057a107d4433eefce0ac99810a6e182f19fa64a6
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 6 15:02:58 2011 -0600

    softpipe: add missing stencil format case in convert_quad_stencil()
    
    Part of the fix for https://bugs.freedesktop.org/show_bug.cgi?id=38729
    
    NOTE: This is a candidate for the 7.11 branch

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ea7b374f6111a3aab2589d915dd3fcd309a59ca
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 6 15:02:25 2011 -0600

    tgsi: add some debug/print code in exec_tex(), disabled

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88349255ce19b894e98fdf63a47c8219e601798f
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jul 6 12:15:10 2011 -0600

    softpipe: minor clean-ups in sp_quad_depth_test.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=053af6ac8cda226a62844fc014ed9f133557c111
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Jul 6 11:44:19 2011 -0700

    i915g: Fix optimization, also make it more generic.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07e5295b6fe77253ea38dbc0d649b20e7275373a
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jun 28 16:39:15 2011 -0700

    mesa: Don't error on glFeedbackBuffer(size = 0, buffer = NULL)
    
    The existing error result doesn't appear in the GL 2.1 or 3.2
    compatibility specs, and triggers an unexpected GL error in Intel's
    oglconform when it tries to reset the feedback state after usage so
    that the "diff the state at error time vs. context init time" code
    doesn't generate spurious diffs.  The unexpected GL error then
    translates into testcase failure.  Brian wants the safety check on
    buffer = NULL, though, so that people can't as easily set up a broken
    buffer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9aac11713c6238a8e3a89e8501e6e686fa811a7
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jun 28 15:04:22 2011 -0700

    mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an error.
    
    Like the previous commit, but fixes
    ARB_vertex_program/getlocal4d-with-error.
    
    v2: Move the success case line into the conditional, use ASSIGN_4V more.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9d563e3ffed8eadde41c8cb25eaa42e20e9688f
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jun 28 13:55:44 2011 -0700

    mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error.
    
    Fixes a bug caught by oglconform, and now piglit
    ARB_vertex_program/getenv4d-with-error.  The wrapping of an existing
    GL function made it so that we couldn't distinguish an error in
    looking up our arguments from an existing error.  Instead, make a
    helper function to choose the param, and use it from multiple callers.
    
    v2: Move the success case line into the conditional, use COPY_4V more.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b043409adfa6ffa6dc78331258de52f7fa6d59aa
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 5 22:02:33 2011 -0700

    glsl: Suppress warning from matching_signature change.
    
    gcc isn't smart enough to see that we only look at matched_score after
    we've initialized it (because match != NULL happens at the same time)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=abbbd14dd440cfbbe8b42279cf95c30eec5b495d
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 5 21:59:33 2011 -0700

    glsl: Fix make clean for dricore.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eafc74d7d4982a835ac43c73963dda9982652464
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jun 29 16:47:30 2011 -0700

    i965/fs: Fix message register allocation in FB writes.
    
    Commit 6750226e6d915742ebf96bae2cfcdd287b85db35 bumped the base MRF to
    m2 instead of m0, but failed to adjust inst->mlen, which was being set
    to the highest MRF.  Subtracting the base MRF solves the issue.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ben Widawsky <ben at bwidawsk.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f747d03b1d3aa4e63417bd8486909f63b4a33be4
Author: Völgyes Dávid <david.volgyes at gmail.com>
Date:   Wed Jul 6 10:10:20 2011 -0400

    Fixes for leaks reported by cppcheck.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e53b41f2632af26c79c4f7ed5b0fdb86a1feb602
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Jul 6 02:19:48 2011 -0700

    i915g: Improve flushing using heuristics.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bc5e0e97ba7b6c32f6ff90cb90448173d74b89b
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Mon Jul 4 20:21:37 2011 -0700

    i915g: introduce the tiny shader optimizer.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc78eb63cdc0022684ca6816f258ea4492431916
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Sun Jul 3 19:44:02 2011 -0700

    i915g: Add comment about DDX/DDY.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26e7436ad3e757ed10cb477f76ab3fdce9710923
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Sun Jul 3 19:43:19 2011 -0700

    i915g: Move back to the old method for target format fixup.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bde225b8b5791588837295b3b89ac132095a6f7
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon Jul 4 18:30:42 2011 +0400

    r600g: fix buffer overflow check in r600_query_begin

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=971e1b743eeaa4f1fc5af4c0a3af78422aaa7b24
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon Jul 4 18:30:41 2011 +0400

    r600g: fix bo map usage flags in r600_query_begin

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbe9d4261f94b8a22ae04dccb8201a6762b66d40
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon Jul 4 18:30:40 2011 +0400

    r600g: reduce flushes for queries

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bf4c30d73f5066db094fa9e72e6c4de7d6f9596
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Mon Jul 4 18:30:39 2011 +0400

    r600g: fix buffer offset in r600_query_begin

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fccc14b2fb35aef95bc04dee46e280a48679299
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Tue Jul 5 01:58:47 2011 +0200

    r600g: Get rid of the state_inlines headers.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88cf65a600c34ff361bcb4a5d928be94dbc1d91e
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Tue Jul 5 01:58:46 2011 +0200

    r600g: Get rid of an unused include in r600_texture.c.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4015b5877c9b92433235eb65da3a9b0aa37e5b98
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Tue Jul 5 01:58:46 2011 +0200

    r600g: Get rid of some unused functions.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18cdb9c8abfb5d9f009fcb36ab788f48792207e4
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Tue Jul 5 01:58:46 2011 +0200

    r600g: Use the actual Evergreen functions to query format support on Evergreen.
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=865f9272189697932d96a318f60efb99344ab944
Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Tue Jul 5 01:58:46 2011 +0200

    r600g: Get rid of the unused "family" parameter to r600_is_vertex_format_supported().
    
    Signed-off-by: Henri Verbeet <hverbeet at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f67de2ed468ecbd09085746130a27bd2c2da911d
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jul 4 12:31:30 2011 +0100

    draw: Fix fetch_max calculation.
    
    It should be
    
     max_index = start + count - 1
    
    instead of
    
     max_index = count - 1




More information about the mesa-commit mailing list