Mesa (shader-work): 134 new commits

Luca Barbieri lb at kemper.freedesktop.org
Thu Sep 9 17:56:34 UTC 2010


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2678bafd7cb1af6089b145cc87c0ea923ba9bd8c
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Wed Sep 8 01:35:44 2010 +0200

    glsl: add pass to lower variable array indexing to conditional assignments
    
    Currenly GLSL happily generates indirect addressing of any kind of
    arrays.
    
    Unfortunately DirectX 9 GPUs are not guaranteed to support any of them in
    general.
    
    This pass fixes that by lowering such constructs to a binary search on the
    values, followed at the end by vectorized generation of equality masks, and
    4 conditional assignments for each mask generation.
    
    Note that this requires the ir_binop_equal change so that we can emit SEQ
    to generate the boolean masks.
    
    Unfortunately, ir_structure_splitting is too dumb to turn the resulting
    constant array references to individual variables, so this will need to
    be added too before this pass can actually be effective for temps.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=68c512c1f9c74a5748f10e342950d9872499f3c3
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Wed Sep 8 01:31:39 2010 +0200

    glsl: introduce ir_binop_all_equal and ir_binop_any_equal, allow vector cmps (v2)
    
    Changes in v2:
    - Fix buggy ir_validate logic
    
    Currently GLSL IR forbids any vector comparisons, and defines "ir_binop_equal"
    and "ir_binop_nequal" to compare all elements and give a single bool.
    
    This is highly unintuitive and prevents generation of optimal Mesa IR.
    
    Hence, first rename "ir_binop_equal" to "ir_binop_all_equal" and
    "ir_binop_nequal" to "ir_binop_any_nequal".
    
    Second, readd "ir_binop_equal" and "ir_binop_nequal" with the same semantics
    as less, lequal, etc.
    
    Third, allow all comparisons to acts on vectors.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa0c026d4f5e4ff54a2cdbbff4967060974a7a62
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 19:29:00 2010 +0200

    glsl: teach loop analysis that array dereferences are bounds on the index (v2)
    
    Changes in v2:
    - Incorporate Ian Romanick's feedback
    - Make GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB disable this
    
    Since out-of-bounds dereferences cause undefined behavior, we are allowed
    to assume that they terminate the loop, if my interpretation of the GLSL
    spec is correct.
    
    This allows to find the maximum number of iterations in cases like this:
    
    uniform int texcoords;
    float4 gl_TexCoord[8];
    
    for(i = 0; i < texcoords; ++i)
    	do_something_with(gl_TexCoord[i]);
    
    This is apparently an interesting case since NV_fragment_program2 has
    a construct for this.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f8c5562e7d4d37b53d9bcfa6c67acb02dbc67a5
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Wed Sep 8 06:24:10 2010 +0200

    mesa: add GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB and env var to set it
    
    ARB_robustness specifies it, and we need the bit to choose whether
    to apply some loop optimizations in the GLSL compiler.
    
    Currenly, it is turned on by export MESA_ROBUST_ACCESS=1.
    
    In the future, GLX_ARB_create_context_robustness will allow to turn
    it on in the standard way.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8047f62aa7edb5161dfa9b0bd139abfc9934ca1f
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 17:03:43 2010 +0200

    loop_unroll: unroll loops with (lowered) breaks
    
    If the loop ends with an if with one/two breaks, or in a single
    break or continue, lower it.
    
    This will generate the obvious if structure.
    
    ir_lower_jumps can guarantee that all loops are put in this form
    and thus all loops are now potentially unrollable if an upper bound
    on the number of iterations can be found.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37a7fb8f3a21d3fe57d3efdf0fa89232a9ae6d79
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 17:02:37 2010 +0200

    loop_controls: fix analysis of already analyzed loops
    
    The loop_controls pass didn't look at the counter values it put in ir_loop
    on previous iterations, so while the first iteration worked, subsequent
    ones couldn't determine max_iterations.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fbd386b3b398f4c9414abf50b6936efa67d74b3
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 02:15:26 2010 +0200

    glsl: call ir_lower_jumps according to compiler options

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b424700b5e3801bd2df722cd152cd5bf9fca2d5
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 00:24:08 2010 +0200

    glsl: add continue/break/return unification/elimination pass
    
    This is a new pass that supersedes ir_if_return and "lowers" jumps
    to if/else structures.
    
    Currently it causes no regressions on softpipe and nv40, but I'm not sure
    whether the piglit glsl tests are thorough enough, so consider this
    experimental.
    
    It can be asked to:
    1. Pull jumps out of ifs where possible
    2. Remove all "continue"s, replacing them with an "execute flag"
    3. Replace all "break" with a single conditional one at the end of the loop
    4. Replace all "return"s with a single return at the end of the function,
       for the main function and/or other functions
    
    This gives several great benefits:
    1. All functions can be inlined after this pass
    2. nv40 and other pre-DX10 chips without "continue" can be supported
    3. nv30 and other pre-DX10 chips with no control flow at all are better supported
    
    Note that for full effect we should also teach the unroller to unroll
    loops with a fixed maximum number of iterations but with the canonical
    conditional "break" that this pass will insert if asked to.
    
    Continues are lowered by adding a per-loop "execute flag", initialized to
    TRUE, that when cleared inhibits all execution until the end of the loop.
    
    Breaks are lowered to continues, plus setting a "break flag" that is checked
    at the end of the loop, and trigger the unique "break".
    
    Returns are lowered to breaks/continues, plus adding a "return flag" that
    causes loops to break again out of their enclosing loops until all the
    loops are exited: then the "execute flag" logic will ignore everything
    until the end of the function.
    
    Note that "continue" and "return" can also be implemented by adding
    a dummy loop and using break.
    However, this is bad for hardware with limited nesting depth, and
    prevents further optimization, and thus is not currently performed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61e6e7b9ba6f161cc8bb1363ebd7475528ee048a
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 00:22:34 2010 +0200

    glsl: add ir_partial_visitor
    
    This is just a subclass of ir_visitor with empty implementations of all
    the visit methods.
    
    Used to avoid duplicating that in ir_visitor subclasses.
    
    ir_hierarchical_visitor is another way to solve this, but is less natural
    for some applications.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94118fe2d4b1e5d0b9f39d9d2c44706db462e97e
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Thu Sep 9 13:18:40 2010 -0400

    glx: Optimize out no-op make current calls
    
    This make a lot more sense now that we might have to recreate the
    glx drawables for legacy code paths.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=916c8ed2c8f916604166b22e6fcb9433b960a924
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Sep 10 00:06:32 2010 +0800

    egl: Use _EGL_CHECK_DISPLAY in eglCreateContext.
    
    _EGL_CHECK_DISPLAY checks the display and returns from eglCreateContext
    on error.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08a482e7a9d13db5d4e6fd974942f6699d7d49dc
Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Sep 10 00:02:47 2010 +0800

    egl: Display may be NULL in _eglLookup*.
    
    This fixes several NULL dereferences.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ec296390c250dbcdc2690e78da9a51ec57dabf5
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Sep 9 10:03:46 2010 -0600

    llvmpipe: remove redundant tgsi_dup_tokens() call
    
    We were calling this twice so the first allocation was orphaned/leaked.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdd5f21eacc93dfb242e59a6158d0e450a39a9b6
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Sep 9 14:07:38 2010 +0200

    dri/nouveau: Expose EXT_texture_env_combine.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bbad7f1084c3d6259dfa23fd60f654c949f7408
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Sep 9 14:14:48 2010 +0200

    dri/nv10-nv20: Add support for NV_texture_env_combine4.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=699749cfeeea7d0a17ed5f94fd5fdbbe52f4ab2b
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Sep 9 14:14:14 2010 +0200

    dri/nv04: Add support for NV_texture_env_combine4.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a76f6dc84952348261c32bcace56790e939a2902
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Sep 2 02:18:02 2010 +0200

    dri/nouveau: Minor cleanup.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80e48ddcf6d5bdc1fc063f28b7af478dae330233
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Thu Sep 9 08:06:40 2010 -0400

    glx: Fix another use-after-free problem

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=777f352e6087e3ef05f7a88232f23e4f971bc5a0
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Thu Sep 2 18:16:42 2010 +0300

    r600: add TXL instruction and note about TXB

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f12945d2fba751e09c2f2dd01899107590b30ec
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Thu Sep 2 11:37:23 2010 +0300

    r600: remove depth exports move, just set to output x <- z in the export intruction

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7753416c5b6bdcc757983400c50c5cf878bc9caf
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Thu Sep 2 11:09:52 2010 +0300

    r600: protect cleanup instructions from double free
    
    We might get the cleanup when we have not translated the shader yet
    e.g 2 programstringnotifys in a row

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5697bf166082119593bf1297028d03a7938eacfb
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Thu Sep 2 11:03:38 2010 +0300

    r600: remove mask from output intructions
    
    in case of relative addressing we never get to know which comps
    were really written.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae21956be29c027659568e17f1cf72d1931c4d61
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Thu Sep 2 10:49:30 2010 +0300

    r600: allow relative addressing of temps, inputs, outputs

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=515d6eed0ba39f0279f35fa12b97803e33d9a4f7
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Wed Sep 1 10:57:35 2010 +0300

    r600: handle LIT writemask

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d0d78ad3f1f906c99dae593e9ebc0c52496ffe1
Author: Andre Maasikas <amaasikas at gmail.com>
Date:   Wed Sep 1 10:38:07 2010 +0300

    r600: fix rsq from negative input
    
    arbfp specifies rsq of abs value

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=68071822f74384053905d7e5821de8b293f453eb
Author: Chia-I Wu <olv at lunarg.com>
Date:   Thu Sep 9 13:51:59 2010 +0800

    docs: Update egl.html.
    
    Mention that EGL_DRIVERS_PATH should be specified for uninstalled build.
    Update TODOs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e591c4625cae63660c5000fbab366e40fe154ab0
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Sun Sep 5 22:29:58 2010 +0200

    glsl: add several EmitNo* options, and MaxUnrollIterations
    
    This increases the chance that GLSL programs will actually work.
    
    Note that continues and returns are not yet lowered, so linking
    will just fail if not supported.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Sun Sep 5 18:49:54 2010 +0200

    glsl: make compiler options per-target
    
    This allows us to specify different options, especially useful for chips
    without unified shaders.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ede4205b245ee58bacf866d298273ebbe31feacf
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Mon Sep 6 00:56:07 2010 +0200

    mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2)
    
    Changes in v2:
    - No longer adds tessellation enums

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ecd9c70cecc05eaa1fef05f9bd4e8cf50f2c03a
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 8 18:04:35 2010 -0700

    glsl: Add info about talloc and optimization passes to the README.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e04f90712d8e04ce9d2fee46d0cccf818432c7d9
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 8 17:49:10 2010 -0700

    glsl: Update README talking about multi-instruction operations.
    
    The previous thing taking multiple instructions ended up being handled
    at the IR level, as we suggested would be the common result.  Pick a
    new one.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8ab9aac54c3b6e4d97016172527d4b7c85b27a2
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Sep 8 20:55:02 2010 -0400

    glx: Destroy pixmap after destroying glx and dri drawables
    
    Now that we suppress BadDrawable from DRI2DestroyDrawable, this doesn't
    matter, but we would get that error before when destroying pbuffers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b34fcc4874671dc92413fa1a091eafac4191cee
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Sep 8 20:34:07 2010 -0400

    configure: Enable -fvisibility=hidden for g++ as well

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fc882643ce1c57fb8f60d8c5edd761eff404749
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Sep 8 16:03:33 2010 -0700

    glsl/builtins: Set the API in the fake context.
    
    Otherwise it gets used uninitialized.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f69a6647fbd5e7cf4406fcc877ff78b507344073
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep 8 17:13:00 2010 -0700

    glsl2: Clear out profile pointers in _mesa_glsl_release_functions
    
    Otherwise builtin_profiles contains dangling pointers the next time
    _mesa_read_profile is called.  I suspect this may fix bugzilla #29847,
    but I was never able to reproduce it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de1ffd2f62257c174325d877c327d56b1a9e6cbc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep 8 10:46:10 2010 -0700

    mesa: Refactor parameter processing in set_combiner_(operand|source)
    
    The enum values were chosen to have sequential values for a reason.
    Use that to compact and simplify the code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a2d498b4164f457c48e9fde9ae8bbadfcf7fa72
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep 8 10:37:54 2010 -0700

    mesa: Fix handling of texenv operands for EXT vs ARB version
    
    GL_EXT_texture_env_combine has slightly more restrictive limits on the
    valid sources for some operands.  This wasn't caught before because
    almost every driver in Mesa that supports the EXT version also
    supports the ARB version.
    
    Inspired by a patch posted the the mesa-dev mailing list by Andrew
    Randrianasulu.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f24ec6367b1cf6c6822fa998df8a877288711427
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Sep 8 18:54:30 2010 -0400

    glx: Ignore DRI2 event for drawables we've destroyed
    
    Since we now actually destroy GLX drawables, we get into situations where
    we get events for drawables that no longer exist.  Just ignore the
    event in that case.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=659dab6be6bc82f8a0551c30f1133e0010f04ed8
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Sep 8 14:51:18 2010 -0400

    glx: Fix use after free problem

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc1daab2a2846912d3da5eb69e1ce0afbf08ab04
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Sep 8 15:38:09 2010 -0700

    glsl: Fix for scalar float built-in definitions.
    
    These need abs, and we need more tests.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3db43df046daf46e98cc3043129b5b56c513799
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 8 15:01:02 2010 -0700

    glsl: regenerate builtins

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa973d3533bd98afb0c2140c30d151ec4a0fb898
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 8 22:25:12 2010 -0700

    glsl: Fix typo in builtin step() using a wrong channel.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=368dc76f04e19f5070d1f41795ea8cde2964639f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 23:22:10 2010 -0700

    ir_validate: Ensure ir_binop_dot is only used on vector types.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b2ffa0a42ca80662f4db54c561784766d7c485a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 23:23:03 2010 -0700

    glsl: Refresh automatically generated file builtin_function.cpp.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f7e6e1e724150e5e7309bdb781d7873bcc13687
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 23:21:22 2010 -0700

    glsl/builtins: Don't use ir_binop_dot on floating point values.
    
    ir_binop_dot is only defined for vector types.  Use ir_binop_mul.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84160a0454b17306e6b9bff5b6e50e54959c5680
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 23:16:26 2010 -0700

    glsl/builtins: Simplify degenerate scalar float cases.
    
    The code being generated was just stupid, considering that:
    - normalize(x) = 1.0
    - length(x) = x
    - distance(x, y) = x - y

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=961f42c9bd795204e031ea6a31a2ae04ba2e4067
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep 8 11:33:12 2010 -0700

    glsl2: Make sure _mesa_glsl_parse_state constructor gets a context
    
    Fix an major regression in dc754586.  Too bad that change was
    obviously never tested.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16887d042a917fa4773e4d853f50051b54e9948c
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Fri Aug 27 12:40:11 2010 -0400

    glx: Drop broken drawable garbage collection
    
    Doesn't work for pixmaps, was looking up the GLX XID and was never thread
    safe.  Instead, just destroy the client side structures when the
    drawable is no long current for a context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4bb6680200b5a898583392f4c831c02f41e63f7
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Sep 8 08:52:54 2010 -0400

    dri: Unset current context and dispatch table when unbinding
    
    Otherwise, when we switch to an indirect glx context and then back, it looks
    like we're still current.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a5b32ca0198488e7d616c8cd968471166a97ef3
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 8 18:52:27 2010 +0800

    glsl: Support GLSL ES in the standalone compile.
    
    GLSL ES mode is enabled when --glsl-es is passed to glsl_compiler.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc754586ca84741b4df5b72fd235c4134816854c
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 8 18:48:12 2010 +0800

    glsl: Require a context in _mesa_glsl_parse_state.
    
    Create a dummy context in the standalone compiler and pass it to
    _mesa_glsl_parse_state.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e03e2b2c787657f2abe4bd362e625bd9a971c48
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 8 18:20:37 2010 +0800

    st/dri: Call dri_init_extensions only for API_OPENGL.
    
    libmesagallium.a that this state tracker will be linked to expects
    OpenGL's _glapi_table.  That is, it expects libGL.so instead of
    libGLESv1_CM.so or libGLESv2.so.  As there is no clean way to know the
    shared library the app links to, use the api as a simple check.  It
    might be as well to simply remove this function call though.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=444d8408e75bb2bce019769da59802f05c3d5fab
Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 8 17:41:43 2010 +0800

    st/dri: Use enum st_api_type internally.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e3b658b7fdc1c2a2b9b6bd942a811adbf1ac4ab
