Mesa (pipe-video): 161 new commits

Christian König deathsimple at kemper.freedesktop.org
Sat Jun 4 23:39:03 UTC 2011


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdfe77444d85cbd0f269ad35388e27c03e654574
Author: Christian König <deathsimple at vodafone.de>
Date:   Sun Jun 5 01:28:44 2011 +0200

    st/mesa: some more merge fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=129a3c1cf0f9174d32db022b970ffb2127450ff9
Author: Christian König <deathsimple at vodafone.de>
Date:   Sun Jun 5 00:59:58 2011 +0200

    r600g: some merge fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eb957bb4108123bea95b818e0544e3b5f255e08
Merge: a6c76c8a90dc8995feed3c61b02dbd8408149036 6491e9593d5cbc5644eb02593a2f562447efdcbb
Author: Christian König <deathsimple at vodafone.de>
Date:   Sun Jun 5 00:11:41 2011 +0200

    Merge remote-tracking branch 'origin/master' into pipe-video

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6491e9593d5cbc5644eb02593a2f562447efdcbb
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jun 3 11:23:31 2011 -0700

    glsl: fixed printing of structure constants.
    
    ir_print_visitor::visit(ir_constant *) was failing to index properly
    into ir->type->fields.structure, so the first field name was being
    reprinted for every field in the structure.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26b566e19cbfa189a6a158718f21859c0b7ed090
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Fri Jun 3 10:02:32 2011 -0700

    AST dump: fixed printing of conditionals.
    
    ast_expression::print() had an incorrect index into the subexpressions
    array, so (a ? b : c) was being incorrectly rendered as (a ? b : b).
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4077336fc79353ca369dc5865f5fada920fc96e0
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 3 15:18:59 2011 +1000

    r600g: move spi update to only when states change.
    
    This updates the spi state after ps/vs binding or rasteriser state
    change.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1dbcb83881f508280ed78dae6834d341936712f2
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 3 11:05:47 2011 +1000

    cso: move cso hashes to a more table driven scheme
    
    this removes a bad branch pain in the hash table lookup fn.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=970726dd6f9d5361cf7a4002d65ba24ac8baec20
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 3 10:36:48 2011 +1000

    u_prim: convert u_trim_pipe_prim to table driven.
    
    This makes this function not be an always miss for the branch predictor.
    
    Noticed using cachegrind, makes a minor difference to gears numbers on r600g.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de0adb691feb2ae7f64dd74ed6bc5a9e0f493631
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 3 10:10:01 2011 +1000

    r600g: make conv pipe prim table driven.
    
    This is a lot more branch predictor friendly, it actually
    showed up in cachegrind profiles.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaeb9a82162f7bfedcd3ecbe466599c6487b30a6
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 21:49:03 2011 -0600

    mesa: fix typo (s/GLGL/GLSL/)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52f6e79b7c5d220246fbb020006e628319b8c0c2
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 20:56:23 2011 -0600

    mesa: 80-column wrapping

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9653acc52a1eb0b3187091b11f65470206cae6e6
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 20:56:23 2011 -0600

    mesa: consolidate glGetUniform code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbce18c647a9113baec7b5b17435fcc4f9acb52e
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 20:56:23 2011 -0600

    mesa: refactor/consolidate uniform lookup code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=230c71d9ee02f09255aed9fdeec941f548f36124
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 20:56:23 2011 -0600

    mesa: add some minor fixes for geometry shaders

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b03296c1e9d5ebe5b7731347bf500bedbbdcc55d
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 18:27:10 2011 -0600

    dri: add missing files from 873379a8818eed9ab16c24728b7091a3a3705c5b

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09201cc7a0c4c50871bb8aa5d00ac70aa4e9e670
Author: Pierre-Eric Pelloux-Prayer <pelloux at gmail.com>
Date:   Tue May 31 13:33:54 2011 +0200

    mesa: add implementation of glDrawElementsInstancedBaseVertex
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dae94610e0b70b353fd0b018833bb7c8d013abb
Author: Pierre-Eric Pelloux-Prayer <pelloux at gmail.com>
Date:   Tue May 31 13:34:34 2011 +0200

    glapi: regenerated files
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=898f4c513336c91e343d2bd42f92d74a2676b681
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 17:54:40 2011 -0600

    glapi: add glDrawElementsInstancedBaseVertex() function to xml
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=873379a8818eed9ab16c24728b7091a3a3705c5b
Author: Johannes Obermayr <johannesobermayr at gmx.de>
Date:   Thu Jun 2 17:15:44 2011 -0600

    dri/nouveau: Fix build with --enable-shared-dricore.
    
    - Based on the work of Себастьян Gliţa Κατινα <cglita at yahoo.com>
    - Split Makefile.template into Makefile.defines and Makefile.targets
    - Adapt other drivers to new situation
    - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9c5efb11104d8cfe3139c5c9b6e4b0a4fcb7de5
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 17:04:30 2011 -0600

    r300: remove MIN3 macro, already defined in macros.h

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51d0892ee2daaa442a48abff2329e1485dd337e8
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 3 08:50:58 2011 +1000

    r600g: sampler and texture state doesn't need a range/block.
    
    These are handled separately in the winsys, so don't need the calculations
    done at this point. this manifested as a crash in point-sprite,
    
    Thanks to XoD on #radeon for pointing it out.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e09e5cb7d8b2d7a9d0ec61476e654528010b2b91
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jun 1 13:00:57 2011 -0400

    glx: Remove (unused, broken) fastImageUnpack fast path
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=776a2a54473194e2f0926902276a1f880cded91f
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jun 1 11:33:48 2011 -0400

    glx: Fix another case of using req outside of the display lock
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bddf275db44695e3850c4b62b8f4b77d93299ae9
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Jun 2 00:50:45 2011 +0200

    softpipe: add a better fake implementation of fences
    
    The flush function, when asked for, should not return a NULL fence.
    
    NULL can only be returned if fences are not implemented, and st/mesa
    doesn't call any of the fence functions if it receives a NULL fence
    (because some drivers don't even set the fence hooks).
    
    ARB_sync is exposed if fence_finish is set.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f62e1f41b4d6047e72222aebbb0b55a508269b0c
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 08:43:07 2011 -0600

    util: faster logbase2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bab3b4a75886acd040e81730d9d3dfb31d4f0d48
Author: Benjamin Bellec <b.bellec at gmail.com>
Date:   Thu Jun 2 08:31:16 2011 -0600

    mesa: faster logbase2
    
    With minor clean-ups by Brian Paul.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=029ea39fb9b707a861f4a884c8c191aef0e63af9
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 2 08:01:26 2011 -0600

    st/mesa: add GL_R11F_G11F_B10F to format table
    
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1fd740bb778d7b3763e7c9b8383b1981084c318
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Jun 2 14:04:05 2011 +0200

    d3d1x/sm4: don't reset 1st index of multi-dimensional operands to 0

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a531513b06be45868bc4d4f6a9757fe6992ef304
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Jun 2 14:01:24 2011 +0200

    d3d1x/sm4: fix swizzle for 1 component operands
    
    For example, "mov o0.w, l(1)" would use imm_values[3], which is
    not valid.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f61d1deac7d19dcec38b7852a635d92680624a32
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Jun 2 08:27:09 2011 +0100

    i965: Raise const.MaxTextureLevels to 14 (8192)
    
    Mesa now limits, by default, the max number of texture levels to 15 so we
    can now support the architectural maximum for gen4-6 of 14.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0dc2d0c3b964c2670554a91b4ee79360fd5934a
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 15:08:24 2011 +1000

    r600g: add spi state and move spi/vgt to modify register
    
    This modifies the VGT state and move the SPI setup to its own discrete state.
    
    It then just sets the SPI state up and the VGT state up once and modifies
    them thereafter.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=573758fd094431c8b3220786cea28dfdb4cfad1c
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 15:03:52 2011 +1000

    r600g: decrease CPU time on set buffer resources
    
    This splits the initialisation and the setting of values in the resource
    buffers. We only should end up initialising once and updateing with new values
    when needed.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4423c79ddf6853d1d4594afda3e1262c1b9af4f5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:57:13 2011 +1000

    r600g: work out range/block etc at state build time.
    
    This moves the overhead of working out the range/block to state build time,
    it also allows the compiler to use constants for a lot of things instead
    of working them out each time.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42502b6f03230b828121f60143190c39bc5c8dda
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:53:15 2011 +1000

    r600g: deinline r600_pipe_state_add_reg.
    
    This is going to get too big to be a forced inline. Also going to remove it
    from some hotpaths.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f6672f6a737bc1c47e36c9567bd6d908855ce4d
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:48:06 2011 +1000

    r600g: prepare for passing ctx into _r600_pipe_state_add_reg
    
    This moves the functions down the file, and also adds a ctx parameter.
    
    This is precursor patch just moving stuff around and getting it ready.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=991dbd71fdcc95e42bc56097d2fef3a7df0e8eaa
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:42:11 2011 +1000

    r600g: migrate macros from r600_priv.h to r600.h
    
    this is just an precursor change for some later patches.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1159eea54b28096652289ee8d06472566d9a4e5
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:40:40 2011 +1000

    r600g: remote ctx arg to block/range macros.
    
    These aren't used anymore.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8782fdc1db3cca6817dce4b563855f261694f1ef
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:29:37 2011 +1000

    r600g: avoid copying unnecessary pieces of a block.
    
    This just avoids copying stuff if its going to modify the number of dwords
    later anyways.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9eb86f89a9d6471a92519064547a3937a6f89762
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 10:16:57 2011 +1000

    r600g: optimise state setting in r600_draw_vbo.
    
    This drop the r600_draw_vbo CPU usage on a run of nexuiz from 1.40% to 0.72%
    in sysprof for me on my Fusion APU.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fcafeb4757215d1cf56e1e0a2cc57837379475c
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 2 14:21:39 2011 +1000

    r600g: force new evergreen blocks for large range.
    
    This range was 76 dwords long, the 75th dword changes, the first 60 or so
    don't. split the block so it emits less often.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57242715cb3ce9855460a5f1ccbca0dde8045c21
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun 1 16:25:35 2011 -0600

    st/mesa: add format table entry for GL_RGB9_E5
    
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37839

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3652f0983e6469a515bdfad439286a1060fa545
Author: Nathan Kidd <nkidd at opentext.com>
Date:   Wed Jun 1 08:29:26 2011 -0600

    glapi: Make xserver location error more helpful
    
    glx code hasn't lived under xserver/GL for a long time now.
    
    Signed-off-by: Nathan Kidd <nkidd at opentext.com>
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9e9df78a03edb35472c2e231aef4747e09db792
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 31 20:36:07 2011 +0200

    mesa: queries of non-existent FBO attachments should return INVALID_OPERATION
    
    OpenGL 4.0 Compatibility, page 449:
    
    If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no
    framebuffer is bound to target. In this case querying pname FRAMEBUFFER_-
    ATTACHMENT_OBJECT_NAME will return zero, and all other queries will generate
    an INVALID_OPERATION error.
    
    Reviewed-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d69dc2e20346397f4734a0760554a51fb4fbb3c0
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 31 14:59:44 2011 +0200

    mesa: UseShaderProgramEXT and Uniform* shouldn't be allowed inside Begin/End
    
    I couldn't find this being required by the spec.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37a85b1830188503feb286ebdee0cdb44fa298af
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Jun 1 01:09:11 2011 +0200

    r300g: remove unused debug option DBG_UPLOAD
    
    And renumber the options.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5903ed4541ec4f9389e33ba27c9527afa87ec44
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Mon Apr 4 12:29:50 2011 -0400

    r600c: add support for llano
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=414cd5df50435f475d92b02c229453d037369c0f
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Mon Apr 4 12:06:11 2011 -0400

    r600g: add llano support
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c331b3123ecda127919458e24848b7c1596525ac
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 12 09:03:24 2011 -0700

    i965/fs: Use the embedded compare in SEL on gen6+.
    
    This avoids the extra CMP and the predication on SEL, so in addition
    to one less instruction, it makes scheduling less constrained.
    
    Improves glbenchmark Egypt performance 0.6% +/- 0.2% (n=3).  Reduces
    FS instruction count across affected shaders in shader-db by 1.3%
    without regressing any.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=089aa313b40b495e9d9a9d209fe3851d43807f6e
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue May 31 14:20:59 2011 +0200

    wayland-drm: Check visual for being NULL

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc5aec934237389946a5afd42414a57c4568c5cd
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Mon May 30 14:33:30 2011 +0200

    Fiuxp make tarballs for wayland-egl/drm

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7cd65fb38a3ece6202d3675a543785c10f0932a
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue May 31 11:14:46 2011 +0200

    st/egl: Fix udev linkage when egl_dri2 is not build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa87a938fb4cec30dad48642e8d12810e947bc8b
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue May 31 11:45:51 2011 +0200

    egl_dri2: Fix usage of bool values

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bf6cc95c1e3dc01dde2bd91fc0bd4eb02cddd40
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue May 31 11:13:57 2011 +0200

    wayland-egl: Remove left-over headers and struct

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f04765922c02f2b522b0de17c7c7ce67beca1efe
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 12:33:42 2011 -0700

    i965: Remove brw_surface_state struct that is now unused.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee643b23ff546492c67d4e2b525ced7329a3c020
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 12:32:19 2011 -0700

    i965: Switch brw_state_dump to using bitshifting for surface state.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e764f10ea557c9d819ad25bf1e700b1b3bd83277
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 10:55:40 2011 -0700

    i965: Replace struct with bit shifting for WM null surfaces.
    
    Reduces compiled size of brw_wm_surface_state.o another 1.9%.
    
    Overall, this brw_wm_surface_state reduction series cuts
    firefox-talos-gfx runtime by 0.68% +/- 0.42% (n=6).
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bdc44a52804a64219a0ca1a061b18596863e524
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 10:51:45 2011 -0700

    i965: Replace struct with bit shifting for WM pull constant surfaces.
    
    This reduces compiled size (4.7% of brw_wm_surface_state.o).
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac11c01ddeccf34230f363c0723783a1e2fce555
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 10:35:07 2011 -0700

    i965: Replace struct with bit shifting for WM render target surfaces.
    
    This massively reduces compiled size (6.7% of brw_wm_surface_state.o).
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae5c1fceba383d13ab66f1c8db652bd98dfa4a26
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 27 21:50:20 2011 -0700

    i965: Replace structs with bitfield shifting for WM texture surfaces.
    
    This massively reduces compiled size (4.9% of brw_wm_surface_state.o).
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d437b1f7fb64f187125a393eebe1d1c17db9961
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 31 12:03:52 2011 -0700

    i965: Add defines for surface state setup using bitfield shifting.
    
    It turns out that gcc is just awful at generating code for
    brw_structs.h style state setup, and using bitshifting on u32s
    generates better code while being similarly readable (and more
    verifiable compared to the specs, using the INTEL_MASK macro).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3412069e23b7fa5656262f3dd1aa86f66980594d
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 27 21:50:20 2011 -0700

    i965: Don't compute brw->wm.input_size_masks when it's unused.
    
    It's only used in the old fragment program path, to avoid projection
    when w is always 1.  We do want to do this in the new path pre-gen6
    too, but we'll probably do it through the ir.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcbb1a536f7b6f00bbb164bd14d9f63102b9a8af
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 09:20:04 2011 -0700

    i965: Drop a gratuitous "if" that the compiler didn't eliminate at -O2.
    
    Oddly, this increases compiled code size.  (marking the 'if' as likely
    also increases code size, but not as much).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1946f53482a5a490a1da86d9bf9a3e2e866c0c4
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 09:11:38 2011 -0700

    i965: Move prepare_wm_surfaces texobj declarations inside of _ReallyEnabled.
    
    Interestingly, the compiler wasn't doing this for us at -O2, so we
    were doing the computation for every non-_ReallyEnabled unit.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f29bc77572eb68c6e93371a5c7a9c4e4d1f9ee35
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu May 19 14:34:19 2011 +0200

    intel: Remove unused NO_TILE macro
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1246cf13bc4e301b499a95d33e0cab26655fed5
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 31 15:53:11 2011 +0200

    r300g: set squared microtiling for the dummy zbuffer
    
    The pitch of 4 is allowed for squared microtiling only.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5518834e3ae117eafb32cfc5c7e7af51b4a1078
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Tue May 31 10:43:31 2011 -0400

    r600g: cs init fixes
    
    - all asics need to emit CONTEXT_CONTROL
    - all r6xx asics need to emit 3D_START_CMDBUF
    
    The ddx and r600c already do this. r600g should as well.
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4175c811eda0958db08875e4b44b31e4ef15b48
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue May 31 01:16:20 2011 +0200

    r300g: log when getting unsupported texture format

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2ede5e64809915a9432bd8aa77f56bd82935f3b
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon May 30 20:21:16 2011 +1000

    gallium: include limits.h in p_config.h
    
    We are getting inconsistent methods for endian detection (same answer when
    it works, just doesn't work on some platforms) depending on whether __GLIBC__
    is defined, which of course depends on include ordering before p_config.h
    
    Just make p_config.h include limits.h to solve this.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cdd82df53a55907b311ede0e80c3ce2fb37f287
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue May 31 15:33:07 2011 +1000

    r600g: add context control to start of CS
    
    On my original R600 card this at least lets gnome shell run for a while longer
    and the piglit r300-readcache test case works a lot more reliably.
    
    Still a few more stability issues running a piglit test run though.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65ee7cd1dfa043d28dd013f513732090470ef9d6
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue May 31 10:52:07 2011 +1000

    r600g: don't emit color blend register on original R600.
    
    The original R600 doesn't have these so don't emit them.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29ceeeba2004f71ccb91ce67f518dc1bf0ca6b17
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 18:58:45 2011 +0200

    mesa: forbid UseProgram to be called inside Begin/End
    
    The spec doesn't state it should be an error, but. We have this piglit test
    useprogram-inside-begin that passes with this commit. No idea what's correct.
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b37a41661f791b22f12b8477053a8dff6e33d6d
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 06:21:39 2011 +0200

    st/mesa: don't use resource_copy_region for CopyPixels with conditional render
    
    The conditional rendering should be able to kill CopyPixels.
    I assume the render condition has no effect on resource_copy_region.
    
    This fixes piglit:
    - NV_conditional_render/copypixels
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d45bbc4221d83bc2bfd0295f56b0f6d35b16a99
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 18:20:36 2011 +0200

    st/mesa: conditional rendering should not kill texture decompression via blit
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91e56c88972448079b5aafbc2b876d0ea0e28a39
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 15:35:25 2011 +0200

    st/mesa: CopyTex(Sub)Image should not be killed by conditional rendering
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccfeb90b757ed2b2948bbe06fd4f4a15628639f9
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 17:52:29 2011 +0200

    st/mesa: BlitFramebuffer should not be killed by conditional rendering
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0277d953975ddc232aa34a101955d8314c99b96
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 17:52:29 2011 +0200

    swrast: BlitFramebuffer should not be killed by conditional rendering
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c95c3ef9c51c0eb218f80959bbbf29d213a6af0
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 15:35:25 2011 +0200

    st/mesa: GenerateMipmap should not be killed by conditional rendering
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24ed0b384b74863d142a915a6bc9f998ddb20ef4
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 28 16:30:51 2011 +0200

    st/mesa: fix typos and add some format fallbacks in format_map
    
    Always default to DEFAULT_*_FORMATS for mandatory GL formats.
       (st_choose_format must not fail for those)
    Use DEFAULT_RGBA when alpha is required instead of RGB.
    Use DEFAULT_RGB otherwise.
    
    These are more or less the remaining differences between the old code and
    the new one.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c638b7ca1109e9ec0f16e6c13e08928b4d05b23
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 28 15:50:10 2011 +0200

    st/mesa: consolidate listing of depth formats
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26d718ff71e6d9f863e092ab46ed18212e207157
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 28 14:51:16 2011 +0200

    st/mesa: add GL_DEPTH_COMPONENT32 fallback formats
    
    This makes D32 work again on chipsets which can't do it.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49d4e803d369e0faedfa44063fb7f6232faa8175
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat May 28 14:28:19 2011 +0200

    st/mesa: fix changing internal format via RenderbufferStorage
    
    The problem is: The second time the function is called with a new
    internal format, strb->format is usually not PIPE_FORMAT_NONE.
    
    RenderbufferStorage(... GL_RGBA8 ...);
    RenderbufferStorage(... GL_RGBA16 ...); // had no effect on the format
    
    Broken with: fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb
    Test: piglit/fbo-storage-completeness
    
    NOTE: This is a candidate for the 7.10 branch.
    (if fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb is cherry-picked as well)
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff038170ff9042c0ee535be7c2837d200e06b0c0
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 02:53:01 2011 +0200

    tgsi/ureg: bump the limit of immediates
    
    Lowered indirect addressing can create lots of immediates.
    
    Fixes piglit/glsl-fs-uniform-array-7 on r300g.
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f133ff51a2b40da5381cc2b988cc1e17e12a1bf0
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 03:34:00 2011 +0200

    trace: implement texture_barrier

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9e8cb0a5904bdd60937627ffef4b93dc679c064
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 03:32:54 2011 +0200

    trace: implement render_condition

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76056510bcd35b6b5607b572c0c0ff47b5c5e7e2
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 06:12:22 2011 +0200

    r300g: clear can be killed by render condition
    
    Fixes piglit:
    - NV_conditional_render/clear

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aae56150f5d59d45e13a4033b20f0ccf20a3319c
Author: Tom Stellard <tstellar at gmail.com>
Date:   Tue May 24 21:11:03 2011 -0700

    r300g: Fix non-dri builds
    
    This is just a temporary solution for now until there is a better way
    to share code between mesa and gallium.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f76787b3eae3f0b8af839fabfb24b57715a017f6
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 04:36:36 2011 +0200

    r300g: fix occlusion queries when depth test is disabled or zbuffer is missing
    
    From now on, depth test is always enabled in hardware.
    
    If depth test is disabled in Gallium, the hardware Z function is set to ALWAYS.
    
    If there is no zbuffer set, the colorbuffer0 memory is set as a zbuffer
    to silence the CS checker.
    
    This fixes piglit:
    - occlusion-query-discard
    - NV_conditional_render/bitmap
    - NV_conditional_render/drawpixels
    - NV_conditional_render/vertex_array

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d18792f93d6dcdf7ef971522bdfba1ceeb0c6668
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 03:59:07 2011 +0200

    r300g: cleanup render_condition a bit

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70b86fb273ee9c3b6fea750bc14eae43328ba677
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 03:46:15 2011 +0200

    r300g: remove fake occlusion queries (debug option)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2397f20b6b0c7092927b33d0461c89200204906d
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 03:44:21 2011 +0200

    r300g: remove debug option DBG_FALL

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a3f861faf58bad7c9361020c3bbed76495062ff
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 15 02:34:16 2011 +0200

    r300g: print some HyperZ debug info

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc48de4fabcf3a42a1cd7d447790afefc7d27af8
Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Thu May 26 17:19:03 2011 -0700

    glx: Fix glXGetFBConfigFromVisualSGIX.
    
    We want to check for Success, otherwise it will fail even with the right visual.
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Signed-off-by: Antoine Labour <piman at chromium.org>
    Signed-off-by: Stéphane Marchesin <marcheu at chromium.org>
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4eeabd5a3d9fc7377b0461aa2ae2924547e82052
Author: Pierre-Eric Pelloux-Prayer <pelloux at gmail.com>
Date:   Thu May 26 20:06:42 2011 +0200

    mesa: set parameter list StateFlags field in _mesa_layout_parameters()
    
    When using _mesa_layout_parameters, all params copied in the 'layout'
    output in the PASS 1 don't modify StateFlags (because they are simply
    memcpy'ed).
    This patch fixes the problem, assuring output gl_prog_param_list
    StateFlags field is the same as the input one.
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0653c450cc8da1212e1123a1cd6635c02f7d6919
Author: Eric Anholt <eric at anholt.net>
Date:   Fri May 27 09:50:34 2011 -0700

    i965/fs: Fix up for 8752764076e5b3f052a57e0134424a37bf2e9164.
    
    I failed to commit and squash before pushing.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bd7e9c6b29b212a97bd4ca6c62836160b2f7698
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 08:21:27 2011 -0700

    mesa: Include shader target in dumps of GLSL source.
    
    This makes automatic parsing of MESA_GLSL=dump output easier.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8752764076e5b3f052a57e0134424a37bf2e9164
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 16 15:10:26 2011 -0700

    i965/fs: Do a FS compile up front at link time to produce link errors.
    
    At glLinkShaders time, a fail() call in FS compile in 8-wide (the one
    that's required to succeed, though we may relax that at some point for
    pre-Ironlake performance) will now report out as a link error.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1f70a8a6c6ec7007bad22d3d6013415be2d243a
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 16:45:17 2011 -0700

    i965/fs: Split the GLSL IR -> FS LIR visitor to brw_fs_visitor.cpp.
    
    We now have:
    brw_fs.cpp handles calling out to everything and optimization.
    brw_fs_visitor.cpp handles translating to our LIR.
    brw_fs_emit.cpp handles emitting from our LIR to native code.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11dd9e9c0fcf9985b90ff4b63b2833345fece027
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 16:34:27 2011 -0700

    i965/fs: Split the BRW native code emit to brw_fs_emit.cpp
    
    This is all separate from the visitor and the optimization passes
    which feed into it.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7b700aeb0eab2cae26a01d9db42feea969333c7
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 26 10:01:10 2011 -0700

    i965: Move a couple of GLSL IR -> BRW helper functions to brw_shader.cpp.
    
    These will be used by the VS backend as well.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14b86f3c9131c1b26b01e07679cc899df0885b23
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 26 09:57:36 2011 -0700

    i965: Move non-FS-specific shader support to brw_shader.cpp.
    
    These only existed in brw_fs.cpp because it was the only .cpp file in
    the area when I wrote them.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53c89c67f33639afef951e178f93f4e29acc5d53
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Apr 26 17:58:04 2011 -0700

    i965: Avoid generating MOVs for assignments of expressions.
    
    No statistically significant difference measured in 3dbenchmark
    egypt/pro.  It does reduce fragment shader instructions across
    shader-db by 0.3%.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1791857d7d950d3d2834bbb09b495f51f43ef7c1
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 17 08:55:11 2011 -0700

    i965/fs: Move the computation of register block count from unit to compile.
    
    No net code size change, but unit update is down 0.8% code size
    pre-gen6.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=615117ce4efd041459f7d4b0c77aa8e248345e66
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 23 09:12:07 2011 -0700

    i965/fs: Track fixed GRF regs separate from allocated GRF file in scheduling.
    
    There's an assumption here that fixed GRFs will never intersect with
    the allocated GRFs.  That's true today, though it might change some
    day if we decide to register-allocate the regs containing push
    constants once they're dead.
    
    This fixes a regression in 0f7325b89038937bd428f7c89ed9859189a0ab0b in
    Lightsmark from the texture instructions now containing g0 references
    instead of having that be implied.  Performance is improved 15.2% +/-
    3.6% (n=3).
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34968

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40540cc517480720e509a63f213ab33d66409bf8
Author: Eric Anholt <eric at anholt.net>
Date:   Fri May 20 14:13:59 2011 -0700

    i965/fs: Add a helper function for add_dep(before, after, before->latency).
    
    This lets us avoid a bunch of before==NULL checks in the callers.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=828b26b7ebe7e4c756a6cfde04646e8a112166ac
Author: Trevor Davenport <trevor.davenport at gmail.com>
Date:   Fri May 27 10:25:40 2011 +0200

    nv50: fix emit_add_a16 to emit correct source reg
    
    emit_add_a16 was using the incorrect source.
    This caused adds in the form of:
    
       add u16 $a0 s32 $a1 u32 0x00000200
    
    to have a source AREG of $a0 instead of $a1.
    
    Fixes World of Warcraft in OpenGL and D3D without GLSL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4609e80288bacf19af99b0ed7656eef9bb280912
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: s/height/depth/ in texsubimage()
    
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37648

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e401c1f57fc0640f0eba32f91703b1c5383f2364
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: plug _mesa_GetObjectParameterivAPPLE into display list dispatch table

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6126d50e75f1d8ef2e65c5df844e50a1b7f415f9
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: plug in GL_ARB_vertex_array_object display list functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00481586c6fe87c5bf8753f9502d220ea46763a
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: more geometry shader display list functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b0f4318207d393ce586bd7dccc1c92eee13eaa1
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: more transform feedback display list functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=919e260bff53b9ea79347c4a3b88b373443494bf
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: make query object API functions static
    
    Only directly referenced by the _mesa_init_queryobj_dispatch() function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=848bcd2e8c0232b7ab50da75059cd1dacbdb3db3
Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 26 19:25:44 2011 -0600

    mesa: simplify query object display list dispatch setup

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7b3f40b70dc7dd602897d364011089047583c5d
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 19 09:56:27 2011 -0700

    i965: Pack the lookup and line_aa bits into the first dword of the key.
    
    They were occupying whole 32-bit words, despite being only 10 or so
    bits.  Reduces code size slightly (80/3300 bytes).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a729ab4b273f503747209a9c58dbb664adca838
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 19 09:54:07 2011 -0700

    i965: Remove dead shadowtex_mask entry in the WM key.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f147599ef4b0d14c25a7e0d3f9f1c9b0229bb6fc
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 19 08:48:42 2011 -0700

    i965: Remove linear_color for GL_PERSPECTIVE_CORRECTION_HINT.
    
    From the GL 2.1 spec:
    
       "Required perspective-correct interpolation for all fragment
        attributes except depth in sections 3.4.1 and 3.5.1, effectively
        making GL PERSPECTIVE CORRECT HINT a no-op."
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c095335fa54498ec54e4587b5f84ad6afd8f1857
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 25 13:56:04 2011 -0700

    intel: Drop doubly irrelevant code in intelReadBuffers.
    
    First, FBO read/draw == NULL validation happens in mesa core not
    intelReadBuffers -> intel_draw_buffers.  Second, that condition is no
    longer tested for in our driver since ARB_ES2_compatibility was added.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d4b974e89ca8c803e2a0033005ad95eab537fe6
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 25 13:46:47 2011 -0700

    mesa: Flush vertices before updating drawbuffer computed state.
    
    Otherwise, the driver is likely to draw the flushed vertices to the
    new drawbuffer instead of the old one, missing the point of the flush.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3451f7f9c095204105259bb989428709fc1fdf0
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 25 13:51:26 2011 -0700

    mesa: Allow NULL read/draw in complete FBOs in ARB_ES2_compatibility.
    
    From the ARB_ES2_compatibility spec:
    
        "(8) How should we handle draw buffer completeness?
    
        RESOLVED: Remove draw/readbuffer completeness checks, and treat
        drawbuffers referring to missing attachments as if they were NONE."
    
    Fixes arb_es2_compatibility-drawbuffers when the short-circuit for
    ARB_ES2_compatibility in the previous commit is dropped.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f73ff463a2175039c5a54a9a15d65a9a2d1fae25
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 25 13:43:02 2011 -0700

    mesa: Trigger FBO validation on DrawBuffers change in non-ES2 mode.
    
    glDrawBuffers pointing at an unattached buffer is supposed to be
    incomplete without ARB_ES2_compatibility.  The testcase to catch the
    bug of not implementing that bit of the spec was tricked by this
    missing piece of state update.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=179a88d52c00970a450c98bc7bc6179c32432a08
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 21:05:23 2011 -0600

    mesa: minor whitespace fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f84be846ca6c9ce9f8dc6c9bdd9ca5815e9a8e2e
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:45:48 2011 -0600

    mesa: plug in sync object display list functions
    
    Most just dispatch through to the immediate mode functions, except
    for glWaitSync(), per the extension spec.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95fa22c8640abd2f5694631aaa079ce815cef7d1
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:44:35 2011 -0600

    mesa: display list support for glProgramParameteriARB()

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=001aa6c979f7795d8e48344c662a0546ae555f95
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:39:08 2011 -0600

    mesa: plug shader object functions into display list dispatch

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4535c98cdb2ccb11dbf5af8662eed8f9a08fbca6
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:27:44 2011 -0600

    mesa: plug in GL 3.0 ClearBuffer() display list functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f7c815568ece6804e626255b74e9f729b74a0e6
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 20:20:22 2011 -0600

    mesa: fill in missing sampler object display list functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e06803c2c6cf83009708b23d3ebafc0ea3dc525
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 18:16:03 2011 -0600

    st/mesa: simplify some st_context(ctx)->pipe code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf14ab417c6638afd19206e11ee69bdb9fb93d9e
Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 25 18:07:33 2011 -0600

    st/mesa: fix incorrect texture level/face/slice accesses
    
    If we use FBOs to access mipmap levels with glRead/Draw/CopyPixels()
    we need to be sure to access the correct mipmap level/face/slice.
    Before, we were just passing zero in quite a few places.
    
    This fixes the new piglit fbo-mipmap-copypix test.
    
    NOTE: This is a candidate for the 7.10 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1697dac64294aab73052541dab6763d660d088dc
Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Wed May 25 22:00:09 2011 +0200

    i915g: Bump texture sizes
    
    Spotted and tested by Christopher Egert.
    
    Signed-off-by: Jakob Bornecrantz <wallbraker at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5846865deb20c54e88c7c1a7c732d29e9c47975
Author: Eric Anholt <eric at anholt.net>
Date:   Mon May 23 09:26:42 2011 -0700

    i965: Warnings cleanup.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa42de5ad7ebbc0b81ce6ba0553742f0413690a7
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 12:36:50 2011 -0700

    i965: Fix assertion failures in unused brw_reg setup by deleting it.
    
    I was using undefined values to create an unused value.  Go me.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37366
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ed7a7b7205b5680d617b77a8cf228b80cf15f5e
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Wed May 25 11:04:25 2011 -0400

    r600g: remove duplicate opcode in r600_opcodes.h
    
    V_SQ_CF_WORD1_SQ_CF_INST_HALT is 0x1f on both
    evergreen and cayman.
    
    Reported-by: Gustaw Smolarczyk <wielkiegie at gmail.com>
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7bcfadc2255e3417e03676837d248f4976419e2
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:48:18 2011 -0700

    intel: Change FBO validation criteria to accomodate hiz and seprate stencil
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce8fdf666fc14aa5b9672be1711dfc1c0039efd0
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:42 2011 -0700

    intel: Fix intel_draw_buffer() to accomodate hiz and separate stencil
    
    The logic of intel_draw_buffers() expected that stencil buffers were
    always combined depth/stencil.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c270f1a628a625ccc9f6d931f2921e3d92c31818
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:48:14 2011 -0700

    intel: Add hiz_region to intel_mipmap_tree
    
    When a texture is attached to multiple FBO's, a separate renderbuffer
    wrapper is created for each attachment. This necessitates storing the hiz
    region for these renderbuffers in the texture itself instead of the
    renderbuffer wrapper.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ed829fe5063f61f1ab2fcb39a441e17d89e622c
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:48:10 2011 -0700

    intel: Refactor the wrapping of textures with renderbuffers
    
    Before this commit, the renderbuffer's region was updated in
    intel_renderbuffer_texture(). This commit moves the update into
    intel_update_wrapper(), which is a more logical location for updates.
    
    This is in preparation for the next commit, which allocates and
    updates the texture's hiz region in intel_update_wrapper(). Having the two
    region updates located in the same function makes good form.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c0e6d9bbc11f7802c81df048eb721b5e15e8ece
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:48:04 2011 -0700

    intel: Add hiz_region to intel_renderbuffer
    
    A hiz surface must be supplied to the hardware when rendering to a depth
    buffer with hiz. There are three potential places to store that surface:
        1. Allocate a larger intel_region for the depthbuffer, and let the
           region's tail be the hiz surface.
        2. Allocate a separate intel_region for hiz, and store it as
           brw_context state.
        3. Allocate a separate intel_region for hiz, and store it in
           intel_renderbuffer.
    
    We choose method 3.
    
    Method 1 has not been chosen due to future complications it might cause
    when requesting a DRI drawable's depth buffer attachment from X.
    
    Method 2 has not been chosen because storing the hiz region apart from
    the depth region makes lazy hiz/depth resolves difficult to implement.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9e65097855468529242f9076bd6ef2a6c8062c1
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:57 2011 -0700

    intel: Add is_hiz_depth_format() to intel_contex.vtbl
    
    Given a format, is_hiz_depth_format() indicates if HiZ can be enabled on
    a depthbuffer of that format.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a1411e09b23fce9977f7926dba4f1f0c8f3c5ec
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:35 2011 -0700

    intel: Allocate region for separate stencil buffer
    
    ... in intel_alloc_renderbuffer_storage().  The stencil buffer has quirky
    pitch requirements, so its region allocation is a special case.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5c847c7ca06823af3b72324056a2e478caca70b
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:27 2011 -0700

    intel: Change supported texture formats for separate stencil
    
    When hardware supports separate stencil, enable support for separate
    depth/stencil texture formats in the table
    intel_context.ctx.TextureFormatsSupported. If the hardware must use
    separate stencil, then disable support for combined depth/stencil formats.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e0654ec2924c941fe03f57665fbf44e1b600db8
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:17 2011 -0700

    mesa: Add MESA_FORMAT_X8_Z24 to _mesa_choose_tex_format
    
    Prefer MESA_FORMAT_X8_Z24 over MESA_FORMAT_S8_Z24 for textures with
    internal format GL_DEPTH_COMPONENT*.
    
    i965 needs MESA_FORMAT_X8_Z24 for HiZ and separate stencil.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76f77cb07edf9c6a548f782c709de70aa0a41458
Author: Chad Versace <chad at chad-versace.us>
Date:   Mon May 23 13:47:01 2011 -0700

    intel: Add flags to intel_context for hiz and separate stencil
    
    Add the following flags:
        intel_context.has_separate_stencil
        intel_context.must_use_separate_stencil
        intel_context.has_hiz
    
    The flags are currently set to false, and will be enabled for a given
    chipset once the feature is completely implemented.
    
    Since it may be some time before these features are completed, their
    values can be overridden with environment variables INTEL_HIZ and
    INTEL_SEPARATE_STENCIL. Valid values for these environment variables are
    "0" and "1".
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Chad Versace <chad at chad-versace.us>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a95ec18549b677b5e9912ca9e2c92df5cfef3b4e
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed May 25 06:11:20 2011 -0400

    glx: Don't refer to the request buffer outside of {L,Unl}ockDisplay
    
    ... because that's not a safe thing to do.  The request buffer is shared
    storage among all threads, and after UnlockDisplay the 'req' pointer may
    point into someone else's request.
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c44dad559af88c40bb8e626fe293319966d14394
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Wed May 25 01:27:34 2011 -0400

    egl_dri2: add new cayman pci ids
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=017cd5dcc36816e7aef5a7810b8a79d5c8ef777d
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Tue May 24 22:44:16 2011 -0400

    r600g: fix eg/cayman scissor workaround
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=868c04205c3859a816593595aa513ee603f736ad
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed May 25 09:25:03 2011 +1000

    r600g: add workaround for buggy hw scissor on eg/cayman.
    
    This is ported from the same fix to the DDX.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7779f6d1dffde2c0501e44adc342e52803de08d4
Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Mar 10 12:54:13 2011 +1000

    r600g: add initial cayman acceleration support.
    
    Cayman is the RadeonHD 69xx series of GPUs. This adds support for
    3D acceleration to the r600g driver.
    
    Major changes:
    Some context registers moved around - mainly MSAA and clipping/guardband related.
    GPR allocation is all dynamic
    no vertex cache - all unified in texture cache.
    5-wide to 4-wide shader engines (no scalar or trans slot)
    	- some changes to how instructions are placed into slots
    	- removal of END_OF_PROGRAM bit in favour of END flow control clause
    	- no vertex fetch clause - TC accepts vertex or texture
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1b8f8e8b3b41ab6092fa3f18a4891a0198f64de
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed May 25 10:01:25 2011 +1000

    r600g: don't lookup a vs semantic for position/face.
    
    These don't need one, and I was seeing 0xff being returned and set in
    the GPU registers with some tests.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ece871c03876221636166ebd3f091ebeb10afbf1
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed May 25 09:37:33 2011 +1000

    r600g: flush the DB dest base as well.
    
    If we do this for CB bases then we should do it for DB bases.
    
    noticed while adding cayman support.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3869be74afb184dbdf9d67fda3de3e3ac7e3db6c
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Apr 29 16:30:50 2011 -0400

    glx: More comment cleanup
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3aecd190b7c411d399350f83ee663f8744e94ac
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Apr 29 15:40:38 2011 -0400

    glx: Remove some misleading comments
    
    These functions have already been modified for direct rendering.
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a6897ff0b62c6ec3ec49663a7e6a00550194bb9
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Apr 29 15:17:42 2011 -0400

    drisw: Namespace better for ease of navigation
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b24f291e429b94ca7de74f8b32279e3a0375cd9c
Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Apr 28 15:35:30 2011 -0400

    drisw: dead store removal
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3b6e8a2b8e3581e07a6dd7277d4d4c6c0407760
Author: Mike Kaplinskiy <mike.kaplinskiy at gmail.com>
Date:   Sat May 21 19:05:29 2011 -0400

    mesa: fix glGetTexImage for cases when srgb decode is skipped
    
    See http://bugs.freedesktop.org/show_bug.cgi?id=37150
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd5417aac72ae1de85dd6bca3d53d2e2f2d7e546
Author: Brian Paul <brianp at vmware.com>
Date:   Tue May 24 08:59:09 2011 -0600

    st/mesa: prefer formats without stencil for DEPTH_COMPONENT
    
    for fast Z clears to be used more often.
    
    Original patch by Marek Olšák.  Rebased to table-driven st_choose_format()
    by Brian Paul.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d57e95f22af1a1b2d9013db7a15524717bd29579
Author: Brian Paul <brianp at vmware.com>
Date:   Sat May 21 10:43:49 2011 -0600

    st/mesa: rewrite st_choose_format() to be table driven
    
    Instead of using a giant switch statement with lots of code, use a
    table to convert GL format enums to pipe formats.
    
    Tested by running the old code next to the new and asserting that
    the return value was the same for piglit tests.
    
    We're doing a linear search, but if that ever appears to be too slow
    the table could easily be sorted or hashed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3c1976f522a67be6a0619e938a90cf186ad42e6
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon May 23 20:38:41 2011 +0100

    wgl: Don't hold on to user supplied HDC.
    
    Certain applications (e.g., Bernina My Label, and the Windows
    implementation of Processing language) destroy the device context used when
    creating the frame-buffer, causing presents to fail because we were still
    referring to the old device context internally.
    
    This change ensures we always use the same HDC passed to the ICD
    entry-points when available, or our own HDC when not available (necessary
    only when flushing on single buffered visuals).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5af46e836073d2112b147b524e441bdb808cc128
Author: Thierry Reding <thierry at gilfi.de>
Date:   Sun May 22 14:07:22 2011 +0200

    mesa: Fix remap_table setup.
    
    Since the SET_xxx and GET_xxx macros used to initialize the remap_table
    have been replaced by inline functions, the missing late macro expansion
    leads to driDispatchRemapTable not being redefined to remap_table, which
    in turn causes the remap_table not to be setup properly.
    
    This commit fixes the issue by moving the table redefinition after the
    definition of driDispatchRemapTable but in front of the inline function
    definitions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8b1c6d6f55f5be3bef25084fdd8b6127517e137
Author: Adam Jackson <ajax at redhat.com>
Date:   Fri May 20 18:21:15 2011 -0400

    mesa: Fix return type of  _mesa_get_format_bytes() (#37351)
    
    Despite that negative values aren't sensible here, making this unsigned
    is dangerous.  Consider get_pointer_generic, which computes a value of
    the form:
    
        void *base + (int x * int stride + int y) * unsigned bpp
    
    The usual arithmetic conversions will coerce the (x*stride + y)
    subexpression to unsigned.  Since stride can be negative, this is
    disastrous.
    
    Fixes at least the following piglit tests on Ironlake:
    
        fbo/fbo-blit-d24s8
        spec/ARB_depth_texture/fbo-clear-formats
        spec/EXT_packed_depth_stencil/fbo-clear-formats
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Reviewed-by: Chad Versace <chad.versace at intel.com>
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0c6d24a9ebe31b3a805e8f5845fc7e6fa552a98
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat May 21 22:51:42 2011 -0700

    i965/gen7: Fix miptree layout for cube surfaces.
    
    Volume 1a section 8.20.4.7.3 gives new equations which multiply by 12
    instead of 11.
    
    Fixes 8 piglit tests:
    - fbo-cubemap
    - texCube
    - glsl-fs-texturecube
    - glsl-fs-texturecube-2
    - glsl-fs-texturecube-2-bias
    - glsl-fs-texturecube-bias
    - arb_seamless_cubemap
    - cubemap
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b522eb0717986bc7d8ca46ac1dd93a865e211345
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun May 22 07:09:53 2011 -0700

    i965: Remove comments about pre-965 hardware.
    
    They're irrelevant for this driver.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd6f2d6e5783d8810d0ab88e1c470958fd5eb2eb
Author: pepp <pelloux at gmail.com>
Date:   Tue Apr 12 17:42:02 2011 +0200

    st/mesa: assign renderbuffer's format field when allocating storage
    
    See http://bugs.freedesktop.org/show_bug.cgi?id=36173
    
    NOTE: This is a candidate for the 7.10 branch.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>




More information about the mesa-commit mailing list