Mesa (gles3): 311 new commits

Paul Berry stereotype441 at kemper.freedesktop.org
Wed Aug 8 23:43:57 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26aac8d40e708e2a89565274a423b3c22d958510
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 15:25:00 2012 -0700

    mesa/es3: Enable ES 3.0 API and shading language version
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a14e6ac85733fd326a047e1d3e63de95e427278
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 8 11:56:33 2012 -0700

    meta: Don't stray outside the confines of the API specified in the context

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af2b81b117e519b2c611c87cb716ffc74ab1daa6
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 8 11:30:42 2012 -0700

    Set es_version to false when using FF fragment shading in meta ops

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee0d67f39cdef6e29e1523e0d6f6a08c094e9ade
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Aug 7 12:39:30 2012 -0700

    i965/Gen6+: Enable ARB_ES3_compatibility extension
    
    IMPORTANT: this patch should not be pushed to master until ES3 support
    is fully implemented on i965/Gen6+.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1390d5231011576b8f3623cbc221128c9bb9e9a1
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sat Aug 4 15:42:33 2012 -0700

    glsl: Create builtin function profiles for GLSL 3.00 ES.
    
    Nearly all of the builtin functions in GLSL 3.00 ES are already
    implemented in Mesa; this patch enables them.
    
    A few functions are not implemented yet; those have been commented
    out, with a FIXME comment to act as a reminder of what still needs to
    be implemented.  Here is the complete list: packSnorm2x16,
    unpackSnorm2x16, packUnorm2x16, unpackUnorm2x16, packHalf2x16,
    unpackHalf2x16.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9311aae2f9bfecec40476ec0f06c3a869dd78d9
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Mon Aug 6 14:36:31 2012 -0700

    glsl: add determinant() functions.
    
    These functions are defined in GLSL 1.50 and GLES 3.00 ES.
    
    The formulas have been extracted from the existing implementation of
    inverse().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a31a03c265fb5dea0dfc3aa15559713116909a9a
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sat Aug 4 10:43:53 2012 -0700

    glsl: Make builtin function profiles for GLSL ES use "es" in the filename.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=194e8997c25839b31c461503353fc28631414fb2
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sat Aug 4 10:29:49 2012 -0700

    glsl: Add builtin variables for GLSL 3.00 ES.
    
    This patch also adds assertions so that when we add new GLSL versions,
    we'll notice that we need to update the builtin variables.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97cb5b65d4f626286dd2de1f582b7cea9f60cd43
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 13:38:57 2012 -0700

    glsl: Populate built-in types correctly for GLSL 3.00 ES.
    
    This patch implements all of the built-in types for GLSL 3.00 ES.
    This is almost exactly the same as the set of built-in types for GLSL
    1.30, except ate 1D samplers are skipped, and samplerCubeShadow is
    added.
    
    This patch also addes an assertion so that when we add new GLSL
    versions, we'll notice that we need to update the types.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba29f0c8201750e840b4f27738339a77431a5731
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sat Aug 4 10:00:20 2012 -0700

    glsl: Make {Min,Max}ProgramTexelOffset available to compiler.
    
    These constants need to be made available to shaders in GLSL 3.00 ES.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56b5e3b27fb20948cd6ea94a6fed39426974af90
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 17:51:02 2012 -0700

    glsl: Fix linker checks for GLSL ES 3.00.
    
    This patch updates the following linker checks to do the right thing
    in GLSL 3.00 ES:
    
    - Failing to write to gl_Position is allowed in GLSL 1.40+ as well as
      GLSL 3.00 ES.
    
    - It is an error to write to both gl_ClipVertex and gl_ClipDistance in
      GLSL 1.30+.  This does not apply to GLSL 3.00 ES.
    
    - GLSL 3.00 ES uses the same varying counting rules as GLSL 1.00 ES.
    
    - In GLSL 1.30 and GLSL 3.00 ES, "discard" terminates the shader.
    
    - In GLSL 1.00 ES and GLSL 3.00 ES, both a fragment and a vertex
      shader must be present.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e714ea01b471d9875a09c707f0f9b8e87104b2e9
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 17:50:43 2012 -0700

    glsl: Record in gl_shader_program whether the program uses GLSL ES.
    
    Previously we recorded just the GLSL version (or the max version, if
    GLSL 1.10 and GLSL 1.20 programs were linked together).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c726eb27a8494e7eefdaebf66e56434d21fcd5a5
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 17:49:44 2012 -0700

    glsl: Clean up shading language mixing check for GLSL 3.00 ES.
    
    Previously, we prohibited mixing of shading language versions if
    min_version == 100 or max_version >= 130.  This was technically
    correct (since desktop GLSL 1.30 and beyond prohibit mixing of shading
    language versions, as does GLSL 1.00 ES), but it was confusing.  Also,
    we asserted that all shading language versions were between 1.00 and
    1.40, which was unnecessary (since the parser already checks shading
    language versions) and doesn't work for GLSL 3.00 ES.
    
    This patch changes the code to explicitly check that (a) ES shaders
    aren't mixed with desktop shaders, (b) shaders aren't mixed between ES
    versions, and (c) shaders aren't mixed between desktop GLSL versions
    when at least one shader is GLSL 1.30 or greater.  Also, it removes
    the unnecessary assertion.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36815560ce7ae576389ae7dc6cb4b29ee36b6a6f
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 17:47:49 2012 -0700

    glsl: Record in gl_shader whether the shader uses GLSL ES.
    
    Previously we recorded just the GLSL version, with the knowledge that
    100 means GLSL 1.00 ES.  With the advent of GLSL 3.00 ES, this is
    going to get more complex, and eventually will probably become
    ambiguous (GLSL 4.00 already exists, and GLSL 4.00 ES is likely to be
    created some day).
    
    To reduce confusion, this patch simply records whether the shader is
    GLSL ES as an explicit boolean.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52eed006a39843efb8c93eb12ccf4daec971f594
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 11:17:30 2012 -0700

    glsl/parser: Handle "#version 300 es" directive.
    
    Note that GLSL 1.00 is selected using "#version 100", so "#version 100
    es" is prohibited.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d6c644ae1872ad9d912e4d933f360d3bd14842e
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 11:02:55 2012 -0700

    glsl/parser: Extract version directive processing into a function.
    
    Version directive handling is going to have to be used within two
    parser rules, one for desktop-style version directives (e.g. "#version
    130") and one for the new ES-style version directive (e.g. "#version
    300 es"), so this patch moves it to a function that can be called from
    both rules.
    
    No functional change.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04cf46956eee825229299cbc7ede5df664e093b7
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 13:21:54 2012 -0700

    glsl/preprocessor: Handle "#version 300 es" directive.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce67f0465808dbda9104f244c0a82f360e6b264a
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 13:06:45 2012 -0700

    glsl/preprocessor: Extract version directive processing into a function.
    
    Version directive handling is going to have to be used within two
    parser rules, one for desktop-style version directives (e.g. "#version
    130") and one for the new ES-style version directive (e.g. "#version
    300 es"), so this patch moves it to a function that can be called from
    both rules.
    
    No functional change.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17170f8d1643e0ab7c6e2898a7487d4345d55447
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 08:18:12 2012 -0700

    glsl: Enable GLSL ES 3.00 features inherited from desktop GLSL.
    
    This patch turns on the following features for GLSL ES 3.00:
    
    - Array constructors, whole array assignment, and array comparisons.
    - Second and third operands of ?: may be arrays.
    - Use of "in" and "out" qualifiers on globals.
    - Bitwise and modulus operators.
    - Integral vertex shader inputs.
    - Range-checking of literal integers.
    - array.length method.
    - Function calls may be constant expressions.
    - Integral varyings must be qualified with "flat".
    - Interpolation and centroid qualifiers may not be applied to vertex
      shader inputs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a34b8b73add37ffbadb7dd935b17095a016c6d6
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 08:17:55 2012 -0700

    glsl: parse GLSL ES 3.00 keywords correctly.
    
    GLSL ES 3.00 adds the following keywords over GLSL 1.00: uint,
    uvec[2-4], matNxM, centroid, flat, smooth, various samplers, layout,
    switch, default, and case.
    
    Additionally, it reserves a large number of keywords, some of which
    were already reserved in versions of desktop GL that Mesa supports,
    some of which are new to Mesa.
    
    A few of the reserved keywords in GLSL ES 3.00 are keywords that are
    supported in all other versions of GLSL: attribute, varying,
    sampler1D, sampler1DShador, sampler2DRect, and sampler2DRectShadow.
    
    This patch updates the lexer to handle all of the new keywords
    correctly when the language being parsed is GLSL 3.00 ES.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=634ae2cf539143e6f41cbe1ff6fce205870ae1af
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 1 19:04:59 2012 -0700

    glsl: Rework lexer keyword handling in preparation for GLSL 3.00 ES.
    
    This patch expands the lexer KEYWORD macro to take two additional
    arguments: the GLSL ES versions in which the given keyword was first
    reserved, and supported, respectively.  This will allow us to
    trivially add support for GLSL 3.00 ES keywords, even though the set
    of GLSL 3.00 ES keywords is neither a subset or a superset of the
    keywords corresponding to any desktop GLSL version.
    
    The new KEYWORD macro makes use of the
    _mesa_glsl_parse_state::is_version() function, so it accepts 0 as
    meaning "unsupported" (rather than 999, which we used previously).
    
    Note that a few keywords ("packed" and "row_major") are supported
    *either* when GLSL 1.40 is in use or when ARB_uniform_buffer_obj
    support is enabled.  Previously, we handled these by cleverly taking
    advantage of the fact that the KEYWORD macro didn't parenthesize its
    arguments in the usual way.  Now they are handled more
    straightforwardly, with a new macro, KEYWORD_WITH_ALT.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fbe7cd524edabfffb5e39ce4d3c42b1237048d8
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sun Aug 5 09:57:01 2012 -0700

    glsl: Make use of new _mesa_glsl_parse_state::check_version() function.
    
    Previous to this patch, we were not very consistent about the errors
    we generate when a shader tried to use a feature that is prohibited in
    the current GLSL version.  Some error messages failed to mention the
    GLSL version currently in use (or did so inaccurately), and some error
    messages failed to mention the first GLSL version in which the given
    feature is allowed.
    
    This patch reworks all of the error checks to use the check_version()
    function, which produces error messages in a standard form
    (approximately "$FEATURE forbidden in $CURRENT_GLSL_VERSION
    ($REQUIRED_GLSL_VERSION required).").

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42052e81b28d44b001d00d8b1e0b15c59225c360
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 1 14:50:05 2012 -0700

    glsl: Make use of new _mesa_glsl_parse_state::is_version() function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=85ea998ea9b9ac637494ff60bd974593a9ce7fbd
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 1 19:09:24 2012 -0700

    glsl: Add GLSL version query functions.
    
    With the advent of GLSL 3.00 ES, the version checks we perform in the
    GLSL compiler (to determine which language features are present) will
    become more complicated.  To reduce the complexity, this patch adds
    functions check_version() and is_version() to _mesa_glsl_parse_state.
    These functions take two version numbers: a desktop GLSL version and a
    GLSL ES version, and return a boolean indicating whether the GLSL
    version being compiled is at least the required version.  So, for
    example, is_version(130, 300) returns true if the GLSL version being
    compiled is at least desktop GLSL 1.30 or GLSL 3.00.
    
    The check_version() function additionally produces an error message if
    the version check fails, informing the user of which GLSL version(s)
    support the given feature.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5ac2a321f0044d952be9cfac7854c89275d1d7a
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Thu Aug 2 06:45:30 2012 -0700

    glsl: Compute version_string on the fly.
    
    Fixes a bug where version_string would be left uninitialized if no
    GLSL "#version" directive was used.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=febef5089b66353711be84eb293ea365075f673f
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 1 18:36:57 2012 -0700

    glsl: Make a function to express a GLSL version ir human-readable form.
    
    This will be useful in generating more helpful error messages,
    especially with the addition of GLSL 3.00 ES support.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba3a370db8d7b307329c21209b40db9e9e138c78
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Aug 1 17:44:02 2012 -0700

    glsl: Simplify symbol table version checking.
    
    Previously, we stored the GLSL language version in the
    glsl_symbol_table struct.  But this was unnecessary--all
    glsl_symbol_table needs to know is whether functions and variables
    have separate namespaces (they do in GLSL 1.10 only).

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d42350dcbb712285c2520aab7b89c93de79882c
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Mon Aug 6 10:22:44 2012 -0700

    mesa: Add ARB_ES3_compatibility flag.
    
    This extension was approved by the ARB on 2012/06/12.  Supporting it
    immediately will make it easier to develop and test GLES3 features,
    since we can do initial development and testing using desktop GL.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=198afaba834a0cc4c5a5bc2768069697d16644ec
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 13:11:32 2012 -0700

    mesa/es3: Allow transpose matrix uniforms in GLES3
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=100a91d6ecd4e34ce69ca81d74714113090b72d2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 11:47:15 2012 -0700

    mesa: Allow PACK / UNPACK queries for ES2
    
    These are part of the GL_EXT_unpack_subimage extension and ES 3.0.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8286580a8b441dc9bf18165291a6b06edbc4cd3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 11:36:48 2012 -0700

    mesa: Support ES3 texture formats
    
    This isn't quite right.  ES3 still has additional restructions compared
    to desktop, but we can add those later.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d2af4ec8a25711a9942c824d01b48837275aa31
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 11:36:27 2012 -0700

    mesa: Support ES3 BufferData usage modes
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b34ea8064177ff4f513bf627c1c772b3eafff80c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 11:23:17 2012 -0700

    mesa: Enable OpenGL ES 3.0 dispatch functions
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df21a8d6c990e75962b2075ebed7b65a722bf64b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 13:37:45 2012 -0700

    mesa: glGetVertexAttribPointerv is part of core profile and ES2
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef6155631511da4a39b86715cd746139db8d9e37
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sat Jul 28 15:20:48 2012 -0700

    mesa: Kill ES2 wrapper functions
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b519dc642c5dc70d937e8a072c9da6a1e731d09
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 17:43:22 2012 -0700

    mesa/es: Validate glPointParameter pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcf5a8ce556dfc806e6f83f12b5ed495af5cf640
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 17:40:34 2012 -0700

    mesa: Require OpenGL 2.0 for GL_POINT_SPRITE_COORD_ORIGIN
    
    The comment in the code even says this is the right thing to do.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=886fe759c31ac3f4df95afb7b581426fd8240cc8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 17:38:32 2012 -0700

    mesa: Require that drivers supporting point sprites support point parameters
    
    All drivers in Mesa do.  This allows a lot of extension checking code to be
    gutted from the function.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b41a863db09aca96580dc9bee60b7c2ea6c7a0f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 17:48:30 2012 -0700

    mesa/es: Validate glGetTexEnv parameters in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed55e676e0de52adfcb23d47d5014a20b8809cb5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 17:22:42 2012 -0700

    mesa/es: Validate glTexEnv parameters in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ad4f9e11301468ef16800f4a5238b7b3cb38b15
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 16:47:27 2012 -0700

    mesa/es: Validate glGetTexGen parameters in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4e62916d41418d48ba125f8e49cb67a0cb57262
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 16:27:23 2012 -0700

    mesa/es: Validate glTexGen parameters in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=649b862b047a6331e3dea6caad4914f37af048a1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 16:13:02 2012 -0700

    mesa/es: Validate glLightModel pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f419c6fca63ff75d8f6dc3c7e3ba8e38decb4dab
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 16:07:19 2012 -0700

    mesa/es: Validate glMaterial face and pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e4eb61814485fcf9928f691d95373a26ad98295
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 15:57:09 2012 -0700

    mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapper
    
    Fixes a bug that glGetMaterial[fx]v in ES1 contexts would (try to) allow
    queries of GL_AMBIENT_AND_DIFFUSE.  This enum can only be used in glMaterial,
    not in the get.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59075d5281be827d539619d48821ad06651ea5b1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 15:49:50 2012 -0700

    mesa/es: Validate glGetPointerv pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbb5204a133e740a680c26cb9c1ee442c5f07d27
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 15:47:16 2012 -0700

    mesa/es: Validate glMatrixMode mode in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3e7bf6cebc679d9ed7ffe4de8fe06bcbfe42a42
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 12:37:05 2012 -0700

    mesa/es: Validate glFog pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44e06ebc30112f247f3de61110d4a524159e8c1a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 12:24:24 2012 -0700

    mesa/es: Validate glReadPixels format and type in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=226aff21b6b0fd7010371375e0fe6d204842f84d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 12:11:32 2012 -0700

    mesa/es: Validate glPixelStore pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f149bb98081261bd70f147c0d69e118b23d0728e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 11:56:42 2012 -0700

    mesa/es: Validate glEnable cap in Mesa code rather than the ES wrapper
    
    Also handle glDisable, glIsEnabled, glEnableClientState, and
    glDisableClientState.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5796f1c5a30d06185cbbd54de707a1ac7f164ec
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 11:03:06 2012 -0700

    mesa/es: Validate glHint target in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee2502692d9dbf9227d788649d6c92586c9861dd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 08:31:12 2012 -0700

    mesa/es: Validate glRenderbufferStorage internalFormat in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=637c4f3f330c09ae0f8f83b81bd17f2dc06ba54d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:49:49 2012 -0700

    mesa/es: Validate glGetRenderbufferParameter pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e93a282275782bb67f349f70bc35595778b37ca4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:47:28 2012 -0700

    mesa/es: Validate glGetFramebufferAttachmentParameter pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1d86f0f31282f42c39e779834e999ff33fb0ed2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:24:37 2012 -0700

    mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f0178fc7f03fa85bd8c59507ca3c3ad6d9f2916
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:23:14 2012 -0700

    mesa/es: Remove redundant glFramebufferTexture3D textarget validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=744f570c6bd9b952b6d427aadfbe467055a6e0c0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:22:41 2012 -0700

    mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c4cfaa86f9bcf0f3e54d31edf47f0a31b1937d8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:18:48 2012 -0700

    mesa/es: Remove redundant glGetShaderiv pname validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d492e00bbf6e132a1b1fe72fbb611019f0fe4386
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:16:41 2012 -0700

    mesa/es: Validate glGetBufferParameteriv pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7986f56d9a45eedfbbf4c2eef485be54f1fb16a4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:13:03 2012 -0700

    mesa/es: Validate glCompressedTexSubImage internalFormat in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3caceeedc81dd97aede8d0205b15f86f26a0e05a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:09:30 2012 -0700

    mesa/es: Validate glCompressedTexImage internalFormat in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cfa560cb3488b851732e7a7c033c99239075d72
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 07:06:58 2012 -0700

    mesa/es: Remove redundant glCompressedTexImage border validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8f881129c9b60dda6bbb4cd27368c5efb07eae5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 06:45:54 2012 -0700

    mesa/es: Validate glCopyTexImage internalFormat in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79e719b2ba9bc17955899fae36271422c09f61a4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 06:40:26 2012 -0700

    mesa/es: Validate glTexSubImage format and type in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f974e9a46366ade0ee81b721018aaad430e668a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 19:18:58 2012 -0700

    mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e70f2b7d4a666d71d56ca88afa56a5554dd0232
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 18:46:23 2012 -0700

    mesa/es: Validate glTexImage border in Mesa code rather than the ES wrapper
    
    Also validate glCopyTexImage border.  This fixes a bug in the APIspec.
    Previously glTexImage3DOES could be passed a non-zero border without error.
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30e2e631ef52fa971be5e29366af510ca1f665d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 18:43:26 2012 -0700

    mesa: Generate an error when glCopyTexImage border is invalid
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e46161b8d9f20de3cc247b21686a75b99bac8df
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 18:15:40 2012 -0700

    mesa/es: Validate glGetTexParameter pnames in Mesa code rather than the ES wrapper
    
    This also adds a missing extension (and API) check around
    GL_TEXTURE_CROP_RECT_OES.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7ee71444399b695ab367f9c3cac875cabd297fb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 18:04:50 2012 -0700

    mesa/es: Validate glTexParameter pnames in Mesa code rather than the ES wrapper
    
    This also adds a missing extension (and API) check around
    GL_TEXTURE_CROP_RECT_OES.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80b112813e20a7944cf2abd78bbaf4908194265f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 17:49:55 2012 -0700

    mesa/es: Remove redundant glBindTexture target validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a5a94f71d9f2a43f8e4099f4f8a2d1ac2b2e4ec
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 17:41:43 2012 -0700

    mesa: Filter glBindTexture targets based on supported features.
    
    Fixed the piglit test arb_texture_buffer_object-negative-unsupported.
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aced4df5ab6516f89af5f2521c77315cf718dc2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 11:11:18 2012 -0700

    mesa/es: Validate tex image targets in Mesa code rather than the ES wrapper
    
    This should take care of all the TexImage, TexSubImage, CopyTexImage,
    and CopyTexSubImage type paths.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af53727ba2b24558fdcb394cee80d2ff1040ad6f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 10:39:45 2012 -0700

    mesa/es: Remove redundant glCompressedTexImage3DOES target validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe9a69459bc21fe3173cb70303174f3414a1d8fb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 26 10:38:15 2012 -0700

    APIspec: Remove cruft about AMD_compressed_???_texture
    
    Mesa doesn't support these extensions, and it seems unlikely that it
    ever will
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53c0985dead80780c15589c4fc5af5cc07e1918a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:21:49 2012 -0700

    mesa/es: Validate glGetVertexAttribf pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8182b7a10b3d63ce37b60d8f7d0cf7b683e7ffc9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:17:25 2012 -0700

    mesa/es: Validate glMapBuffer access in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74e72a5a486ef3e4a71c97adf12c72fc8cb75c0c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:15:25 2012 -0700

    mesa/es: Remove redundant glGetBufferPointer pname validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ddb3df8fd7d5e9a65ce2ed046e65552617532a4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:13:33 2012 -0700

    mesa/es: Validate EGLImageTargetTexture2DOES target in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3ad7ab2d389db17f98bd92fb0d205ae9b0d5354
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:08:12 2012 -0700

    mesa/es: Validate glBufferData usage in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a104bcb3e0b5a263cfc389cd70499d8d8a04d7d8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 16:03:44 2012 -0700

    mesa/es: Validate glTexParameter targets in Mesa code rather than the ES wrapper
    
    Ditto for glGetTexParameter targets.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e7edd585b9b3b0a7ec5e0b7df504f7ed5551ea8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:39:50 2012 -0700

    mesa/es: Validate glGetString pname in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=180e42117620857ea47f617d5898d8159fc72884
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:29:48 2012 -0700

    mesa/es: Validate buffer object targets in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=669adf6eac5d411d0ced5f02fcec6a3803bce554
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:24:38 2012 -0700

    mesa/es: Remove redundant glPointSizePointer type validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1746640a43b10d031b77050450ca05cc1940fee9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:20:32 2012 -0700

    mesa/es: Remove redundant glGetVertexPointer pname validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d397ab040db93cdfb708bd3faea3ad4c6f258fc7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:19:31 2012 -0700

    mesa/es: Validate VertexPointer types in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c176f58be604af2a2da4035818157d7a46ffccc0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:15:11 2012 -0700

    mesa/es: Remove redundant vertex pointer size validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64d151ded77a61306f1d4f7a18cd8b14779a7e3f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:13:51 2012 -0700

    mesa/es: Validate TexCoordPointer size in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d88e413a24cbf566168059dd6530d5937f8527a3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:13:00 2012 -0700

    mesa/es: Validate TexCoordPointer types in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=931e8811ee505eff3ae59a67839065da7a083e87
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 15:10:21 2012 -0700

    mesa/es: Validate NormalPointer types in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3952b997d41b926f35da01920f5035a1e17270c0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:58:36 2012 -0700

    mesa/es: Validate ColorPointer size in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f535d60221c7d7d43150c51639a790f7e833a006
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:53:01 2012 -0700

    mesa/es: Validate ColorPointer types in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a760d9479596cdf1242f608ff0bb016ffccf4d6f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:48:17 2012 -0700

    mesa/es: Remove redundant vertex attrib pointer type validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c393cd3944305e392d7d3644c96663a886cc2892
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:34:53 2012 -0700

    mesa/es: Remove redundant vertex attrib pointer size validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f0aca3d134e0cd34452eb8e1f2ff7cbe7d911bc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:46:54 2012 -0700

    mesa/es: Disallow BGRA vertex arrays in ES or ES2 contexts
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a159267ac16147740ecea86df0db3bd831682e1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 14:40:18 2012 -0700

    mesa: Rearrange array type checking, filter more types in ES
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9af93525f3529e758a3a1552cef20a0995fdfa26
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 07:26:33 2012 -0700

    mesa/es: Remove redundant element type validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=610f9d7694df8c6e72fa74badeab2066ae3047f8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 07:24:58 2012 -0700

    mesa: Refactor element type checking into its own function
    
    This consolidates the tests and makes the emitted error message
    consistent.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07f7de0bc731993a359a23bff1a2abf6d5a9bc3a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 07:15:29 2012 -0700

    mesa/es: Validate primitive modes in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35c14d6237b5480508cfa73102def427b5d7f67b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 25 07:12:33 2012 -0700

    mesa: Refactor _mesa_valid_prim_mode to use a switch-statement
    
    This makes the next change a bit easier.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=733bd5201c9f7b0288c83511d1a7074fb5d4f5bf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 24 20:18:17 2012 -0700

    mesa/es: Remove redundant glGetShaderPrecisionFormat shader type validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4106c752037aa7c371d92a14edae772d97f6570
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 24 20:17:18 2012 -0700

    mesa/es: Validate glCreateShader targets in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bfacc9099c1105707f41d73260ca745f686b484
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 24 20:13:39 2012 -0700

    mesa/es: Validate glGetProgramiv pnames in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef6dd8143ace9503b3ad9ecd6202bd0b4f7d2dd2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 24 20:06:25 2012 -0700

    mesa: Filter glGetProgramiv pnames based on available extensions
    
    Previously you could always glGetProgramiv one of the transform feedback or
    geometry shader enums even if the extension wasn't supported.
    
    In addtion, this reverts part of bda6ad27.  I think the hunks involving
    GL_PROGRAM_BINARY_LENGTH_OES were spurious.  Mesa has no support for any other
    part of GL_OES_get_program_binary.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc72c5f4582db617f7b3571d4cffa4ea72b9522
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 24 19:52:53 2012 -0700

    mesa/es: Validate blend function enums in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa69e9a3efef4837737ec2ab1b291f3634e911bc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:50:50 2011 -0700

    mesa/es: Remove redundant depth func validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26a50d202de07675819b84e442d1274bd2e302f8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:50:22 2011 -0700

    mesa/es: Remove redundant stencil op fail/zfail/zpass validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbce418dcf6f565d91284b3fb618426ede56566a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:47:43 2011 -0700

    mesa/es: Remove redundant shade model mode validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=785903854fb2c3338cdcd7745ab350d1354e3776
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:45:43 2011 -0700

    mesa/es: Remove redundant light pname and light validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edb9e08b1cc9d6583edf2adcd5e8c508f91d1d83
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:43:43 2011 -0700

    mesa/es: Remove redundant hint mode validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7193aaf1db439c2dbccb7c0fa26e28cd89eb3d6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:39:30 2011 -0700

    mesa/es: Remove redundant clear bitmask validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=603607654bcbc51c02f66c1abb3aed6e6543112f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:21:41 2011 -0700

    mesa/es: Remove redundant separate stencil face validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b629b52669db45ed84d688ebe6c6647922d22f8a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:20:08 2011 -0700

    mesa/es: Remove redundant stencil function validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6de876987873323b3b286b096a80d4d785d9382c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:19:04 2011 -0700

    mesa/es: Remove redundant logic op operand validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c3a909eab38806b274574206ca86a98442f813e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:17:16 2011 -0700

    mesa/es: Remove redundant alpha function validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=347b0f490670327042456a03b3c4efecb0cc2e10
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:15:22 2011 -0700

    mesa/es: Remove redundant separate stencil mask face validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a451fbe3154694281551e67d51c9140037d8def
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:13:14 2011 -0700

    mesa/es: Remove redundant front-face mode validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b207861723e94b64e0a92cbcf78f4c8a5fa5d230
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:09:55 2011 -0700

    mesa/es: Remove redundant face culling mode validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9f62e1da8401cd54bae5a5762ceae2643483aa9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:08:35 2011 -0700

    mesa/es: Remove redundant blend equation mode validation

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3164de7fddbdfbd469a4e1528c675812a221bd00
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 16:07:04 2011 -0700

    mesa/es: Remove redundant texture target validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96b8000353334e4a6f4462addbf512fe3b3105b9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Oct 3 13:09:51 2011 -0700

    mesa/es: Rearrange placement of GL_TEXTURE_MAX_ANISOTROPY_EXT in APIspec
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a65053f7869ea2114fcd17dfeb4de17612f4d9a2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Oct 3 13:05:47 2011 -0700

    mesa/es: Remove redundant min/mag filter validation
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12740c069be464ce99a7a4afc07b71dfb9505b3e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Oct 3 13:03:47 2011 -0700

    mesa/es: Validate GL_TEXTURE_WRAP param in Mesa code rather than the ES wrapper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=accbe660e5237eaecc14c27654b20bbb24827840
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Oct 3 12:46:23 2011 -0700

    mesa: Refactor validate_texture_wrap_mode to use a switch-statement
    
    This makes the next couple changes a little easier.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=432bcdd0759f01189e648ff4be354e9c3ee834f7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jul 27 14:38:37 2012 -0700

    mesa/es: Don't generate ES1 type conversion wrappers
    
    These are gradually going to get whittled away and eventually folded into the
    source files with the native type functions.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d1a02284adca017a0f95be9612c9c2bde127abb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 16:12:13 2012 -0700

    egl: Allow OpenGL ES 3.0 as a version
    
    In the DRI2 back-end this will get the same API as GLES 2.0.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5921944681195ad08cdee0143dc5ba45539fed0b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 14:29:29 2012 -0700

    dri2: Note that __DRI_API_GLES2 is also used for OpenGL ES 3.0
    
    Unlike 1.x to 2.0, OpenGL ES 3.0 is backwards compatible with 2.0.  Use the
    same API flag for both.  Applications that specifically want 3.0 will specify
    this using the major / minor version attributes.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e176d2b419fd1dbf931d7f992befff53f6da7d57
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 16:04:01 2012 -0700

    egl_dri2: Add support for EGL_KHR_create_context and EGL_EXT_create_context_robustness
    
    Just like in GLX, EGL_KHR_create_context requires DRI2 version >= 3, and
    EGL_EXT_create_context_robustness requires both DRI2 version >= 3 and the
    __DRI2_ROBUSTNESS extension.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e77d5e10fbba6a6ee90c0aeee706204ff0ff220
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 15:08:06 2012 -0700

    egl: Implement front-end support for EGL_EXT_create_context_robustness
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b7c381fd6f76c8fabdc0115e82de94f84ee19c3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 11:10:15 2012 -0700

    egl: Implement front-end support for EGL_KHR_create_context
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b5bf57e2ed87e019f7a440dbd9d2a4d1b3b4053
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 11:08:02 2012 -0700

    egl_dri2: Silence warnings about missing initializers
    
    egl_dri2.c: At top level:
    egl_dri2.c:325:4: warning: missing initializer [-Wmissing-field-initializers]
    egl_dri2.c:325:4: warning: (near initialization for 'swrast_driver_extensions[2].version') [-Wmissing-field-initializers]
    egl_dri2.c:330:4: warning: missing initializer [-Wmissing-field-initializers]
    egl_dri2.c:330:4: warning: (near initialization for 'swrast_core_extensions[1].version') [-Wmissing-field-initializers]
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6da710a562d8d4211ed50823099d342f5b15cc6d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 15:59:15 2012 -0700

    egl: Rename ClientVersion to ClientMajorVersion, add ClientMinorVersion
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0019e8714691ca161cb15e6d48ccb19fec005a8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 14:41:28 2012 -0700

    egl_dri2: Use createContextAttribs if DRI2 version >= 3
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=840cec754edb41f66455951f1d2ee6834590a13e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 13:17:50 2012 -0700

    egl_dri2: Require DRI2 version 2
    
    The extra block in dri2_create_context is to prevent extra white space noise
    in the next patch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81a042122070adfa78ab995e51d773e5b0a2b297
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 09:58:55 2012 -0700

    dri_util: Compare against the correct API enums
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4fa2783b471ace04e0fd0baa10dee2c6ccc83b7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:50:44 2012 -0700

    i965: Allow creation of OpenGL 3.1 contexts
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b31dfdd5a5afcc901a152cfd27c12359bda8a8b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 09:11:05 2012 -0700

    i965: Advertise GLSL 1.40 and TexBOs in core contexts
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aacfadaef3cbe99691f6a8b48b86fe09c601aa8c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:46:22 2012 -0700

    intel: Clean up bits of cruft in intelCreateContext
    
    This and the previous three commits should probably be squashed together...
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08951b2d7cbaab51f39b4b3ca6748cfd4ab35d81
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:43:17 2012 -0700

    i965: Validate API and version in brwCreateContext
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a64f83dce53b812b23df0671bf92ad81c6daf898
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:30:14 2012 -0700

    i915: Validate API and version in i915CreateContext
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a098eefee3f97beade6dff439fe2ddcd2571d984
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:16:35 2012 -0700

    i830: Validate API and version before calling i830CreateContext
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b6862675b0e30b7afdb1b84407fddcabc88b9d8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 12:05:35 2012 -0700

    intel: In the i915 driver, the chipset cannot be i965
    
    In the i965 dirver, the chipset must be i965.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f303095f4301b92f7b640570fd9ca9df3c405c4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 7 11:26:19 2012 -0700

    dri: Pass API_OPENGL_CORE through to the drivers
    
    This forces the drivers to do at least some validation of context API
    and version before creating the context.  In r100 and r200 drivers, this
    means that they don't do any post-hoc validation.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6b4fc87ef7316ec04c88f96c1a9830d67ad1291
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 10:29:11 2012 -0700

    mesa: Filter a bunch more functions based on API
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34c72532ad27f947fbab88fbda7bb664fe72ff15
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 10:00:32 2012 -0700

    mesa: Don't advertise extensions that are part of GL 1.5 in a core context
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edcb645edcef22104dac7f308277b033ed34d2be
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 09:59:09 2012 -0700

    mesa: Don't advertise extensions that are part of GL 1.4 in a core context
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37ec9b738c4191ed6d00c01354306acd79a02d7e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 09:54:55 2012 -0700

    mesa: Don't advertise extensions that are part of GL 1.3 in a core context
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a29b1f2e726b4cf9d3077546af019e10c0dd0ad
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 09:51:38 2012 -0700

    mesa: Don't advertise extensions that are part of GL 1.2 in a core context
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8b3f99206a2c004b7349c8e595262d47d2f39e3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 09:11:58 2012 -0700

    mesa: Don't advertise deprecated extensions in a core context
    
    It may be possible to trim the list of extensions futher.  These are
    just the obvious extensions that add functionality that the core context
    explicitly forbids.  Apple's core-context extension list is *just* the
    extensions on top of the core GL version.  I'm not sure we want to go
    that far, but removing some things that have been in core since 2.1 may
    be okay.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f7b3d171306ed2ae588e1a4145c5a364cf986ff
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 1 14:51:37 2012 -0700

    Make shared-glapi the default
    
    You can't practically have desktop OpenGL and OpenGL ES on the same system
    without this.  The benefits of not having it (e.g., a more compact dispatch
    table) are irrelevant.
    
    v2: Don't mark shared-glapi as experimental.  Review suggestion by Chad.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5602f0f955f370735d4487003bcfb5eb08a6f946
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 1 14:50:28 2012 -0700

    mesa/tests: Fix trivial typos in src/mapi/glapi tests
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45d3d0ad2154ccfa0fc1d02c943cefccb5f67b5b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 1 14:48:27 2012 -0700

    mesa/tests: Add tests for the generated shared-glapi dispatch table
    
    These are largely based on the src/mapi/glapi/tests.  However,
    shared-glapi provides less external visibility into the dispatch table,
    so there is less to test.  Also, shared-glapi does not implement
    _glapi_get_proc_name, so that test was removed.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9f899bb93c4faa202acb8703aad70c5a5b2fcf1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 31 17:23:35 2012 -0700

    glapi: Prevent accidental use of lies w/shared-glapi
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99fee476a102be898a1a093c037e06382f90a5b9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 31 16:58:41 2012 -0700

    glx: Don't use glapitable.h at all
    
    When --enable-shared-glapi is used, all non-ABI entries in the table are
    lies.  Avoiding the use of glapitable.h avoids the lies.  The only
    entries used in this code are entries that are ABI.  For these, the ABI
    offset can be used directly.
    
    Since this code is in src/glx, it can't use src/mesa/main/dispatch.h to
    get the pretty names for these offsets.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5dffb7e36487ff8a012725aaf78a4b7d3169102
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 31 16:40:07 2012 -0700

    glx: Don't rely on struct _glapi_table
    
    When --enable-shared-glapi is used, all non-ABI entries in the table are
    lies.  There are two completely separate code generation paths used to
    assign dispatch offset.  Neither has any clue about the other.
    Unsurprisingly, the can't agree on what offsets to assign.
    
    This adds a bunch of overhead to __glXNewIndirectAPI, but this function
    is called at most once.
    
    The test ExtensionNopDispatch was removed.  There was just no way to
    make this test work with the information provided in shared-glapi.
    Since indirect_glx.c uses _glapi_get_proc_offset now, it was also
    impossible to make the tests work without shared-glapi.  So much pain.
    
    This fixes indirect rendering with shared-glapi.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52d6df8aa7231c1d4d80a8599af0e2c5d02c7b6c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jul 31 14:10:54 2012 -0700

    mesa/tests: Don't build glapi tests with shared-glapi
    
    This fixes 'make check' on with --enable-shared-glapi.  This test cannot work
    in that environment.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e45a9ce474c3562f16c8a773260752d77a4fed5c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 7 10:17:04 2012 -0700

    i965: Use 64-bit writes for occlusion queries.
    
    The hardware seems to use the length of the PIPE_CONTROL command to
    indicate whether the write is 64-bits or 32-bits.  Which makes sense
    for immediate writes.
    
    Daniel discovered this by writing a pattern into the query object bo
    and noticing that the high 32-bits were left intact, even on those
    pipe control writes that seemingly worked.
    
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20c09b82d0520843f1c168adaf9bd5d17a572085
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 7 09:55:11 2012 -0700

    i965: Refactor depth count write PIPE_CONTROLs into a helper function.
    
    This consolidates the complexity in one place, which is important
    because it's about to get even more complicated.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2cdd5ada8ae315acbc4225398b7cbf78181f610
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 7 09:32:46 2012 -0700

    i965: Emit a CS stall before timestamp writes.
    
    This implements one of the Sandybridge PIPE_CONTROL workarounds.  It
    doesn't appear to be required for Ivybridge.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4c78c275abffe8d1014b1355f02239859d6aa2b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 7 09:13:04 2012 -0700

    i965: Use 64-bit writes for timestamp queries.
    
    The hardware seems to use the length of the PIPE_CONTROL command to
    indicate whether the write is 64-bits or 32-bits.  Which makes sense
    for immediate writes.
    
    Daniel discovered this by writing a pattern into the query object bo
    and noticing that the high 32-bits were left intact, even on those
    pipe control writes that seemingly worked.
    
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03f14664b6b12bc7853866fe613d8af350e51e08
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Aug 7 09:09:46 2012 -0700

    i965: Refactor timestamp write PIPE_CONTROLs into a helper function.
    
    This consolidates the complexity in one place, which is important
    because it's about to get even more complicated.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61d0b9f52c6be4a4a64c30ea3a2a93ef8260c67b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 26 11:41:26 2012 -0700

    intel: Make the length for PIPE_CONTROL explicit.
    
    PIPE_CONTROL has variable length, depending upon generation and whether
    we want to do 32-bit or 64-bit data writes.  Make it explicit, rather
    than hiding a length of 4 in the #define for _3DSTATE_PIPE_CONTROL.
    
    Generated by s/3DSTATE_PIPE_CONTROL/3DSTATE_PIPE_CONTROL | (4 - 2)/g.
    This is equivalent since the #define used to have | 2 in it.  A grep
    through the sources shows that all instances have been converted, so
    it's safe to remove the | 2 from the #define.
    
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecac178aa2591afc36e5d34d11a773ff07cb71b1
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 8 09:39:36 2012 -0600

    swrast: add missing switch case for API_OPENGL_CORE
    
    To silence compiler warning.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4d6502fcd4d779dfebefbf6e76110e046d9e1c1
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 8 09:39:36 2012 -0600

    gallivm: remove unused src_elem_type variable
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f21669e9a2f07502e3c4b0633adcfab397fb0760
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 8 09:39:36 2012 -0600

    svga: remove unused svga_shader::use_sm30 field, add comments
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16a289195eefeee9c711b89d8917a3408c660cd7
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 8 09:39:36 2012 -0600

    svga: remove unused svga_winsys_handle type
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82cd9c0fc2838a153006a646b0d356ed54b8680e
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed Aug 8 15:35:42 2012 +0200

    radeonsi: If pixel shader compilation fails, use a dummy shader.
    
    Otherwise we're likely to hang the GPU.
    
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be42a45e023aed5fd82647719bb81bee49a9a2ac
Author: Christian König <deathsimple at vodafone.de>
Date:   Fri Aug 3 16:51:32 2012 +0200

    radeonsi: fix memory leak and/or segfaults
    
    Fix a stupid typo that could lead to memory
    leaks and/or segfaults.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c44e5a144009a03c20befa6468d19d41c802795
Author: Christian König <deathsimple at vodafone.de>
Date:   Mon Aug 6 17:53:49 2012 +0200

    radeon/winsys: fix winsys VM handling
    
    Move releasing the VM area after closing the bo handle.
    
    This partially fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45018
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7528e2104fdda88a9eca5d84d979a21f5c517dc9
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Aug 7 00:13:41 2012 -0700

    translate: Fix typo in is_legal_int_format_combo.
    
    Fixes same on both sides defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ea263fccb9259218addec9e805db075be9eba7c
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Aug 7 22:47:12 2012 +0200

    r600g: remove unused parameters in texture functions

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a078516b6e9dd6876aaa2c95f0a98b7f5e08d19
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 27 13:46:26 2012 -0700

    i965: Enable uniform buffer objects on gen6+.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04871058eb01c5b51a0180055e7dbdc967f56604
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jun 25 14:55:01 2012 -0700

    i965/vs: Add support for loading uniform buffer variables as pull constants.
    
    Unlike the FS side in the previous commit, this does variable indexing just
    fine, using the same code as we used for other variable-indexed pull
    constants.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90de96ff0d6d54ba0f9a337a6a107acf4134682d
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 20 15:55:13 2012 -0700

    i965/fs: Add support for loading uniform buffer variables as pull constants.
    
    Variable array indexing isn't finished, because the lowering pass
    turns it all into conditional moves of constant index accesses so I
    can't test it.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb020d09c382285210a5aebe412ddabfad19e4a0
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jun 25 14:36:28 2012 -0700

    i965/vs: Add a surface index to VS_OPCODE_PULL_CONSTANT instructions.
    
    Similar to the previous commit for the fragment shader, now we have a buffer
    index and an offset.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=454dc83f66643e66ea7ee9117368211f0cfe84d7
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 20 15:41:14 2012 -0700

    i965/fs: Communicate the pull constant block read parameters through fs_regs.
    
    I wanted to add the surface index as a variable value for UBO support,
    and a reg seemed like the obvious way to go.  This exposes more of the
    information to CSE, which we'll probably want to apply to pull
    constant loads for UBOs eventually (you might access 4 floats in a
    row, each of which would produce an oword block read of the same
    block).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25d2bf3845e9a6faaef8d808c1255ec57dc71dba
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 20 12:29:29 2012 -0700

    i965: Bind UBOs as surfaces like we do for pull constants.
    
    v2: Comment fix, drop extraneous parens (review by Kenneth)
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 20 13:03:04 2012 -0700

    i965: Add an offset argument to constant buffer setup.
    
    We'll use this for UBO surfaces.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fc5b29a543a7a229bf03f8f9f37ed4c592a67e7
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 31 14:28:05 2012 -0700

    mesa: Add support for glUniformBlockBinding() in display lists.
    
    Fixes piglit GL_ARB_uniform_buffer_object/dlist.
    
    v2: Use the .ui fields instead of .i for type consistency (review by Brian
        Paul)
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfa046b5f2e50a0297ecb7e325395367362c4c39
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 31 12:46:25 2012 -0700

    mesa: Unbind uniform buffer bindings on glDeleteBuffers().
    
    Fixes piglit GL_ARB_uniform_buffer_object/deletebuffers.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eb3c06ae82cc962c5d867238acd089f833c2337
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 26 16:56:49 2012 -0700

    mesa: Default to GL 3.1's limits on uniform blocks.
    
    The ARB spec lets you get away with the default block counting against the
    blocks for combined size limits.  The core spec says you need to be able to
    support the maximum size of default block *and* the maximum size of each
    uniform block.  I see no reason that any driver would have a problem with
    that.
    
    Fixes gl 3.1/minmax (with an associated fix to the test)
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=803262a5f55ca5b94a09dfe8f35e64a579778209
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 26 13:11:05 2012 -0700

    glsl: Refuse to parse uniform block declarations when UBOs aren't available.
    
    Fixes piglit
    GL_ARB_uniform_buffer_object/compiler/extension-disabled-block.frag
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e45f1b11c081a7b965bf58539d2dbcc231d543f4
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 25 12:45:13 2012 -0700

    glsl: Align GL_UNIFORM_BLOCK_DATA_SIZE according to std140 rules.
    
    Fixes piglit GL_ARB_uniform_buffer_object/data-size test.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86e0045578cd8d8be7736a8f56e2b51d61bda32a
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 23 14:31:42 2012 -0700

    glsl: Only flag RowMajor on matrix-type variables.
    
    We were only propagating it to the API when the variable was a matrix type,
    but we were still tripping over it in lower_ubo_reference when it was set on a
    vector.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

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

    glsl: Fix calculation of std140 offset alignment for mat2s.
    
    We were getting the base offset of a vec2, not of a vec2[2] like the quoted
    spec text says we should.
    
    v2: Fix swapped then/else cases.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=300315fe69ba275dda8a4786783c2bdd007d0758
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 23 11:05:11 2012 -0700

    glsl: Fix glGetActiveUniformsiv(GL_UNIFORM_BLOCK_INDEX).
    
    Previously, we were returning the index into the UniformBlocks of one of the
    linked shaders, when it's supposed to be the program global index.
    
    Fixes piglit getactiveuniformsiv-uniform_block_index.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af3fc6bb2836ce545c624bce2b47c3fd8cf4f9fa
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jul 20 16:49:15 2012 -0700

    ir_to_mesa: Don't whack the ->location field of uniform block variables.
    
    Fixes some failures in GL_ARB_uniform_buffer_object/maxblocks.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56e82e30cb60368bb3605f95130732f5edbab0a0
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jun 26 13:17:08 2012 -0700

    mesa: Make glBindBufferBase/glBindBufferRange() work on just-genned names.
    
    In between glGenBuffers() and glBindBuffer(), the buffer object points to this
    dummy buffer with a name of 0, and a glBindBufferBase() would point to that.
    It seems pretty clear, given that glBindBufferBase() only cares about the
    current size of the buffer at render time, that it should bind up the buffer
    that you passed in instead of pointing it at this useless dummy buffer.
    
    However, what should glBindBufferRange() do?  As of this patch, it will
    promote the genned buffer to a proper buffer like it had been
    glBindBuffer()ed, and then detect that the size is greater than the buffer's
    current size of 0 and throw INVALID_VALUE.  It seems like the most reasonable
    answer here.
    
    Note that this also changes the behavior of these two on non-glGenBuffers() bo
    names.  We haven't yet set up the error throwing for glBindBuffers() on gl
    3.1+, and my assumption is that these two functions should inherit their
    behavior on un-genned names from glBindBuffers().
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a75f2681d26aecad185895c1c2f13dd542281ff9
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 11 08:26:31 2012 -0700

    glsl: Add a lowering pass to turn complicated UBO references to vector loads.
    
    v2: Reduce the impenetrable code in emit_ubo_loads() by 23 lines by keeping
        the ir_variable as the variable part of the offset from handle_rvalue(),
        and track the constant offsets from that with a plain old integer value,
        avoiding a bunch of temporary variables in the array and struct handling.
        Also, fix file description doxygen.
    v3: Fix a row vs col typo, and fix spelling in a comment.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c2a9838355cfd02356bf7b22eead408d909fe25
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jul 20 14:10:44 2012 -0700

    glsl: Add a variant of the rvalue visitor for handle_rvalue() on the way down.
    
    For the UBO lowering pass, I want to see the whole dereference chain for
    replacing, not the innermost ir_dereference_variable.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ea3ab14f2182978f471674c9dfce029d37f70a7
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 9 15:52:53 2012 -0700

    glsl: Add a "ubo_load" expression type for fetches from UBOs.
    
    Drivers will probably want to be able to take UBO references in a
    shader like:
    
            uniform ubo1 {
                    float a;
                    float b;
                    float c;
                    float d;
            }
    
            void main() {
                 gl_FragColor = vec4(a, b, c, d);
            }
    
    and generate a single aligned vec4 load out of the UBO.  For intel,
    this involves recognizing the shared offset of the aligned loads and
    CSEing them out.  Obviously that involves breaking things down to
    loads from an offset from a particular UBO first.  Thus, the driver
    doesn't want to see
    
    	variable_ref(ir_variable("a")),
    
    and even more so does it not want to see
    
    	array_ref(record_ref(variable_ref(ir_variable("a")),
              "field1"), variable_ref(ir_variable("i"))).
    
    where a.field1[i] is a row_major matrix.
    
    Instead, we're going to make a lowering pass to break UBO references
    down to expressions that are obvious to codegen, and amenable to
    merging through CSE.
    
    v2: Fix some partial thoughts in the ir_binop comment (review by Kenneth)
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71ba6de342b88dcf8ed3aa347da157b7724230e7
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Jul 20 16:57:22 2012 -0700

    glsl: Fix a reference to UniformBlocks during uniform linking.
    
    When converting var->location from pointing at the program's UniformBlocks to
    pointing at the linked shader's UniformBlocks, I missed this change.  It
    usually worked out in the end because the two lists happen to be the same in
    many testcases.
    
    Fixes a valgrind complaint on
    oglconform ubo-compile.cpp advanced.std140.2stage
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e42302e7188a783221d2b17a4bb07ee89cae367
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 9 15:47:33 2012 -0700

    glsl: Update the notes on adding a new expression type.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c1b41879aab2ff7386c547a2ccce7686c018cf5
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jul 26 14:43:56 2012 -0700

    mesa: Replace VersionMajor/VersionMinor with a Version field.
    
    As we get into supporting GL 3.x core, we come across more and more features
    of the API that depend on the version number as opposed to just the extension
    list.  This will let us more sanely do version checks than "(VersionMajor == 3
    && VersionMinor >= 2) || VersionMajor >= 4".
    
    v2: Fix a bad <= 30 check.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3aaeb3e5e76b7b468e2eb2a26f30d68d19d3c854
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug 7 11:33:10 2012 -0700

    intel: Fix compiler warnings from winsys msaa.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e943e5c291c5f4c017f9f5a483f1940313333fc3
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Aug 2 17:13:17 2012 -0700

    intel: Advertise multisample DRI2 configs on gen >= 6
    
    This turns on window system MSAA.
    
    This patch changes the id of many GLX visuals and configs, but that
    couldn't be prevented. I attempted to preserve the id's of extant configs
    by appending the multisample configs to the end of the extant ones. But
    somewhere, perhaps in the X server, the configs are reordered with
    multisample configs interspersed among the singlesample ones.
    
    Test results:
      Tested with xonotic and `glxgears -samples 1` on Ivybridge.
    
      No piglit regressions on Ivybridge.
    
      On Sandybridge, passes 68/70 of oglconform's
      winsys multisample tests.  The two failing tests are:
          multisample(advanced.pixelmap.depth)
          multisample(advanced.pixelmap.depthCopyPixels)
      These tests hang the gpu (on kernel 3.4.6) due to
      a glDrawPixels/glReadPixels pair on an MSAA depth buffer.  I don't expect
      realworld apps to do that, so I'm not too concerned about the hang.
    
      On Ivybridge, passes 69/70. The failing case is
      multisample(advanced.line.changeWidth).
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b5d68dd28a78c2250bfc4a7fa62cd9e5cdd756e
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Aug 2 14:51:47 2012 -0700

    intel: Clarify intel_screen_make_configs
    
    This function felt sloppy, so this patch cleans it up a little bit.
    
    - Rename `color` to `i`. It is not a color value, only an iterator int.
    - Move `depth_bits[0] = 0` into the non-accum loop because that is where
      it used. The accum loop later overwrites depth_bits[0].
    - Rename `depth_factor` to `num_depth_stencil_bits`.
    - Redefine `msaa_samples_array` as static const because it is never
      modified. Rename to `singlesample_samples`.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4bf68ca50da0ce291a464aec9b03a469ab2561a
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Aug 1 21:23:47 2012 -0700

    dri: Simplify use of driConcatConfigs
    
    If either argument to driConcatConfigs(a, b) is null or the empty list,
    then simply return the other argument as the resultant list.
    
    All callers were accomplishing that same behavior anyway. And each caller
    accopmplished it with the same pattern. So this patch moves that external
    pattern into the function.
    
    Reviewed-by: <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2d428cb8d20e003b65769c7757a137406c671e6
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Jul 12 14:17:22 2012 -0700

    intel: Refactor creation of DRI2 configs
    
    DRI2 configs were constructed in intelInitScreen2. That function already
    does too much, so move verbatim the code for creating configs to a new
    function, intel_screen_make_configs.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61fd6847827048ce9b01b1d164111472ad8bf593
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Jul 12 13:01:26 2012 -0700

    intel: Downsample on DRI2 flush
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e88cfbb95f631ca1275a5cef4ccc5aaffb70aaba
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Fri Jul 27 20:42:31 2012 -0700

    intel: Support mapping multisample miptrees
    
    Add two new functions: intel_miptree_{map,unmap}_multisample, to which
    intel_miptree_{map,unmap} dispatch. Only mapping flat, renderbuffer-like
    miptrees are supported.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c0ccc13bd3ec149c4a51c4937811894fbe713f0
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Fri Jul 27 19:39:10 2012 -0700

    intel: Refactor use of intel_miptree_map
    
    Move the opencoded construction and destruction of intel_miptree_map into
    new functions, intel_miptree_attach_map and intel_miptree_release_map.
    This patch prevents code duplication in a future commit that adds support
    for mapping multisample miptrees.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81980958d0d3def26741cfe78b7c23f6635f826a
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Fri Jul 27 19:21:20 2012 -0700

    intel: Refactor intel_miptree_map/unmap
    
    Move the body of intel_miptree_map into a new function,
    intel_miptree_map_singlesample. Now intel_miptree_map dispatches to the
    new function. A future commit adds a multisample variant.
    
    Ditto for intel_miptree_unmap.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b56140b4bafcef8bea5ca67cb31023a533c3bd4
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Jul 26 16:47:35 2012 -0700

    i965: Mark needed downsamples for msaa winsys buffers
    
    Add function intel_renderbuffer_set_needs_downsample. It is a no-op
    except on multisample winsys buffers shared with DRI2.
    
    Mark the needed downsamples with the new function at two locations:
        - Immediately after drawing is complete.
        - After blitting.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3746354fbfadf821dc108e072d86b5329737444
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Jul 12 10:49:13 2012 -0700

    intel: Define functions for up/downsampling on miptrees
    
    Flesh out the stub functions intel_miptree_{up,down}sample.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cc9df331b4799715b31d7ec606ad09fa914e260
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Mon Aug 6 16:10:50 2012 -0700

    i965: Add function brw_blorp_blit_miptrees
    
    Define a function, brw_blorp_blit_miptrees, that simply wraps
    brw_blorp_blit_params + brw_blorp_exec with C calling conventions. This
    enables intel_miptree.c, in a following commit, to perform blits with
    blorp for the purpose of downsampling multisample miptrees.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4873babdc27f697df9f4642209eca21a02ac476
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Thu Jul 19 09:45:14 2012 -0700

    intel: Allocate miptree for multisample DRI2 buffers
    
    Immediately after obtaining, with DRI2GetBuffersWithFormat, the DRM buffer
    handle for a DRI2 buffer, we wrap that DRM buffer handle with a region and
    a miptree. This patch additionally allocates an accompanying multisample
    miptree if the DRI2 buffer is multisampled.
    
    Since we do not yet advertise multisample GL configs, the code for
    allocating the multisample miptree is currently inactive.
    
    This patch adds the following fields to intel_mipmap_tree:
        singlesample_mt
        needs_downsample
    and the following function stubs:
        intel_miptree_downsample
        intel_miptree_upsample
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4eba67285fb6b5d2dd4927e8dc4b3e2945435309
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Fri Jul 20 14:56:16 2012 -0700

    intel: Refactor creation of hiz and mcs miptrees
    
    Move the logic for creating the ancillary hiz and mcs miptress for winsys
    and non-texture renderbuffers from intel_alloc_renderbuffer_storage to
    intel_miptree_create_for_renderbuffer. Let's try to isolate complex
    miptree logic to intel_mipmap_tree.c.
    
    Without this refactor, code duplication would be required along the
    intel_process_dri2_buffer codepath in order to create the mcs miptree.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2f2376e884225705e2369caee4a8c4e90e938f3
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Jul 11 15:10:49 2012 -0700

    intel: Set num samples for winsys renderbuffers
    
    Add a new param, num_samples, to intel_create_renderbuffer and
    intel_create_private_renderbuffer.
    
    No multisample GL config is yet advertised, so the value of num_samples is
    currently 0.  For server-owned winsys buffers, gl_renderbuffer::NumSamples
    is not yet used.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com> (v1)
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53fa28f7b1f21251a3807abf1f234f52beff0256
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Jul 11 14:52:53 2012 -0700

    intel: Refactor quantize_num_samples
    
    Rename quantize_num_samples to intel_quantize_num_samples and change the
    first param from struct intel_context* to struct intel_screen*. The
    function will later be used by intelCreateBuffer, which is not bound to
    any context but is bound to a screen.
    
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com> (v1)
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a2e40ed283b70e1da8ea762959ca7462b0f2fc3
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Aug 1 12:12:52 2012 -0700

    intel: Update stale comment for intel_miptree_slice::map
    
    The comment referred to intel_tex_image_map/unmap, but should more
    accurately refer to intel_miptree_map/unmap.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b40375c438f9a10231dabedcf72bf6f27bbe327
Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
Date:   Mon Aug 6 14:58:08 2012 -0300

    i965: add more Haswell PCI IDs
    
    Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8433f80add7c7f4a0abcedd45a50a731d0afb9be
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 21:11:32 2012 -0600

    egl: remove redundant PFNEGLQUERYSTREAMTIMEKHRPROC typedef
    
    This typedef is present earlier in the header and isn't part of the
    EGL_KHR_stream_cross_process_fd extension.  Looks like a Khronos glitch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99695f58fde6d364f2310d97303768782a1e537d
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 7 08:00:09 2012 -0600

    softpipe: fix loop limit for tex_cache[] array
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=53199

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d65356d8a4d268dce4c933d7704d709e1cdacfa
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Aug 4 14:04:03 2012 -0700

    st/mesa: Fix a potential memory leak in get_mesa_program.
    
    Fixes resource leak defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3894bc2d5d5eabdc913d88d1fedc552fef074a5
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Aug 4 14:37:33 2012 -0700

    gallivm: Add constructor for raw_debug_ostream.
    
    Fixes uninitialized scalar field defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6227239186fa1d14beb9e18cd4dc596eb8747e6
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 16:48:00 2012 -0600

    docs: update ARB_debug_output status to DONE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56c1f55c5179aa9c9a3d14daea2da453f41348e5
Author: Jason Wood <sandain at hotmail.com>
Date:   Mon Aug 6 13:47:27 2012 -0600

    docs: Add OpenGL 4.3 requirements
    
    v2: Note that GLSL 4.3 has not been started, and that
    ARB_compute_shader has been started in Gallium drivers.
    
    Signed-off-by: Jason Wood <sandain at hotmail.com>
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45e592c3dd4101c6706c5b2e6bb0e6e1f62017f5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 19 10:59:49 2012 -0700

    egl: Import eglext.h version 14
    
    This is necessary for EGL_KHR_create_context work (including writing
    piglit tests).
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b50703aea55450e04bcd8154335774786e0f253b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 09:38:34 2012 -0700

    egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context
    
    KHR extension name is reserved for Khronos ratified extensions, and there is
    no such thing as EGL_KHR_surfaceless_{gles1,gles2,opengl}.  Replace these
    three extensions with EGL_KHR_surfaceless_context since that extension
    actually exists.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb77f5dd1f6658fca671454c9b5be9a23c3bf3e4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 14:37:28 2012 -0700

    egl_dri2: Refactor dereference of dri2_ctx_shared
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05413ddb1da5d4f17b6da891fd2d76cff4947979
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 10:08:49 2012 -0700

    egl_dri2: Remove swrast version >= 2 checks
    
    Since support for swrast version 2 was added (f55d027a), it has also been
    required.  In swrast_driver_extensions, version 2 is set for __DRI_SWRAST
    extension.  Remove the spurious version checks sprinked through the code.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63adb6b9eaa723f6bf9603f3f567e04451df857e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jul 18 14:26:24 2012 -0700

    dri2: Fix bug in attribute handling for non-desktop OpenGL contexts
    
    Previously an error would be generated if any attributes were specified when
    creating a non-desktop OpenGL context.  This was a mistake, and it will
    prevent old drivers from working with new EGL libraries that add support for
    the createContextAttribs interface.  Instead, match the behavior of
    EGL_KHR_create_context: allow versions that make sense, reject non-zero flags.
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: Kristian Høgsberg <krh at bitplanet.net>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=102617bc5206e459bb1743d2d72341dbfe77bc58
Author: Andreas Boll <andreas.boll.dev at gmail.com>
Date:   Mon Aug 6 21:38:28 2012 +0200

    docs: update piglit url
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=933e13e2aff8bf683a461f1ab3886ec044747a85
Author: Andreas Boll <andreas.boll.dev at gmail.com>
Date:   Mon Aug 6 21:38:27 2012 +0200

    docs/helpwanted: add r600g and i915g todo lists
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=caa4ae5d7d864278ffbf5dbd9c25bb2932e91fc5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Aug 5 02:30:38 2012 -0700

    i965: Allocate dummy slots for point sprites before computing VUE map.
    
    Commit f0cecd43d6b6d moved the VUE map computation to be only once, at
    VS compile time.  However, it did so in slightly the wrong place: it
    made the one call to brw_vue_compute_map happen right before the
    allocation of dummy slots for replaced point sprite coordinates, causing
    a different VUE map to be generated (at least on Ironlake).
    
    Fixes a regression in Piglit's point-sprite test on Ironlake.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46489
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54c045b93cd205bcf031e70d65238d60bfc07da4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 4 21:28:23 2012 -0700

    i965/vs: Don't clobber sampler message MRFs with subexpressions.
    
    See the preceding commit for a description of the problem.
    
    NOTE: This is a candidate for stable release branches.
    
    v2: Use a separate dPdx variable rather than reusing the lod src_reg.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52129
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0f60106df724188d6ffe7c9f21eeff22186ab25
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 4 20:55:21 2012 -0700

    i965/fs: Don't clobber sampler message MRFs with subexpressions.
    
    Consider a texture call such as:
    
       textureLod(s, coordinate, log2(...))
    
    First, we begin setting up the sampler message by loading the texture
    coordinates into MRFs, starting with m2.  Then, we realize we need the
    LOD, and go to compute it with:
    
       ir->lod_info.lod->accept(this);
    
    On Gen4-5, this will generate a SEND instruction to compute log2(),
    loading the operand into m2, and clobbering our texcoord.
    
    Similar issues exist on Gen6+.  For example, nested texture calls:
    
      textureLod(s1, c1, texture(s2, c2).x)
    
    Any texturing call where evaluating the subexpression trees for LOD or
    shadow comparitor would generate SEND instructions could potentially
    break.  In some cases (like register spilling), we get lucky and avoid
    the issue by using non-overlapping MRF regions.  But we shouldn't count
    on that.
    
    Fixes four Piglit test regressions on Gen4-5:
    - glsl-fs-shadow2DGradARB-{01,04,07,cumulative}
    
    NOTE: This is a candidate for stable release branches.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52129
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27bf9c1997b77f85c2099436e9ad5dfc0f1608c7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 4 20:40:42 2012 -0700

    i965/fs: Factor out texcoord setup into a helper function.
    
    With the textureRect support and GL_CLAMP workarounds, it's grown
    sufficiently that it deserves its own function.  Separating it out
    makes the original function much more readable.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82bfb4b41af7d61aa45e41d62c1842b6a09e9585
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Aug 4 20:33:13 2012 -0700

    i965/fs: Move message header and texture offset setup to generate_tex().
    
    Setting the texture offset bits in the message header involves very
    specific hardware register descriptions.  As such, I feel it's better
    suited for the lower level "generate" layer that has direct access to
    the weird register layouts, rather than at the fs_inst abstraction layer.
    
    This also parallels the approach I took in the VS backend.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2df399c34bb39122a45bdd5b430b48346542e1cb
Author: Jerome Glisse <jglisse at redhat.com>
Date:   Wed Aug 1 15:53:11 2012 -0400

    r600g: atomize sampler state v2
    
    Use atom for sampler state. Does not provide new functionality
    or fix any bug. Just a step toward full atom base r600g.
    
    v2: Split seamless on r6xx/r7xx into it's own atom. Make sure it's
        emited after sampler and with a pipeline flush before otherwise
        it does not take effect.
    
    Signed-off-by: Jerome Glisse <jglisse at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3f8000bfcffdbe54c8e89626ce60ebedeba5920
Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Mon Aug 6 10:54:31 2012 -0400

    radeonsi: add some new pci ids
    
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6146d2566182279c9441133aa669945befe5204
Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Mon Aug 6 10:49:47 2012 -0400

    r600g: add additional evergreen pci ids
    
    Note: this is a candidate for the stable branches.
    
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8eeeef37057e8f31834e421902c529b273295d0b
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 08:35:20 2012 -0600

    st/mesa: merge fragment/vertex sampler update code
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=819e786339fe0eebcd6e8e0ec9e501da548846ba
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 08:35:20 2012 -0600

    st/mesa: massage update_vertex_samplers() code
    
    ...to look like update_fragment_samplers() code, as with the previous
    commit.  The next step would be to merge the two functions.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aac0d145a3f03572f19fd913bed2e951d543030
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 08:35:20 2012 -0600

    st/mesa: merge fragment/vertex texture update code
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd6aafcf72e79d7caacd4406528da9b2003915da
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 08:35:20 2012 -0600

    st/mesa: massage the update_vertex_textures() code
    
    ...to look like update_fragment_textures() code.  The next step would
    be to merge the two functions.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5749ae919e386e49dbf373e362dd74b513c96360
Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug 6 08:35:20 2012 -0600

    st/mesa: rename some vertex/fragment state fields for better consistency
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29604441deb6e94f6ced8c93b11fd8a3511f97f2
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:46:42 2012 -0600

    llvmpipe: consolidate the sampler and sampler view setting code
    
    Less code.  And as with softpipe, if/when we consolidate the pipe_context
    functions for binding sampler state, this will make the llvmpipe changes
    trivial.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3538d356316b282d6408f710f2df5f06bf315f5
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:46:42 2012 -0600

    llvmpipe: combine vertex/fragment sampler state into an array
    
    This will allow code consolidation in the next patch.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f34e1a6cbac4b96d07a3d6d01bc443d5282add4
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:46:41 2012 -0600

    softpipe: consolidate vert/frag/geom sampler setting functions
    
    The functions for setting samplers and sampler views for vertex,
    fragment and geometry shaders were nearly identical.  Now they
    use shared code.
    
    In the future, if the pipe_context functions for setting samplers
    and sampler views for vert/frag/geom/compute are combined, this
    will make updating the softpipe driver a snap.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6c3e6d8f34fc39dcbe9395c3a5953af726443f1
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:46:41 2012 -0600

    softpipe: consolidate sampler-related arrays
    
    Combine separate arrays for vertex/fragment/geometry samplers, etc into
    one array indexed by PIPE_SHADER_x.
    
    This allows us to collapse separate code for vertex/fragment/geometry
    state into loops over the shader stage.  More to come.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a14e9f09fc1cf9d5c277bb239f349203d3bed79
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:46:41 2012 -0600

    softpipe: combine vert/frag/geom texture caches in an array
    
    This lets us consolidate some code now, and more in subsequent patches.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61b62c007a7941e9b45e83440e932160a597e0e1
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Aug 3 23:51:34 2012 -0700

    mesa: Fix off-by-one error in Parse_TextureImageId.
    
    Fixes out-of-bounds write defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e7b3a04bf7667583dac18f1267d213aa7f33800
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Fri Aug 3 23:38:29 2012 -0700

    util: Move dereference after null check in util_resource_copy_region.
    
    Fixes dereference before null check defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5ca29100bd64f47e24ad1bd8ae04f0007021541
Author: Brian Paul <brianp at vmware.com>
Date:   Sat Aug 4 08:30:15 2012 -0600

    i915g: silence a const pointer warning

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9a498d1bc71f26e786d91c002759c5bce11338b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Aug 4 16:34:24 2012 +0200

    radeonsi: fix build failure after blitter changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb922b63eba1d75706354614bc5de4d39dbe9ad3
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Aug 2 01:43:01 2012 +0200

    r600g: precompute color buffer state in pipe_surface and reuse it

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdc681c3ad746fe8adab4ea71358bcc54e024ff9
Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Aug 2 01:43:01 2012 +0200

    r600g: precompute depth buffer state in pipe_surface and reuse it
    
    This is done on-demand, because we don't know in advance if a zbuffer
    will be bound as depth or color.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6dfc8c77bc00c06a35270a4e50aa52c738c8629
Author: Marek Olšák <maraeo at gmail.com>
Date:   Wed Aug 1 17:04:29 2012 +0200

    r600g: simplify create_surface

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=581f7e3101980a4e1068bb75c2eca60bb2071229
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 29 18:53:19 2012 +0200

    r600g: drop the old texture allocation code
    
    Made obsolete by the libdrm surface allocator.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c371f46958910dd2ca9487c89af1b72bbfdada9
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Jul 28 00:38:42 2012 +0200

    r600g: make sure copying of all texture formats is accelerated

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84645fa61390475e6efb080685e0dec059622a39
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Jul 28 01:19:18 2012 +0200

    gallium/u_blitter: add a query for checking whether copying is supported
    
    v2: add comments

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2f623f1d6da9bc987582ff68d0471061ae44030
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Jul 28 13:55:59 2012 +0200

    r600g: don't decompress depth or stencil if there isn't any

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

    r600g: correct texture memory size for Z32F_S8X24 on evergreen

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8ff737a18672c86f4ec01b25b4893550667b17c
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 27 22:45:52 2012 +0200

    gallium/u_blitter: remove fallback for stencil copy that all drivers skipped
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef1bf6d69e99d9a12557a09eccaf4f2b6c628997
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 27 21:44:17 2012 +0200

    gallium/u_blitter: add ability to blit only depth or only stencil
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88426780479743036993a0fcd112232d2792690a
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 27 21:31:59 2012 +0200

    gallium: define PIPE_MASK_RGBAZS
    
    I need this and it seems like it could be useful.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8aaf6972d128551dd720b3e3525806d39aad6f53
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 27 21:27:14 2012 +0200

    gallium/u_blitter: minor cleanup
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67a3e5bc32fe359b54121355295e6a19a24b44eb
Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Jul 27 19:09:14 2012 +0200

    gallium/tgsi: fixup texture name strings
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c420b166814fccb160e39cc9ea8cbdaf4e7c830
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 22 20:27:04 2012 +0200

    gallium/u_blitter: set sample mask to ~0
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d1ef354f9e613d62c5bd61398c00e80d301fcee
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jul 24 16:11:04 2012 +0200

    gallium/u_blit: bail out if src is a multisample texture
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b3f1ae12b7d53bf88cdcf0e78803e929cdf5bbd
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jul 24 16:10:45 2012 +0200

    gallium/u_blit: check nr_samples before using resource_copy_region
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7689303a8e4790c38cc69ae7a197712f98e8f5b
Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Jul 24 11:17:29 2012 +0200

    gallium: set sample mask to ~0 for clear, blit and gen_mipmap
    
    The sample mask affects single-sampled rendering too (it's orthogonal
    to the color mask).
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd97a5f660399212a23b6dcd02906231f2dc5525
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Aug 4 13:39:30 2012 +0200

    r600g: fix F2U opcode translation
    
    Signed-off-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bce0b51755e465d6aa9077df2167018d2e5150c
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Aug 2 22:38:24 2012 -0700

    draw: Ensure channel in convert_to_soa is initialized.
    
    Fixes uninitialized pointer read defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d36b3abfd557d8eb6a1a571d387dd53ef64068b
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Aug 2 23:28:10 2012 -0700

    u_blitter: Move a pointer dereference after null check.
    
    Fixes dereference before null check defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb85558ab1e40698bfb1aedaaf32b182560f2479
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Aug 1 14:48:47 2012 -0700

    Use C99 NAN and INFINITY macros

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=65da837fcfd4eaf444c54df22b0887440424297c
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 3 11:58:43 2012 -0600

    gallium/tests/trivial: updates for CSO interface changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c61d3fe8bddcbcf750c5f057a45b262fea92ca5e
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 3 11:56:36 2012 -0600

    st/xorg: updates for CSO interface changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=459dd568979a5745d84f8fd2bdff38242ee3c16f
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 3 11:56:28 2012 -0600

    st/xa: updates for CSO interface changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d1bec5d9a1a365286110000a1a37dc96c8db883
Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 3 08:33:08 2012 -0600

    vega: fix build breakage from cso sampler/view changes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=832706a80beb1643ec777a0a795a4ddcf6dfaca4
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 16:30:10 2012 -0600

    cso: remove unreachable break statements

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=076e5eacf1e5653acd1e99f0e7fdfe7499da5665
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 16:29:13 2012 -0600

    cso: 80-column wrapping, remove trailing whitespace, etc

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea6f035ae90895bd4ee3247408eb179dfdf96d22
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 13:02:40 2012 -0600

    gallium: consolidate CSO sampler and sampler_view functions
    
    Merge the vertex/fragment versions of the cso_set/save/restore_samplers()
    functions.  Now we pass the shader stage (PIPE_SHADER_x) to the function
    to indicate vertex/fragment/geometry samplers.  For example:
    
    cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler);
    
    This results in quite a bit of code reduction, fewer CSO functions and
    support for geometry shaders.
    
    Reviewed-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=350f12fb657a2ac860796c179233fa357e4bf46c
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Aug 1 23:11:33 2012 -0700

    st/mesa: Ensure dst in compile_instruction is initialized.
    
    Fixes uninitialized scalar variable defect reported by Coverity.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6ad8b45c2731075d91f43e92862847f2c26e95a
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 19:37:02 2012 +0000

    radeon/llvm: Add $(LLVM_LDFLAGS) to the loader linker flags

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a89a207179d8cf25f259aba8e6c867de42bae54
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 14:14:22 2012 -0400

    radeon/llvm: Add support for more f32 CMP instructions on SI

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a35eea786823f0130b925cb25486d7d162f2d68c
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 14:05:20 2012 -0400

    radeon/llvm: Add support for fneg on SI

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4104bae063a3a06ddc00371a576ad0a55f520473
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 14:04:36 2012 -0400

    radeon/llvm: Add support for fp_to_sint on SI

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7fcaa07df7b3aab124576dec346ae4fa7c6715b
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 19:42:50 2012 +0000

    radeon/llvm: Remove CMOVLOG DAG node

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5ac8ee2c5e7dad3985b06c620d96cf077804ff9
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Aug 2 13:21:30 2012 -0400

    radeonsi: Properly initialize si_shader_ctx.radeon_bld

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2bae6b91de8bd023dbac7fef4c2a3b8eba28afa
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Aug 2 17:19:22 2012 +0200

    radeonsi: Handle TGSI TXP opcode.
    
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93b4f1f97ea961f09218c9cf7d928e499f267f58
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Aug 2 17:30:44 2012 +0200

    radeonsi: Handle TGSI DIV opcode.
    
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=daf4254d07328381ed013aac25e25d6021fbfd14
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:41 2012 -0600

    svga: remove questionable INLINE qualifiers

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=421f134028ea2930cb80c7189e552320a8a6e49f
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    svga: sort #includes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=81f2f3f65c5cbff6db476e564da18198336e13d1
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    svga: add some comments in svga_screen_cache.c

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b5a5898b150b980fa1a4b79c9d7b0f303eb9c50
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    svga: whitespace, formatting fixes

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd8d9713d2cd9ead1d7837449c0062e0c0dcb24
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    svga: remove unneeded 'struct svga_screen' declarations

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8551635242470b1487b65a9ecf43c385f6fe4134
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    mesa: fix default_access_mode() result for ES2
    
    The GL_OES_mapbuffer extension is supported by OpenGL ES 1 and ES 2 so return
    GL_MAP_WRITE_BIT for both ES versions, not just ES 1.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb2b5c5e4e98b18844a90c93afad7b56f82269b
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    mesa: default_access_mode() returns a GLbitfield, not GLenum

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bd36956f82b30b1edc299e6d6e34e1bc911af01
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Aug 2 09:40:40 2012 -0600

    scons: set YACCHXXFILESUFFIX to stop needless rebuilding of the parser
    
    Before, the GLSL parser was getting rebuilt every time that scons was
    run.  The problem was scons was expecting a glsl_parser.hpp file but
    we were generating a glsl_parser.h file.
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41625afa2f7f30e5076c695ab3a16eabb5fe69f8
Author: Christian König <deathsimple at vodafone.de>
Date:   Fri Jul 13 11:23:10 2012 +0200

    radeonsi: initial VDPAU target
    
    Windowed speed is of course way to slow, but fullscreen
    works like a charm now.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3c6607be19af895ed6857c0a82b9b0821893dc6
Author: Christian König <deathsimple at vodafone.de>
Date:   Wed Aug 1 20:46:39 2012 +0200

    radeon/llvm: fix fp immediates on SI
    
    I don't know if this is a good idea, but it
    fixes the problem at hand.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=250b7fdd2610bf03292399c7d489c82de22fc682
Author: Christian König <deathsimple at vodafone.de>
Date:   Wed Aug 1 23:18:14 2012 +0200

    radeonsi: fix TEX writemask
    
    Using the writemask in the sampler results in packet
    VGPRS. For now just sample all components and let
    llvm chose the right one.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3508815d178a5b2d22b2249a68974b0cf8f67069
Author: Christian König <deathsimple at vodafone.de>
Date:   Wed Aug 1 22:35:24 2012 +0200

    radeonsi: fix shader param and color count
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92b96a883f5ed53d88ec148c8212c5a8348e97ab
Author: Christian König <deathsimple at vodafone.de>
Date:   Wed Aug 1 15:20:07 2012 +0200

    radeonsi: fix texture loads from sampler > 0
    
    The backend is multiplying the offset by the numbers of
    elements anyway, so doing it twice just makes everything
    crash.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b7dc5e81cfebeb6a61f3fee704bfec3fa6d6e77
Author: Christian König <deathsimple at vodafone.de>
Date:   Wed Aug 1 11:21:19 2012 +0200

    radeonsi: disable tiling until we fixed all bugs
    
    Currently there are more important things to worry about.
    
    Signed-off-by: Christian König <deathsimple at vodafone.de>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8734584952ea257d53ce421959bd9706345f221f
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Jul 31 22:55:39 2012 -0700

    scons: Add support for Intel Compiler.
    
    The patch makes the SCons build with Intel Compiler successful.
    
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=204bfb904bd5d4dd9ce90fe4d3e8e48b0d01fdae
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:39:01 2012 +0300

    meta: Use sampler object in framebuffer blit
    
    Framebuffer blit needs to setup texture sampling with no reference to the
    user's texturing state, and a sampler object lets us avoid a bunch of changes
    to the user's state setup.
    
    We don't bother caching the sampler object since we're changing parameters in
    it based on the filtering option to glBlitFramebuffer().
    
    Fixes piglit GL_ARB_sampler_objects/framebufferblit and rendering in l4d2 (our
    setting of srgb decode wasn't being respected due to the user's sampler object
    being active).
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=676a563d5bdcd9c75e1e33d75e2fa16bedcf5e83
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:39:00 2012 +0300

    meta: Add sampler object to texture decompression
    
    Sampler objects can be used to shadow texture object state without
    modifying original application state. Decompression path feels a bit
    like path where caching shouldn't happen. But as everything else is
    cached already I decided to cache sampler state too.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a320d5bcfb66afca6fe9fe5da133c2675ab4d27
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:57 2012 +0300

    mesa: Allow meta module to call sampler functions
    
    To allow meta module to use sample objects mesa GL functions need to be
    visible and linkable for meta module.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbdc1d53542b3ecca0085399c4bb3b3371f94809
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:56 2012 +0300

    swrast: Support sampler object for texture fetching state
    
    swrast needs to pass sampler object into all texture fetching functions
    to use correct sampling state when sampler object is bound to the unit.
    The changes were made using half manual regular expression replace.
    
    v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current
        values aren't set yet, so we need to look at our texObj2D. (anholt)
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8129dabb5f5ff717bb1ca32710ca6204d5345461
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:55 2012 +0300

    mesa: Make ARB_sampler_objects mandatory
    
    To allow meta acceleration operations to use sampler objects the
    ARB_sampler_objects extension needs to be mandatory for all drivers.
    Because the extension doesn't have any hardware dependencies it is
    trivial to implement.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae58f9696c5f82c98767b3f244b2ad4b966905e5
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:54 2012 +0300

    mesa/program: Use sampler object state if present
    
    CompareFailValue is part of Sampler state that needs to be read from
    bound sampler object if present.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cae76368523b2dd25f26069b9872a8993384fa57
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:53 2012 +0300

    mesa/ff_shader: Fix sampler state reading
    
    Fixed function fragment shader generator was incorrectly read texture
    sampling state directly from texture object. To make sure that
    ARB_sampler_object works correctly shader generator has to use the
    bound sampler if one exist.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f6bd8aedcf2b2f0e1ca9a1fa7ded1cb1f5a88ed
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:52 2012 +0300

    radeon&r200: Add support for ARB_sampler_objects
    
    Preparation for the mandatory support of ARB_sampler_objects. I have tested
    this patch with rv280 only.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10169e7adc40b445776453fcc6d3227d7dda5879
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:51 2012 +0300

    radeon: Fix printf format not to warn in 64bit
    
    When I build tested radeon changes I noticed two warnings about format
    size missmatch in 64bit. I decided to clean them to make relevant
    compiler warnings easier to spot.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54808e560f773f652919a2865c7371e4715df510
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:50 2012 +0300

    nouveau: Add support for ARB_sampler_objects
    
    ARB_sampler_objects is very simple software only extension to support.  I want
    to make it a mandatory extension for Mesa drivers to allow the meta module to
    use it.
    
    This patch add support for the extension to nouveau. It is completely untested
    search and replace patch, except for flagging the texture state as needing to
    be recomputed when a sampler object is present.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=765509903b3c560f9c19169d736f284480e88942
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:47 2012 +0300

    mesa/samplerobj: Support EXT_texture_sRGB_decode
    
    sRGBDecode state is part of sampler object state but mesa was missing
    handlers to access the state. This patch adds the support for required
    state changes and queries.
    
    GL_EXT_texture_sRGB_decode issue 4:
    "4) Should we add forward-looking support for ARB_sampler_objects?
    
            RESOLVED: YES
    
            If ARB_sampler_objects exists in the implementation, the sampler
            objects should also include this parameter per sampler."
    
    Fixes piglit GL_ARB_sampler_objects/GL_EXT_texture_sRGB_decode.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf
Author: Pauli Nieminen <pauli.nieminen at linux.intel.com>
Date:   Tue Jun 12 21:38:46 2012 +0300

    mesa: Move DepthMode to texture object
    
    GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on
    compatibility profile specifications.
    
    OpenGL specification 4.1 compatibility 20100725 3.9.2:
    "... The values accepted in the pname parameter
    are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_-
    FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_-
    LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and
    TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and
    in the sampler state in table 6.26 is not part of the sampler state, and remains in the
    texture object."
    
    The list of states is in Table 6.24 "Textures (state per texture
    object)" instead of 6.25 mentioned in the specification text.
    
    Same can be found from 3.3 compatibility specification.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>




More information about the mesa-commit mailing list