Author: nobled <nobled at dreamwidth.org>
Date:   Mon Aug 30 20:23:54 2010 +0000

    st/dri: Add multi-api support
    
    Make st/dri screens capable of creating OpenGL ES and
    OpenGL ES2 contexts.
    
    TODO: Figure out the "get_current" problem with multiple
    st_api's for real.
    
    (s/API_OPENGLES1/API_OPENGLES/ by Chia-I Wu)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecd7ec9d62d2ba919410218f4cf3f69772681f3c
Author: nobled <nobled at dreamwidth.org>
Date:   Tue Sep 7 12:10:45 2010 -0400

    st/dri: Make clear which API's are supported
    
    If the caller requests a GLES context, don't silently create
    a desktop GL context in its place.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf346f065c65e15e5757d5b1a14dbc6638051860
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 8 14:09:40 2010 +1000

    r600g: add initial bank swizzle support.
    
    this is ported from r600c mostly, bank swizzling is real messy and I don't think
    I got enough sleep last night to fully understand it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48e789d71e01b0a7185555735b4a26b1a53d0825
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 18:01:33 2010 -0700

    glcpp: Fix build on non-GCC compilers.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10eaa8bcbce1cd6d2e120e913f7abafde9675215
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 02:59:38 2010 -0700

    ast_to_hir: Mark arrays as lvalues in GLSL ES, but prohibit assignment.
    
    This allows them to be passed as out/inout parameters, but still
    prevents them from being used as the target of an assignment.  This is
    per section 5.8 of the GLSL ES 1.00 specification.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a98d5a5ac8b61edc14f60836e5a997bb88fc5c80
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Sep 5 01:51:28 2010 -0700

    glsl: Allow overloading of built-ins without hiding in GLSL ES.
    
    The rules are explicitly different from desktop GLSL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f412fac5b46eb274cbed8e62234d5dbfd859f1fe
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Sep 5 01:48:11 2010 -0700

    glsl: Move is_builtin flag back to ir_function_signature.
    
    This effectively reverts b6f15869b324ae64a00d0fe46fa3c8c62c1edb6c.
    
    In desktop GLSL, defining a function with the same name as a built-in
    hides that built-in function completely, so there would never be
    built-in and user function signatures in the same ir_function.
    
    However, in GLSL ES, overloading built-ins is allowed, and does not
    hide the built-in signatures - so we're back to needing this.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c98deb18d5836f75cf62562f9304e4d90e0ea920
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Aug 16 14:02:25 2010 -0700

    ast_to_hir: Reject embedded structure definitions in GLSL ES 1.00.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8e34e29eb58c38ef60226156aab8f4a93b397b7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 7 02:56:01 2010 -0700

    ast_to_hir: Reject unsized array declarations in GLSL ES 1.00.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4ec3f268c4a81c4b9047813423bdf49f0cb1cb5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Sep 1 13:12:10 2010 -0700

    ast_to_hir: Allow matrix-from-matrix constructors in GLSL ES.
    
    Everything but 1.10 supports this, so just change the check to ==.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=883ac22810578c82f76ae3d4f02dfdc5d5c2e8fe
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Aug 30 12:05:05 2010 -0700

    i965: Enable EXT_framebuffer_blit internally.
    
    Otherwise, ES2's BindFramebuffer entrypoint hits this assertion:
    main/fbobject.c:1323: _mesa_BindFramebufferEXT: Assertion
    `ctx->Extensions.EXT_framebuffer_blit' failed.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67da41c10ce5eda8b8e35c03fb81f606d40d3dd7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Aug 30 12:27:07 2010 -0700

    mesa: Enable GL_MAX_VERTEX_ATTRIBS in ES2.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a81d057dbbf9f4b8fbeee471df70603009c8d6b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 31 09:33:58 2010 -0700

    linker: Fix assertion and cross-version checks for version 100.
    
    Fixes an assert (min_version >= 110) which was no longer correct, and
    also prohibits linking ES2 shaders with non-ES2 shaders.  I'm not
    positive this is correct, but the specification doesn't seem to say.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=116dc670e96f380b3982030c77d26d102109cef3
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Aug 16 13:04:09 2010 -0700

    glsl: Add built-in function profiles for GLSL ES 1.00.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4fe4d52b6c642e2a30162c0e27f81622235d861
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 7 02:45:33 2010 -0700

    glsl: Add built-in variables for GLSL ES 1.00.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76deef138ee25ab57b4716aef41ce0c94081f20a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 7 02:03:00 2010 -0700

    glsl: Split out types that are in 1.10 but not GLSL ES 1.00.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5e74871d9e4b555f3927fd11944c769d466bd12
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Sep 5 01:32:32 2010 -0700

    glsl: Recognize GLSL ES 1.00 keywords.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7dcfc44b72f00ba5a38cb02123c80113440f0de9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Sep 5 01:27:02 2010 -0700

    glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0.
    
    Also define it if #version 100 is encountered.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=719caa403ecc3345b86708f8172600d80132d6cb
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Aug 16 12:34:53 2010 -0700

    glsl: Accept language version 100 and make it the default on ES2.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=814c89abdbcd5b841b98746af921796df0362238
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Sep 5 00:31:28 2010 -0700

    glsl: Set default language version in mesa_glsl_parse_state constructor.
    
    This should make it easier to change the default version based on the
    API (say, version 1.00 for OpenGL ES).
    
    Also, synchronize the symbol table's version with the parse state's
    version just before doing AST-to-HIR.  This way, it will be set when
    it matters, but the main initialization code doesn't have to care about
    the symbol table.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a867be14378587574b3082071e9fff962d28d12
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 7 16:25:22 2010 -0700

    ir_to_mesa: Add support for gl_NormalScale.
    
    Bug #30040.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a09a8ec12d76e1fb1583fa99cf9f48246c108d7b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 16:25:53 2010 -0700

    glsl: Make sure shader source isn't NULL.
    
    This should only occur if glCompileShader is called without a prior call
    to glShaderSource.  An empty source program should be the empty string.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e28dd4ebe73f85cdc38a6bdaeef23fd10223cf3
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Tue Sep 7 11:38:18 2010 +0200

    r600g: Added missing r600_bc_add_literal() calls to XPD implementation.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=460c5304aba646143938b76d536a6fc13a302ca8
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Tue Sep 7 11:37:56 2010 +0200

    r600g: Added preliminary support for the LOG opcode.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42c966bc496d4049d98eb1d45dd7bb0b55fa41bd
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Tue Sep 7 21:29:43 2010 +0200

    r600g: Added missing abs-ification to RSQ.
    
    This makes the 'fp1-RSQ test 2' piglit test work.
    
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3a94554f5a12f0626d9712ddcdc81b1e21d36c2
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 8 08:49:00 2010 +1000

    r600g: split opcodes out and add wrapper around usage.
    
    This splits the r600 opcodes out of the sq file and adds a wrapper
    so we can convert to evergreen opcodes later without touching these functions
    too much.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d42efb9e8df6ef872ab4f142e3daf1b6cb9eff11
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 8 08:41:57 2010 +1000

    r600g: add support for constants in memory buffers.
    
    DX9 constants were in the constant file, and evergreen no longer support
    cfile. r600/700 can also use constants in memory buffers, so add the code
    (disabled for now) to enable that as precursor for evergreen.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ef1c51be16ea360481cf9f82ebb1e3eb01efb18
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Sep 8 08:30:59 2010 +1000

    r600g: abstract the hw states out behind a vtbl.
    
    this is step one towards evergreen support, it lets us plug in whole
    new hw level states.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f09fabc448c0781f0cf9160565e1b0bab59a16e5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 7 14:30:06 2010 -0700

    glsl2: Forbid array-types in ?: operator in GLSL 1.10
    
    Fixes bugzilla #30039.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50a3349bee04088bee3491622d6ef3c032d01eac
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 7 14:31:22 2010 -0700

    mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it.
    
    Fixes assertion failures in fbo-alpha with a debug build of Mesa.
    Bug #29781.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=acd7c21541110d7ae6b9e63647391f65946e5c5d
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 7 14:02:39 2010 -0700

    ir_to_mesa: Fix warning in last commit.
    
    I swear there was some git option for "don't push things when you've
    got uncommitted changes", but I can't find it now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c0ba32fd1466e8c1700acab3003dc1fe1deb337
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 1 16:06:32 2010 -0700

    ir_to_mesa: Move the STATE_VAR elements of a builtin uniform to a temp (v2).
    
    Like the constant handling and the handling of other uniforms, we add
    the whole thing to the Parameters, avoiding messy, incomplete logic
    for adding just the elements of a builting uniform that get used.
    This means that a driver that relies only on ParameterValues[] for its
    parameters will have an increased parameter load, but drivers
    generally don't do that (since they have other params they need to
    handle, too).
    
    Fixes glsl-fs-statevar-call (testcase for Ember).  Bug #29687.
    
    v2: Continue referencing the STATE_VAR[] file directly when the
    uniform will land in STATE_VAR[] formatted exactly as we'd put into a
    temporary.  When there's array dereferencing, we don't copy-propagate
    in Mesa IR (not knowing where the array is in register space), so
    smarts here are required or we'll massively increase the temp count.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=956f049fd24eb5239361e68a1f27e1bebb3315a0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 7 13:33:48 2010 -0700

    glsl2: Early return with visit_continue in loop_analysis::visit(ir_dereference_variable *)
    
    Returning early with visit_continue_with_parent prevented the
    then-statements and else-statements of if-statements such as the
    following from being processed:
    
    	  if (some_var) { ... } else { ... }
    
    Fixes piglit test case glsl-fs-loop-nested-if and bugzilla #30030.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0427228bbc241d0b76df853812d023273b496637
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Sep 7 12:56:18 2010 -0700

    glsl: Change grammar rules for selection statements to match the spec.
    
    Fixes piglit test case loop-06.vert.
    
    Unfortunately, causes 1 shift/reduce conflict.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24c12e6c7f8aa8c2f4c163d23d740b070bfabfc3
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 7 12:53:19 2010 -0700

    i965: Store the byte address in the VS constant buffer as an integer.
    
    We carefully multiplied our two ints (since we want to be precise
    after all) then stored them in a float, which is not specced to really
    work, in addition to wasting precision.  Fixes
    vp-arl-constant-array-huge-* things since the assertions were added.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32b84ef4ca50998914184fc4600d8e43674a9a22
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Sep 4 20:54:52 2010 -0700

    i965: Make pixel_xy results UW.
    
    There is a restriction on the destination of an operation involving a
    vector immediate being 128-bit aligned and the destination horizontal
    stride being equivalent to 2 bytes.  Fixes bad pixel_x results from
    gl_FragCoord, where each pair had the same value.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c47b289972a6c5ca0e30ff5618418e5ca91bd1ec
Author: Török Edvin <edwintorok at gmail.com>
Date:   Sat Sep 4 13:48:24 2010 +0300

    glsl2: check for _NumLinkedShaders being 0
    
    Otherwise spring 0.82+.4.0 crashes when starting a game
    because prog->_LinkedShaders[0] is NULL.
    
    This also fixes piglit test cases glsl-link-empty-prog-0[12].

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ea3f5e0a542cfd9f9a3433515fd27e0a5d1b1ac
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep 7 14:32:28 2010 -0400

    glx: Set an all NULL vtable for dummyContext
    
    This reverts 6a6e6d7b0a84e20f9754af02a575ae34081d310c and initializes
    dummyContext with an all NULL vtable.  The context vtable pointer is
    supposed to always be non-NULL, but the vtable entries can be NULL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57d3f71132a59315d47c42a110228a523f9ea23d
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep 7 14:23:00 2010 -0400

    glx: Fix compilation with out xf86vidmode

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f84d8fab99e10b5575c0f4f93b67846fc1ebad13
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep 7 14:18:01 2010 -0400

    glx: Use GLX_BufferSwapComplete unconditionally, we require glproto 1.4.11

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a6e6d7b0a84e20f9754af02a575ae34081d310c
Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Sep 7 19:49:06 2010 +0200

    Fix crashes when some GLX API entrypoints are called with no current context.
    
    I was hitting this with gliv.
    
    The GLX spec explicitly mentions that glXWaitX, glXWaitGL and glXUseXFont calls
    are ignored when there's no current context. Not sure what if anything the
    GLX_EXT_texture_from_pixmap spec says about this, but I think ignoring the
    calls makes more sense than crashing there as well. :)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5afdfa222fa9ec8c54e7d6957d2680c37a9eb715
Author: Eric Anholt <eric at anholt.net>
Date:   Sun Sep 5 20:55:39 2010 -0700

    i965: Don't bother with RNDZ for f2i.
    
    The default type conversion for MOV should be fine, and RNDZ actually
    requires two instructions.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a560a509fab467b0ed4be2bceaf1c5a60890ca0d
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Sep 4 21:28:04 2010 -0700

    i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments.
    
    Now that we're playing with other types in brw_fs.cpp, it's easy to
    trip over issues like these.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0002069fd5117b52f0ae2be0b7e3d8e839a3a61c
Author: Eric Anholt <eric at anholt.net>
Date:   Sat Sep 4 21:04:58 2010 -0700

    i965: Add assertion for another requirement about types.
    
    This catches a failure in the FS backend.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fb5377ba57aea356a81c521c0cf1975dc290b61
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 3 17:21:49 2010 -0700

    i965: Align the start of attribute interp coefficients in FS to use PLN.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dbc9ea0a35653a0484d3b0a65a305626c251789
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 3 14:29:57 2010 -0700

    i965: Just assert when we flagged a compile error in the FS for now.
    
    Dumping back to potentially 16-wide dispatch doesn't really work out
    at the moment, and hopefully I'll just be able to resolve all the
    failures so we never have to do this at all.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42fc60cadcea920e9d67581de133a47effcc8441
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 3 13:21:51 2010 -0700

    i965: Clean up fs_reg setup by using a helper for constructors.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b157113e7333e9dad1c994902e10faedc45bd5e7
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Sep 2 09:37:17 2010 -0700

    i965: When using the new FS backend, don't validate the Mesa IR version.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c777928591279886e015c10f640828f77b97559
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 3 21:37:00 2010 -0700

    i965: Add a bit of validation for some ISA restrictions in the docs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e432fe09ddb105d4ca5a0654512adc300b0cd22e
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 3 21:56:53 2010 -0700

    i965: set the source width/stride when handling reladdr dests in the VS.
    
    This is a requirement specified in the docs.  No behavior change in
    glsl-vs-varying-array.shader_test that violated these requirements.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b9dac397bd97909876bbda8532e2cbce9d8a77f
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Wed Apr 21 12:58:54 2010 +0100

    Make XF86VIDMODE extension optional
    
    Code in glx/glxcmds.c which uses the XF86VIDMODE extension is already guarded.  Also use
    that guard to control inclusion of the xf86vmode.h header, and only enable that guard if the
    XF86VIDMODE extension is found by pkgconfig.
    
    This changes the behaviour on platforms which XF86VIDMODE exists, in that XF86VIDMODE used to
    be mandatory, but is now optional.
    
    Presumably other build systems are already arranging for -DXF86VIDMODE to be supplied to the
    complier when glxcmds.c is compiled, so are not affected by this change
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd2658d0ac50665c96ba91e1428afb4651202af3
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep 7 12:54:02 2010 -0400

    glx: Drop unused dri2proto.h include

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60fce15447da7d4135ace6f1433896b0a02bcfee
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Sep 7 12:40:37 2010 -0400

    glx: Move dpy and scr fields out of direct rendering conditional
    
    Nothing direct rendering specific about these fields.  Moving them out
    makes no-direct-rendering compilation work again.
    
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae9487c29984addc96a6d617292370fbc3f8ff9a
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Mon Aug 9 14:47:26 2010 +0100

    Some fixes for GLX_INDIRECT_RENDERING only build
    
    This fixes some of the build issues with GLX_INDIRECT_RENDERING but !GLX_DIRECT_RENDERING due to recent changes.
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6561a64a69c0f5005d03ea297f9a309f48449731
Author: nobled <nobled at dreamwidth.org>
Date:   Tue Sep 7 12:26:07 2010 -0400

    dri: Make it a little clearer that we're not dereferencing a NULL pointer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b8c9fef1128cfeee5e5ba75ba7d645522cc76c2
Author: nobled <nobled at dreamwidth.org>
Date:   Tue Sep 7 12:20:15 2010 -0400

    dri: Use the right type for the API token
    
    Pass mesa_api to CreateContext, and abort early
    if the requested API isn't recognized.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28c790ab3118ee4c4171120cba2abf2ae3e84805
Author: Chia-I Wu <olv at lunarg.com>
Date:   Tue Sep 7 23:45:43 2010 +0800

    libgl-xlib: Fix --enable-gallium-llvm build.
    
    Check MESA_LLVM and link to LLVM as other targets do.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5c5a5aea034a8a647d686bdcb88f78445469f82
Author: Chia-I Wu <olv at lunarg.com>
Date:   Tue Sep 7 23:04:43 2010 +0800

    llvmpipe: Add lp_rast_debug.c to Makefile.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23e2dec1a1cae26430a988e0c74b1f2b13eb0f6f
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Tue Sep 7 11:36:07 2010 +0100

    glx: Only clear the stored context tag when the context has been unbound
    
    The calling order of ->bind and ->unbind changed and then ->unbind would
    clear the currentContextTag of the old context before ->bind could reuse
    it in the make current request, in the indirect case.
    
    Instead, clear the old currentContextTag if and only if we send a request
    to the server to actually unbind it or reassign it to another context.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=29977
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7c4541d272d5dc11e4cfe0a2dcaf42f0b98a50e
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Aug 26 12:09:53 2010 +0100

    llvmpipe: Refactor lp_scene_add_resource_reference
    
    Less goto spaghetti.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9cd45b8edf520ccedbc4417dc71dee1556455e91
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Aug 26 12:08:56 2010 +0100

    llvmpipe: Fix negated logic in lp_scene_add_resource_reference().
    
    Fixes performance regression.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9df8a7565db608eaccf917632bf6c702203531b8
Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Sep 1 18:43:46 2010 +0100

    llvmpipe: move more coef setup into lp_setup_coef.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afba373cb19af662c6fdaf245956d6e25254a900
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Sep 7 13:10:15 2010 +0100

    llvmpipe: declare fence handle struct

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f25836d7b2c21e046a725cf13c8649d3981693b7
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 27 19:24:51 2010 +0100

    llvmpipe: rasterization debugging helpers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f6e8e1d6b8696a3ee96cba01b2466ba7a1a8ef6
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Sep 7 14:02:15 2010 +0100

    llvmpipe: use opcodes instead of function pointers in bins
    
    Also, move some state from rasterizer struct to the scene.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=040e59851ae4c26ce0509d42d2ee71e007b3b3d1
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Sep 7 12:45:23 2010 +0100

    llvmpipe: rearrange queries

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6419ecd02ce43a2614822e228f306d4db589f317
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 27 17:49:40 2010 +0100

    llvmpipe: enforce fixed memory limit on scenes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c512ba88a7e33f14b86feb9c0aaf1ebed5f50629
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 27 17:30:07 2010 +0100

    llvmpipe: clean up deferred zstencil clears

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18452c1e87f79327fbd5f27478028b481ee72a5d
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 27 17:14:49 2010 +0100

    llvmpipe: rework fences and queries

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5024d9b90e88cdc3d8aca14d45cf845efbfb8633
Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 27 17:51:21 2010 +0100

    llvmpipe: move whole-tile emit into a function

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71e27ef21c4a24aeadadb85f60774ec48a7e3cff
Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Aug 24 20:08:13 2010 +0100

    llvmpipe: put fs variant dumping in a function

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98e277111bd6f6e5bcbbcd663e42e18ce449b533
Author: Tilman Sauerbeck <tilman at code-monkey.de>
Date:   Tue Sep 7 01:29:22 2010 -0700

    Replace reference to tgsi-instruction-set.txt.
    
    That file has been replaced by tgsi.rst.
    
    Signed-off-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a730b773f0cae9ff5defb407bb2b7ca43234c35
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Tue Sep 7 08:19:58 2010 +0200

    nouveau: restore nouveau_class.h for nv04-nv20
    
    Sorry, I deleted the Gallium copy without realizing that the DRI
    one was just a symlink to it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09782c727d8e033d5127578c248bbc30c28bf0fc
Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Mon Sep 6 05:13:55 2010 +0200

    nvfx: fix return in vp main

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=079c8840609f1277320bd85c3e9568179e30bfd3
Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Sep 6 13:56:07 2010 +0100

    mesa: Define C99's __func__ macro on MSVC.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35e01b79cb576503fc6c7cd5759b379c26ecb5ee
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 10:38:29 2010 +1000

    r600g: add error print for no literals for r700s as well

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2caf6f5e84df97f71856574f1e2a8240fb18d9b6
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 10:35:51 2010 +1000

    r600g: fixup r700 assembler for clamp/relative addressing

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48cdad70d9404555c9bb545d9e6408c6aef707b0
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 10:27:55 2010 +1000

    r600g: add script to generate header file with offsets into state objects.
    
    This was inherently fragile as any changes to r600_states.h would also
    need manual updating of all of the bits in radeon.h. Just add a simple
    python script to do the conversion, its not hooked up to make at all.
    
    This also will make adding evergreen a bit easier.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b82777311965d26e534bd522afb0f679622d504
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 09:14:08 2010 +1000

    r600g: fix up surface references
    
    We end up referencing the new surf and derefing the old surface which
    is a copy of the pointer to the new surf. So just bump the ref count directly.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a672785df247e6f8ce95616166b74d4fd10ede0
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 09:13:50 2010 +1000

    r600g: search for sampler views in context on removal.
    
    Need to remove from context as well.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ec0fff822f66170f190515fc5e718142f6a5e28
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Sep 6 09:13:12 2010 +1000

    r600g: add missing printf operand




More information about the mesa-commit mailing list