Mesa (gles3): 145 new commits

Carl Worth cworth at kemper.freedesktop.org
Thu Dec 6 23:26:27 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=412a815f427c791561fa561d13bef6b6648b5f75
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 30 15:07:54 2012 -0800

    mesa: Return INVALID_ENUM for glReadPixels(..., GL_DEPTH_*, ...) on ES 3
    
    I'm not sure if this is the correct fix. The
    _mesa_es_error_check_format_and_type function (used above in the ES 1
    and 2 cases) was originally added for glTexImage checking and allows
    GL_DEPTH_STENCIL/GL_UNSIGNED_INT_24_8 combinations. Using it in ES 3
    causes other tests to regress.
    
    Fixes es3conform's packed_depth_stencil_error test.
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org> (v1)
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a488b50ac97ec84cd7e12eabaca778701cdb26b
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 30 15:07:18 2012 -0800

    mesa: Return INVALID_OPERATION when type is known but not allowed
    
    INVALID_ENUM is for when the type is simply not known.
    
    Fixes part of es3conform's packed_depth_stencil_error test.
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b13c201c8ef1e9ce00db90798ecf9aebd7b5b0a
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 30 11:10:20 2012 -0800

    mesa: Use _mesa_lookup_enum_by_nr in tex*_error_check
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c273b9507d41302731b586ba2807e21e4fdc01d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 28 21:45:19 2012 -0800

    mesa: Allow HALF_FLOAT in glVertexAttribPointer
    
    Fixes es3conform's half_float_max_vertex_dimensions and
    half_float_textures tests.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=522c1488e2fbecebe85635b9178d641e7f31c8fb
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 29 12:43:39 2012 -0800

    mesa/tests: Add ARB_ES3_compatibility enums

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c369f9f9de80f123f8e8bd1cc7fe071c396c887
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 28 12:19:35 2012 -0800

    mesa: Support querying GL_MAX_ELEMENT_INDEX in ES 3
    
    The ES 3 spec says that the minumum allowable value is 2^24-1, but the
    GL 4.3 and ARB_ES3_compatibility specs require 2^32-1, so return 2^32-1.
    
    Fixes es3conform's element_index_uint_constants test.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f62105811bfe30510f4dc80c9f9a86911bf2ac1c
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Nov 20 12:07:40 2012 -0800

    mesa: De-duplicate ES2 queries
    
    The first hunk of removed code is inside an "apis": ["GL", "GLES",
    "GL_CORE"] block. GLES exposing ES2_compatibility is nonsense.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38713f0478dbbb5334b30212f8a690bbbbf80020
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 28 12:12:09 2012 -0800

    glapi: Add enums for ARB_ES3_compatibility

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=102e59e763741f9e0e1644bde19c086a82ba1454
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 28 12:03:26 2012 -0800

    glapi: Move ARB_base_instance to the correct location
    
    It's #107, it shouldn't be added after the #116 comment.
    
    Reviewed-by: Fredrik Höglund <fredrik at kde.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=803f9782a95f7ac091d212743b59a4b5e268739c
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Nov 27 12:18:02 2012 -0800

    glcpp: Reject token pasting operator in GLES
    
    The GLSL ES 3.0 spec (Section 12.17) says:
    "GLSL ES 1.00 removed token pasting and other functionality."
    
    NOTE: This is a candidate for the stable branches.
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e755e54ce89153a6d4d64e7ae455c5bf0ec1076
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Nov 20 13:45:03 2012 -0800

    mesa: Reject texture-only formats as renderbuffer formats in ES 3
    
    ES 3 specifies some formats as texture-only (i.e., not available for
    renderbuffers).
    
    See the "Required Texture Formats" section (pg 126) of the ES 3 spec.
    
    Fixes es3conform's color_buffer_unsupported_format test.
    Acked-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c504d177b3907f1a160ea2c84f83ab8b9396b81
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Tue Nov 20 13:43:11 2012 -0800

    egl/dri2: Add plumbing for EGL_OPENGL_ES3_BIT_KHR
    
    Fixes error EGL_BAD_ATTRIBUTE in the tests below on Intel Sandybridge:
        * piglit egl-create-context-verify-gl-flavor, testcase OpenGL ES 3.0
        * gles3conform, revision 19700, when runnning GL3Tests with -fbo
    
    This plumbing is added in order to comply with the EGL_KHR_create_context
    spec. According to the EGL_KHR_create_context spec, it is illegal to call
    eglCreateContext(EGL_CONTEXT_MAJOR_VERSION_KHR=3) with a config whose
    EGL_RENDERABLE_TYPE does not contain the EGL_OPENGL_ES3_BIT_KHR. The
    pertinent
    portion of the spec is quoted below; the key word is "respectively".
    
      * If <config> is not a valid EGLConfig, or does not support the
        requested client API, then an EGL_BAD_CONFIG error is generated
        (this includes requesting creation of an OpenGL ES 1.x, 2.0, or
        3.0 context when the EGL_RENDERABLE_TYPE attribute of <config>
        does not contain EGL_OPENGL_ES_BIT, EGL_OPENGL_ES2_BIT, or
        EGL_OPENGL_ES3_BIT_KHR respectively).
    
    To create this patch, I searched for all the ES2 bit plumbing by calling
    `git grep "ES2_BIT\|DRI_API_GLES2" src/egl`, and then at each location
    added a case for ES3.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a13f7b41acbca26bf52bf696fd3f98e20acc6e66
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Nov 21 16:55:43 2012 -0800

    intel: Expose support for DRI_API_GLES3
    
    If the hardware/driver combo supports GLES3, then set the GLES3 bit in
    intel_screen's bitmask of supported DRI API's.  Neither the EGL nor GLX
    layer uses the bit yet.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8952bfedcd69b526dd77758f782adff74b5fa27
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Tue Nov 20 13:27:14 2012 -0800

    dri: Define enum __DRI_API_GLES3
    
    This enum corresponds to EGL_OPENGL_ES3_BIT_KHR.
    Neither the GLX nor EGL layer use the enum yet.
    
    I don't like the GLES bits. I'd prefer that all GLES APIs be exposed
    through a single API bit, as is done in GLX_EXT_create_context_es_profile.
    But, we need this GLES3 enum in order to do the plumbing necessary to
    correctly support EGL_OPENGL_ES3_BIT_KHR as required by the
    EGL_KHR_create_context spec.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ee8aedef8236a5ea10046e303067ae551583f63
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Nov 21 16:22:19 2012 -0800

    intel: Move validation of context version into intelInitContext
    
    Each driver (i830, i915, i965) used independent but similar code to
    validate the requested context version. With the rececnt arrival of GLES3,
    that logic has needed an update. Rather than apply identical updates to
    each drivers validation code, let's just move the validation into the
    shared routine intelInitContext.
    
    This refactor required some incidental changes to functions
    i830CreateContext and intelInitContext. For each function, this patch:
        - Adds context version parameters to the signature.
        - Adds a DRI_CTX_ERROR out param to the signature.
        - Sets the DRI_CTX_ERROR at each early return.
    
    Tested against gen6 with piglit egl-create-context-verify-gl-flavor.
    Verified that this patch does not change the set of exposed EGL context
    flavors.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa3dc481c71319b3f4197e9ee013f67b660ae352
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Nov 21 15:08:27 2012 -0800

    intel: Set screen's api mask according to hw capabilities (v3)
    
    Before this patch, intelInitScreen2 set DRIScreen::api_mask with the hacky
    heuristic below:
    
        if (gen >= 3)
            api_mask = GL | GLES1 | GLES2;
        else
            api_mask = 0;
    
    This hack was likely broken on gen2 (i830), but I don't care enough to
    properly investigate. It appears that every EGLConfig on i830 has
    EGL_RENDERABLE_TYPE=0, and thus eglCreateContext will never succeed.
    Anyway, moving on to living drivers...
    
    With the arrival of EGL_OPENGL_ES3_BIT_KHR, this heuristic is now
    insufficient. We must enable the GLES3 bit if and only if the driver is
    capable of creating a GLES3 context. This requires us to determine the
    maximum supported context version supported by the hardware/driver for
    each api *during initialization of intel_screen*.
    
    Therefore, this patch adds four new fields to intel_screen which indicate
    the maximum supported context version for each api:
      max_gl_core_version
      max_gl_compat_version
      max_gl_es1_version
      max_gl_es2_version
    
    The api mask is now correctly set as:
    
        api_mask = GL;
        if (max_gl_es1_version > 0)
            api_mask |= GLES1;
        if (max_gl_es2_version > 0)
            api_mask |= GLES2;
    
    Tested against gen6 with piglit egl-create-context-verify-gl-flavor.
    Verified that this patch does not change the set of exposed EGL context
    flavors.
    
    v2:
      - Replace the if-tree on gen with a switch, for Ian.
      - Unconditionally enable the DRI_API_OPENGL bit, for Ian.
    
    v3:
      - Drop max gl version to 1.4 on gen3 if !has_occlusion_query,
        because occlusion queries entered core in 1.5. For Ian.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=754ba24a62d6160b51a0d3cd27196b9c08d1fbb8
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Nov 26 15:00:05 2012 -0800

    glcpp: Make undefined macros illegal in #if and #elif for GLES3
    
    Simply emitting a nicely-formatted error message if any undefined macro is
    encountered in a parser context expecting an expression.
    
    With this commit, the following piglit test now passes:
    
    	spec/glsl-es-3.00/compiler/undefined-macro.vert
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a6ac9ac50e3d0e501431ffb7395db9e5880de76
Author: Carl Worth <cworth at cworth.org>
Date:   Mon Nov 26 14:53:54 2012 -0800

    glcpp: Add a flag to the parser state to indicate GLES.
    
    This can be triggered either by creation of a GLES context (with
    api == API_OPENGLES2) or else by a #version directive with version
    value 100 or with a string of "es" following the version value.
    
    There's no behavioral change with this commit—just preparation for ES-specific
    behavior in the preprocessor in the future.
    
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d08913ce010cea8248ab436f0b338efee0776af6
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Nov 20 13:01:04 2012 -0800

    mesa: Rename and wire-up GetInteger64i_v
    
    The function was named badly and wasn't in the dispatch table,
    making it hard to find.
    
    Fixes transform_feedback2_states and gets a few other transform
    feedback tests closer to working in es3conform.
    
    Reviewed-by Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49b430938445f0c678a0f4956972c8dc0ca737c8
Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Nov 20 12:56:52 2012 -0800

    mesa: Correct glGet{Boolean,Integer}i_v names
    
    Reviewed-by Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70e93ce60ce1539281d50b592af57630b86aa788
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Nov 21 15:06:10 2012 -0800

    mesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3
    
    Fixes the remaining 4 texture_lod_bias failures in es3conform.
    
    Tested-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af1bd2182ab1a7a7d67b1f7c52ef1d6bccf1cf8f
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Tue Nov 20 17:04:45 2012 -0800

    mesa: Support more glGet enums for ES3
    
    For glGetIntegerv, add support for the following in an OpenGL ES 3.0
    context:
        GL_MAJOR_VERSION
        GL_MINOR_VERSION
        GL_NUM_EXTENSIONS
    
    See Table 6.29 of the OpenGL ES 3.0 spec.
    
    Fixes error GL_INVALID_ENUM in piglit egl-create-context-verify-gl-flavor,
    testcase for OpenGL ES 3.0.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ab660e3cd226bfc3428c4c9467cbb4a67547a6b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 19 21:59:59 2012 -0800

    meta: Use #version 300 es for _mesa_glsl_Clear's integer shaders on ES3.
    
    Fixes es3conform's color_buffer_float_clamp_(fixed|on|off) tests.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d3855d3c6bb13756e09f86224e5a3b82895ac22
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 19 21:51:25 2012 -0800

    meta: Use #version 300 es in GenerateMipmap shaders on ES3.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d74e1747b571b48cb19bce56e0846206320cd9e7
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Nov 16 13:40:59 2012 -0800

    mesa: assert if driver did not compute the version
    
    Make sure drivers initialize the version before:
     * _mesa_initialize_exec_table is called
     * _mesa_initialize_exec_table_vbo is called
     * A context is made current
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad3232a8192bebc2c67cce0688ac903b20b92194
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Mon Nov 19 11:21:05 2012 -0800

    mesa: don't initialize VBO vtxfmt in _vbo_CreateContext
    
    The driver should call _mesa_initialize_vbo_vtxfmt after
    computing the context version.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb11bcf77e9e4e50e98120c654e343ce426066fc
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Nov 16 10:42:02 2012 -0800

    mesa: don't initialize exec dispatch tables in _mesa_initialize_context
    
    Drivers must compute the context version, and then call
    _mesa_initialize_exec_table themselves.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce9602d87f3732676cbfaf59c55d05a326db09f3
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Nov 16 18:25:35 2012 -0800

    mesa dispatch_sanity: call new functions to initialize exec table
    
    In a future patch the exec functions will no longer set up
    by _mesa_initialize_context and _vbo_CreateContext.
    
    Therefore we must call _mesa_initialize_exec_table and
    _mesa_initialize_exec_table_vbo.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e8b3879e299a721ece8272b1b52fe135a3d5d2a
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Nov 16 10:30:19 2012 -0800

    drivers: compute version and then initialize exec table
    
    This change forces the context version to be computed before
    initilizing the exec dispatch tables.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2c5af190c4b01253dad3dcdd0f38077a6b9be26
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Mon Nov 19 11:17:39 2012 -0800

    vbo: add _mesa_initialize_vbo_vtxfmt
    
    This function initializes the exec/save dispatch tables
    for VBO vtxfmt.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20e054482ceef6a3a9439175ca7cbdcbf6c84152
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Nov 16 10:27:13 2012 -0800

    mesa: separate exec allocation from initialization
    
    In glapi/gl_genexec.py:
    * Remove _mesa_alloc_dispatch_table call
    
    In glapi/gl_genexec.py and api_exec.h:
    * Rename _mesa_create_exec_table to _mesa_initialize_exec_table
    
    In context.c:
    * Call _mesa_alloc_dispatch_table instead of _mesa_create_exec_table
    * Call _mesa_initialize_exec_table (this is temporary)
    
    Once all drivers have been modified to call
    _mesa_initialize_exec_table, then the call to
    _mesa_initialize_context can be removed from context.c.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1da2bc60a7424cb5445d578e3fc4fa831c8bee2c
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Nov 21 09:28:36 2012 -0800

    i965: Bump maximum supported ES2 context version to 3.0
    
    Since patch "i965: Validate requested GLES context version in
    brwCreateContext", we have been able to create ES 3.0 contexts due to the
    max version check.  So...bump the max version.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3d3d0e5af0e1cf68ea80d39f3c3776eae554f7f
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Nov 17 17:39:35 2012 -0800

    mesa: Allow glGet* queries on EXT_framebuffer_blit data in ES 3
    
    Fixes 2 framebuffer_blit es3conform tests.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0321f7ac1287819d779097db49fd75d28a3c296e
Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Nov 17 16:38:05 2012 -0800

    mesa: Allow glGet* queries on ARB_fragment/vertex_shader data in ES 3
    
    Fixes uniform_buffer_object_implementation_dependent_limits in
    es3conform.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae01a52c226e6f2ede8097c6bd6f6331ace84f85
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 22:13:48 2012 -0800

    mesa: Allow GL_DEPTH_STENCIL_ATTACHMENT in ES 3
    
    Fixes framebuffer_srgb_default_encoding_fbo and 5 packed_depth_stencil
    tests from es3conform.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c4ec8b0b50850d8d4010e831a4932d23cbeec4c
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 22:05:27 2012 -0800

    mesa: Allow glGet* queries on ARB_framebuffer_object data in ES 3
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28f01e023149264d236e3be6f1856777b85097f3
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 21:55:05 2012 -0800

    mesa: Allow glGet* queries on ARB_transform_feedback2 data in ES 3
    
    Fixes the transform_feedback2_init_defaults test from es3conform.
    
    The ES 3 spec lists these as TRANSFORM_FEEDBACK_PAUSED and
    TRANSFORM_FEEDBACK_ACTIVE.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95f6e3d3bb4a7636145596316328a08ae3f032e3
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 21:41:14 2012 -0800

    mesa: Allow glGet* queries on EXT_transform_feedback data in ES 3
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b1885f7d5723a91f9729fd6a06008578fa16594
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 21:19:01 2012 -0800

    mesa: Allow glGet* queries on ARB_sync data in ES 3
    
    Fixes the sync_coverage_max_server_wait_timeout test in es3conform.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5da894a66fafe08c0c23898e6a8be54ad9b1176
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 15:57:16 2012 -0800

    mesa: Allow glGet* queries of EXT_pbo data in ES 3
    
    Fixes pixel_buffer_object_default_binding and gets other tests in
    es3conform closer to passing.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be5d4e96619dd8ec0c560d3a9de7d5944e8548e3
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 15:40:32 2012 -0800

    mesa: Allow glGet* queries of select ARB_ubo data in ES 3
    
    Fixes 5 uniform_buffer_object tests in es3conform
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8deb1d8bcd44ff0ef91ab70d151f427ba5076d8d
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Nov 15 15:47:18 2012 -0800

    mesa: Add ES 3 handling to get.c
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c633e65630a2fe76520d251943f7c7316aa14f0c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Nov 17 21:23:28 2012 -0800

    mesa: Fix default value of BUFFER_ACCESS_FLAGS.
    
    According to both the GL 3.0 and ES 3.0 specifications (table 2.7 for GL
    and table 2.8 for ES), the default value of BUFFER_ACCESS_FLAGS is
    supposed to be zero.
    
    Note that there are two related quantities: the obsolete BUFFER_ACCESS
    enum and the new BUFFER_ACCESS_FLAGS bitfield.
    
    BUFFER_ACCESS can only be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE;
    BUFFER_ACCESS_FLAGS can easily represent all three via GL_MAP_WRITE_BIT,
    GL_MAP_READ_BIT, and their logical or.  It also supports more flags.
    
    Thus, Mesa only stores the bitfield, and simply computes the old enum
    when queried, via simplified_access_mode(bufObj->AccessFlags).
    
    The tricky part is that, while BUFFER_ACCESS_FLAGS defaults to 0,
    BUFFER_ACCESS defaults to GL_READ_WRITE for desktop [GL 3.0, table 2.8]
    and GL_WRITE_ONLY_OES for ES [the GL_EXT_map_buffer_range extension].
    
    Mesa tried to implement this by setting the default AccessFlags to
    GL_MAP_READ_BIT | GL_MAP_WRITE_BIT on desktop, and GL_MAP_WRITE_BIT on
    ES.  But in all specifications, it needs to be 0.
    
    This patch moves that logic into simplified_access_mode(): when
    AccessFlags == 0, it now returns GL_READ_WRITE for desktop and
    GL_WRITE_ONLY for ES 1/2.  (BUFFER_ACCESS doesn't exist on ES 3.0,
    so it's irrelevant there.)
    
    With that in place, it changes the AccessFlags default to 0.
    
    Fixes three es3conform tsets:
    - copy_buffer_defaults
    - map_buffer_range_modify_indices
    - pixel_buffer_object_default_parameters

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91d7ce9ddff8383f48d6fe754076ec0af106be66
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Nov 16 14:52:01 2012 -0800

    mesa: Rework crazy error code rules in glDrawBuffers().
    
    Perhaps most importantly, this patch adds comments quoting the relevant
    spec paragraphs above each error condition.
    
    It also makes three changes:
    - For FBOs, GL_COLOR_ATTACHMENTm where m >= MaxDrawBuffers is supposed
      to generate INVALID_OPERATION (not INVALID_ENUM).
    - Constants that refer to multiple buffers (such as FRONT, BACK, LEFT,
      RIGHT, and FRONT_AND_BACK) are supposed to generate INVALID_OPERATION,
      not INVALID_ENUM.
    - In ES 3.0, for FBOs, buffers[i] must be NONE or GL_COLOR_ATTACHMENTi
      or else INVALID_OPERATION occurs.  (This is a new restriction.)
    
    Fixes es3conform's draw-buffers-api test.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f49a076be5a245598338072334c773d1e3a522d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Nov 9 10:23:30 2012 -0800

    i965: Add support for GL_ANY_SAMPLES_PASSED_CONSERVATIVE
    
    We just treat this as an alias for GL_ANY_SAMPLES_PASSED.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c7f4c78e4b2f3a8ca6d9a517358c892fdc934f7
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Sep 17 14:52:10 2012 -0700

    intel: Enable ETC2 support on intel hardware
    
    This patch enables support for ETC2 compressed textures on
    all intel hardware. At present, ETC2 texture decoding is not
    available on intel hardware. So, compressed ETC2 texture data
    is decoded in software and stored in a suitable uncompressed
    MESA_FORMAT at the time of glCompressedTexImage2D. Currently,
    ETC2 formats are only exposed in OpenGL ES 3.0.
    
    V2: Use single etc_wraps variable for both etc1 and etc2.
    V3: Remove redundant code and use just one intel_miptree_map_etc()
        and intel_miptree_unmap_etc() function.
        Choose MESA_FORMAT_SIGNED_{R16, GR1616} for ETC2 signed-{r11, rg11}
        formats
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Tested-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dfcb33f394f557767b3ec6d479faf868e4c5da5
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Tue Oct 23 12:22:20 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
    
    Data in GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored
    in MESA_FORMAT_SARGB.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c6f1a5b979beeffa760b87b1182f648c08cfd0
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Oct 22 13:34:30 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
    
    Data in GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 format is decoded and stored
    in MESA_FORMAT_RGBA8888_REV.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c124a2a925d478c18a0f6feac765b7cd3d8f23b
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Wed Oct 10 13:46:20 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_SIGNED_RG11_EAC
    
    Data in GL_COMPRESSED_SIGNED_RG11_EAC format is decoded and stored in
    MESA_FORMAT_SIGNED_GR1616.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4fb40afd77b815d0f78423eb9222df97a532463
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Tue Oct 9 17:02:37 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_SIGNED_R11_EAC
    
    Data in GL_COMPRESSED_SIGNED_R11_EAC format is decoded and stored in
    MESA_FORMAT_SIGNED_R16.
    
    v2:
    16 bit signed data is converted to 16 bit unsigned data by
    adding 2 ^ 15 and stored in an unsigned texture format.
    
    v3:
    1. Handle a corner case when base code word value is -128. As per
    OpenGL ES 3.0 specification -128 is not an allowed value and should
    be truncated to -127.
    2. Converting a decoded 16 bit signed data to 16 bit unsigned data by
    adding 2 ^ 15 gives us an output which matches the decompressed image
    (.ppm) generated by ericsson's etcpack tool. ericsson is also doing this
    conversion in their tool because .ppm image files don't support signed
    data. But gles 3.0 specification doesn't suggest this conversion. We
    need to keep the decoded data in signed format. Both signed format
    tests in gles3 conformance pass with these changes.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Tested-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d979ed367e29e9b8483f84f966279cb995f5044
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 12 16:32:08 2012 -0800

    mesa: Add decoding functions for GL_COMPRESSED_RG11_EAC
    
    Data in GL_COMPRESSED_RG11_EAC format is decoded and stored in
    MESA_FORMAT_RG1616.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63a2957a9a418510d469acdce225023947b40204
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 12 16:28:07 2012 -0800

    mesa: Add decoding functions for GL_COMPRESSED_R11_EAC
    
    Data in GL_COMPRESSED_R11_EAC format is decoded and stored in
    MESA_FORMAT_R16.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ca99236b45378a3631bf8b683f5363819e260d2
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 12 16:13:25 2012 -0800

    mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC
    
    Data in GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC format is decoded and stored
    in MESA_FORMAT_SARGB8.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8ff3180c87f8425f4d1f92931e5eadb4839fb87
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 12 15:58:25 2012 -0800

    mesa: Add decoding functions for GL_COMPRESSED_RGBA8_ETC2_EAC
    
    Data in GL_COMPRESSED_RGBA8_ETC2_EAC format is decoded and stored
    in MESA_FORMAT_RGBA8888_REV.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53fd966e07dda6e5e4a1b3ca91c09a5a77a59909
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Thu Sep 27 17:05:24 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_SRGB8_ETC2
    
    Data in GL_COMPRESSED_SRGB8_ETC2 format is decoded and stored
    in MESA_FORMAT_SARGB8.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6641081d51d6c63b2bc6b573ccf3d00dd72f30e
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Sep 17 14:47:56 2012 -0700

    mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2
    
    Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in
    MESA_FORMAT_RGBX8888_REV.
    
    v2: Use CLAMP macro and stdbool.h
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea7c225359936a9a97e6570ae9239db6700ae7fa
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 12 17:58:46 2012 -0800

    mesa: Make nonlinear_to_linear() function available outside file
    
    This patch changes nonlinear_to_linear() function to non static inline
    and makes it available outside format_unpack.c. Also, removes the
    duplicate copies in other files.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76ba9899dc086d57fbc2e372595b35a48f767ae6
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Mon Nov 5 17:45:18 2012 -0800

    mesa: Add new MESA_FORMATs for ETC2 compressed textures
    
    It is required by OpenGL ES 3.0 to support ETC2 textures.
    This patch adds new MESA_FORMATs for following etc2 texture
    formats:
     GL_COMPRESSED_RGB8_ETC2
     GL_COMPRESSED_SRGB8_ETC2
     GL_COMPRESSED_RGBA8_ETC2_EAC
     GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC
     GL_COMPRESSED_R11_EAC
     GL_COMPRESSED_RG11_EAC
     GL_COMPRESSED_SIGNED_R11_EAC
     GL_COMPRESSED_SIGNED_RG11_EAC
     MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1
     MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1
    
    Above formats are currently available in only gles 3.0.
    
    v2: Add entries in texfetch_funcs[] array.
    
    Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    
    v3 (Paul Berry <stereotype441 at gmail.com>): comment out symbols that
    are not implemented yet, so that this commit compiles on its own;
    future commits will uncomment the symbols as they become available.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a912fd2cd91e6db6ba3ed80f02cf40940bea3647
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=dfb401092a54c478d97d64de1342f2a5521a7bf8
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=b338ab0b2b0cd55f1468895d9fef41b2aa5d0de6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 10 22:28:27 2012 -0700

    mesa/es3: Add support for GL_PRIMITIVE_RESTART_FIXED_INDEX
    
    This requires some derived state.  The cut vertex used is either the
    value specified by glPrimitiveRestartIndex or it's hard-coded to ~0.
    The derived state gl_array_attrib::_RestartIndex captures this value.
    In addition, the derived state gl_array_attrib::_PrimitiveRestart is set
    whenever either gl_array_attrib::PrimitiveRestart or
    gl_array_attrib::PrimitiveRestartFixedIndex is set.
    
    v2: Use _mesa_is_gles3.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be845062b3c95c3b2220905e0cf3f711b3bb183e
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=c58b511762d019241871409a57aa61a2578eba4f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 10 21:38:21 2012 -0700

    mesa/es3: Add support for GL_ANY_SAMPLES_PASSED_CONSERVATIVE query target
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15b5cdfa4cea1824ca51e9a2758d0a97c626c7cd
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=07db406f49474d4cc870b6a034e4ee99968f9486
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 17 18:09:09 2012 -0700

    i965: Don't maintain programs for ff state when there is no ff
    
    NOTE: This is a candidate for the 9.0 branch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=282a0f0a2f5faaeb7129fb7bd2d5ad2d71b3ce97
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 17 18:08:39 2012 -0700

    mesa: Don't muck about with ff state when there is no ff
    
    NOTE: This is a candidate for the 9.0 branch.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76f13f80e6ac7dcc7747b22eb513acbe1c2a5760
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 19 22:36:28 2012 -0800

    glsl: Add missing semicolon in the grammar
    
    This may not be strictly necessary, but every other rule in the grammar ends
    with a semicolon.  It also appears that this was supposed to be commited with
    the original patch that changed this rule, but the wrong version of the patch
    was accidentally pushed.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=62c0938639401dbf75c61ed7f6f10fd860994cfd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Nov 9 12:26:42 2012 -0800

    glsl: Allow layout qualifiers in GLSL 3.00 ES
    
    Note that while 'packed' is a reserved word in GLSL ES, row_major is not.
    This means that we have to use the string-based matching for that.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=486f9556548292e776781e85052ec4122180891d
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a69f66353010d3fe8c666bd4adee26139f32efa
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().
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d6d22100abf4512865c316f3ad6a3bd25dd28c1
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dec1bfedd27ae45632b0e08fb5996ff60d042b6
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.
    
    [v2, idr]: s/Frab/Frag/  Noticed by Eric.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com> [v1]
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7949eefcba39d48edd8af53f2d88d58f8cd5381
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.
    
    In review, Eric noted:
    
        "This change looks correct.  The overall interaction of profiles is
        getting ugly, though.  I'm imagining a restructure of the symbol
        table population so that there's a big list of types, and each
        #version has a nice list of strings of type names copy and pasted
        out of its spec."
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e10a5c5e46e8fe91d206dee360ba12b7dc916b3
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15ba2a582539a3a2bd624fb2ae7bac6a4cc8589a
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.
    
    [v2, idr]: Fix minro typo in a comment.  Noticed by Ken.
    
    [v3, idr]: s/IsEs(Shader|Prog)/IsES/  Suggested by Ken and Eric.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c92bb6fbacdf713e36a9702fbc2ab4d203152c
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).
    
    [v2, idr]: s/IsEs(Shader|Prog)/IsES/  Suggested by Ken and Eric.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9f34dc304eaed868122fece2ed26760af95ba81
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.
    
    [v2, idr]: Slightly tweak the is_es_prog detection to occur outside the loop
    instead of doing something special on the first loop iteration.  Suggested by
    Ken.
    
    [v3, idr]: s/IsEs(Shader|Prog)/IsES/  Suggested by Ken and Eric.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com> [v1]
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c150e876b4bd8af1a0f0d7d8a76e9900045ac6be
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.
    
    [v2, idr]: s/IsEs(Shader|Prog)/IsES/  Suggested by Ken and Eric.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com> [v1]
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b4aeddfb3cdae95d69e7f46eac87514f372f531
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.
    
    v2: Check for GLES3 before allowing '#version 300 es'
    
    v3: Make sure a correct language_version is set in
    _mesa_glsl_parse_state::process_version_directive.
    
    Signed-off-by: Paul Berry <stereotype441 at gmail.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=629b9edc99a0b662cf907b9e068be2fd6ac5ae26
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

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

    glsl/preprocessor: Handle "#version 300 es" directive.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2152df51c0c8546b003f187f2af3ad51df8a41a1
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.
    
    [mattst88] v2: Use intmax_t instead of int for version argument. Would
    otherwise write garbage after #version since PRIiMAX was reading 64-bits
    instead of 32.
    
    [idr] v3: A later commit fixes the caller of
    _glcpp_parser_handle_version_declaration to pass the correct number of
    parameters.  Fix it in the patch that changes the interface instead.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4a24745b84be49b0ede285ef795847ebca70916
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=534ec62152e70ed8f6467feaf07b2db2197e11b1
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=948e5dda67caa49fa9fc7cdc4649343eaf305b49
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d9bba6e43ab45c8eb758b4e29f4ed085a9398c9
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).").
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3ded7fe628d5a842f2fae0da355a4034cff27cf
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.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d0fd3270f028cd93efa5301c998be034826a102
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.
    
    [v2, idr]: Add PRINTFLIKE annotation to the new method.  The numbering of th
    parameters is correct because GCC is silly.
    
    [v3, idr]: Fix copy-and-paste error in the comment before
    _mesa_glsl_parse_state::is_version.  Noticed by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc9f9d8e66ac3ec934a82d25da7b76902f775802
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.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9bfaa104ed4debeff6c7d69daf4d9cc85cadb8d
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.
    
    [v2, idr]: Rename ctx parameter to mem_ctx
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=53e572f15cb394a8d4f2cd5856dd2a06b6ccd3f0
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).
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

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

    mesa: Add ARB_ES3_compatibility flag.
    
    Adding this now makes it easier to develop and test GLES3 features, since we
    can do initial development and testing using desktop GL.  Later GLSL compiler
    patches check for either ctx->Extensions.ARB_ES3_compatibility or
    _mesa_is_gles3 to allow certain features (i.e., "#version 300 es").
    
    [v2, idr]: Just edits to the commit message.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Acked-by: Carl Worth <cworth at cworth.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0f2ffc3d9dfa1c0492370d4d86a310c56a99e90
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Mon Dec 3 12:46:30 2012 +0100

    radeonsi: Fix cube texture coordinates.
    
    8 more piglits.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aac21547292cf0540e14679fc9bef260eb5092a3
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Mon Dec 3 12:45:41 2012 +0100

    radeon/llvm: Export prepare_cube_coords helper to driver.
    
    To be used by radeonsi.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7745596ceb86a040cf4449a409e52a25036a626b
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 6 11:54:36 2012 -0700

    mesa: use rand() instead of random()
    
    As Vinson Lee did in commit bb284669f85a32900bfec648d68ba4c4300772f4
    in hash_table.c
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56e95d3ca231110188e5b910f4e17104f3176d52
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue Dec 4 01:24:07 2012 -0800

    mesa: validate that sync objects were created by mesa
    
    Previously, the user could send in a pointer that was not created
    by mesa. When we dereferenced that pointer, there would be an
    exception.
    
    Now we keep a set of pointers and verify that the pointer
    exists in that set before dereferencing it.
    
    Note: This fixes several crashing gles3conform tests.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e12d9f0c6df9f309ade2aea708264c81038685b1
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue Dec 4 01:17:23 2012 -0800

    main/syncobj: return GL_INVALID_VALUE for invalid sync objects
    
    Note: The GL/GLES3 web man pages don't seem to properly
    document glWaitSync's error when the sync object is invalid.
    
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82c9d98ab9e8c0c94239551d84747b186d67ad73
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 4 01:03:57 2012 -0800

    mesa: add set support (stores a set of pointers)
    
    From: git://people.freedesktop.org/~anholt/hash_table
    
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
    [jordan.l.justen at intel.com: minor rework for mesa]
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db9a1052d1b2014419134c93aa4e05c9d1579378
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Dec 6 17:23:11 2012 +0000

    llvmpipe: Fix statement before declaration.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b79194401a944e952e3035c676d1d22df24aa2a8
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 5 20:15:40 2012 +0000

    util: Add util_copy_box helper.
    
    Must users of util_copy_rect() need or should deal with volumes.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4da4e8ee2ac337a765afd828880efe5a5a168088
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 5 09:04:21 2012 +0000

    gallium/util: Move the util_copy/fill_rect into u_surface.
    
    u_rect.h said these should move to a different file, and u_surface seems
    a better home.
    
    Leave #include "util/u_surface.h" to avoid having to touch thousand of
    files.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d296326e065ed9685bd27d62a3ba20d8a8996e6f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Dec 5 08:59:21 2012 +0000

    gallium/os: Cleanup up os_time_get/os_time_get_nano.
    
    - Re-implement os_time_get in terms of os_time_get_nano() for consistency
    - Use CLOCK_MONOTONIC as recommended
    - Only use clock_gettime on Linux for now.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e14293556bf8b4248728d2952752c13f70647f3
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 4 19:44:08 2012 +0000

    gallium/os: Fix os_time_sleep() on Windows for small durations.
    
    Prevents undetermined sleeps.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8069b7603c368c59e7a605d696d2bd65ad414f6
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Wed Dec 5 23:08:21 2012 +0100

    meta: Disable GL_FRAGMENT_SHADER_ATI in MESA_META_SHADER
    
    Fixes clears in Wine on r200.
    
    NOTE: This is a candidate for stable release branches.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6a4e1bc1eb3df1e9172474b60cf9fce571e35d1
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Wed Dec 5 23:08:20 2012 +0100

    radeon: Initialize swrast before setting limits
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=654a945f4d5fa00a40d47b952162a3b7f71dca5d
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Wed Dec 5 23:08:19 2012 +0100

    r200: Initialize swrast before setting limits
    
    Otherwise the driver announces 4096 vertex shader constants and other
    way too high limits.
    
    NOTE: This is a candidate for stable release branches.
    
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac24d172582cdb7a79098ca43ca8870712a98068
Author: Matthew Waters <ystreet00 at gmail.com>
Date:   Sun Dec 2 22:28:34 2012 +1100

    mesa: fix compiler warnings when including GL/gl.h with other gl headers
    
    GL/gl.h provides some definitions (GL_FALSE, GL_ONE, etc) that have
    the same value as other gl headers but are represented differently
    (0 vs 0x0 and 1 vs 0x1).
    This causes compiler warnings about redefining such definitions when
    including GL/gl.h with other gl headers.
    
    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=57802
    
    Signed-off-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e99cd915921d7b863a66badf09941f11120c6ab
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Dec 6 09:30:53 2012 +0000

    gallivm: Fix lerping of (un)signed normalized numbers.
    
    Several issues actually:
    
    - Fix a regression in unsigned normalized in the rescaling
      [0, 255] to [0, 256]
    
    - Ensure we use signed shifts where appropriate (instead of
      unsigned shifts)
    
    - Refactor the code slightly -- move all the logic inside
      lp_build_lerp_simple().
    
    This change, plus an adjustment in the tolerance of signed normalized
    results in piglit fbo-blending-formats fixes bug 57903
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33ffca713a5e593beda34d6bcbee8fb1af472cf7
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Dec 6 08:50:46 2012 +0000

    gallivm: Fix lp_build_print_value of smaller integer types.
    
    They need to be converted to the native integer type to prevent garbage
    in higher order bits from being printed.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5396582f5e0f327437159d0a844eeaeba8146fde
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 6 08:34:08 2012 -0700

    llvmpipe: remove unused variable

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=52b02cc6767ab5fe5fb2709147a4a06b3a15f3dc
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec 5 17:18:30 2012 -0700

    draw: remove some dead constant buffer code
    
    Remove the draw_vs_set_constants() and draw_gs_set_constants()
    functions and the draw->vs.aligned_constants,
    draw->vs.aligned_constant_storage and draw->vs.const_storage_size
    fields.  None of it was used.
    
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45a01cba907f3d260b14b79285449eb81cc02285
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Dec 5 21:34:26 2012 -0800

    android: Fix build of libmesa_program
    
    Commit 4097308 fixed the build in a questionable way. It worked at the
    time, but, as Ian pointed out, the fix would likely fail at a future
    commit due to the indeterminism of parallel builds. And that's exactly
    what happened; the fix no longer works. `mm -j4` on Fedora 17 fails for
    me.
    
    The problem is that there is no rule for program_parse.tab.h. To fix that,
    this patch adds a rule that makes program_parse.tab.c depend on
    program_parse.tab.h. Technically, the c file does not depend on the
    h file. However, because the two files are generated together by a single
    invocation of Bison, any rule that forces execution of Bison is
    sufficient.
    
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77b26564c3f0395bf3e744abbf6d0e7aa9d2c8da
Author: Dave Airlie <airlied at gmail.com>
Date:   Wed Dec 5 06:50:07 2012 +1000

    llvmpipe: EXT_transform_feedback support (v1.1)
    
    I'd written most of this ages ago, but never finished it off.
    
    This passes 115/130 piglit tests so far. I'll look into the
    others as time permits.
    
    v1.1: fix calloc return check as suggested by Jose.
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
    Signed-off-by: Dave Airlie <airlied at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71f06344a0d72a6bd27750ceca571fc016b8de85
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 27 14:10:52 2012 -0800

    i965: Add a debug flag for counting cycles spent in each compiled shader.
    
    This can be used for two purposes: Using hand-coded shaders to determine
    per-instruction timings, or figuring out which shader to optimize in a
    whole application.
    
    Note that this doesn't cover the instructions that set up the message to
    the URB/FB write -- we'd need to convert the MRF usage in these
    instructions to GRFs so that our offsets/times don't overwrite our
    shader outputs.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org> (v1)
    
    v2: Check the timestamp reset flag in the VS, which is apparently
        getting set fairly regularly in the range we watch, resulting in
        negative numbers getting added to our 32-bit counter, and thus large
        values added to our uint64_t.
    v3: Rebase on reladdr changes, removing a new safety check that proved
        impossible to satisfy.  Add a comment to the AOP defs from Ken's
        review, and put them in a slightly more sensible spot.
    v4: Check timestamp reset in the FS as well.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef2fbf67d4bd941a9a0e1c6f8515fb4911e05c50
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 28 14:16:03 2012 -0800

    i965: Add a flag for instructions with normal writemasking disabled.
    
    For getting values from the new timestamp register, the channels we
    load have nothing to do with the pixels dispatched.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00d77e9fe49924e39e211e1890c083847498a9a0
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Thu Nov 29 23:46:15 2012 +0100

    r600g: use default action for min/max opcode in tgsi to llvm
    
    Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d97f77b9f4ea58afe19f93dfc7ac7ed96819669
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Thu Nov 29 23:43:31 2012 +0100

    gallivm: Have a default emit function for min/max opcode
    
    Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a03f28e5489d6eb841e70dcf7521e3f275a0159
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Thu Nov 29 23:45:30 2012 +0100

    r600g: use default action for fdiv/rcp opcode
    
    Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a2f58f6ed3f4db98c1826e5e5be3159815042f6
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Thu Nov 29 23:43:05 2012 +0100

    gallivm: have a default emit function for fdiv/rcp
    
    Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad1fefd6951aa47ab58a41dc9ee73083cbcf85c
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Wed Nov 28 00:35:55 2012 +0100

    r600g: Use default mul/mad function for tgsi-to-llvm
    
    Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9f090e8b2ca2eda3e9a1b1c3ba4acce843720ba
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Fri Nov 23 17:53:06 2012 +0100

    glsl: add new variable declaration in function body in lower_output_read
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2c7fe5389e40871a7e339dc0ecaa7f570f851ed
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Dec 4 16:32:01 2012 -0700

    draw: set precalc_flat flag for AA lines too
    
    Fixes flat shading for AA lines.  demos/src/trivial/line-smooth is a
    test case which hits this.
    
    Note: This is a candidate for the stable branches.
    
    Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=484a8dcfa8c8b91b8e99174b5e4953264f32789e
Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Wed Dec 5 18:03:04 2012 +1300

    mesa: expose ARB_texture_cube_map_array in core contexts as well
    
    Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
    
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Signed-off-by: Dave Airlie <airlied at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=129a580062064a48d42929e8463f230ee6a4b8ed
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Dec 3 23:24:12 2012 -0800

    scons: Require drm to build gallium/state_trackers/egl/x11/x11_screen.c.
    
    x11_screen.c includes xf86drm.h, which comes from libdrm-dev.
    
    This patch fixes this build error.
    
      Compiling src/gallium/state_trackers/egl/x11/x11_screen.c ...
    src/gallium/state_trackers/egl/x11/x11_screen.c:30:21: fatal error: xf86drm.h: No such file or directory
    
    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=a64c1eb9b110f29b8abf803a8256306702629bdc
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 8 16:06:24 2012 -0800

    i965/fs: Add support for uniform array access with a variable index.
    
    Serious Sam 3 had a shader hitting this path, but it's used rarely so it
    didn't show a significant performance difference (n=7).  It does reduce
    compile time massively, though -- one shader goes from 14s compile time
    and 11723 instructions generated to .44s and 499 instructions.
    
    Note that some shaders lose 16-wide mode because we don't support
    16-wide and pull constants at the moment (generally, things looping over
    a few-element array where the loop isn't getting unrolled).  Given that
    those shaders are being generated with 15-20% fewer instructions, it
    probably outweighs the loss of 16-wide.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67d9e7b5816a7643220c854ea1ed330f8363a3e0
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Nov 8 15:55:36 2012 -0800

    i965/fs: Conditionalize constant-index UBO load code and add comments.
    
    I wanted to separate this step for easier reviewing when I add the
    variable-index case next.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f22a909a080d603db122ac8517a80bd8f4006fe2
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Nov 9 11:48:20 2012 -0800

    i965/fs: Restrict optimization that would fail for gen7's SENDs from GRFs
    
    v2: Fix SNB math bug in register_coalesce() where I was looking at the
        instruction to be removed, not the instruction to be copy propagated
        into.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9156d0cba1090c4bcc3a6c0c7b2ad8921a295be4
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Nov 26 10:23:07 2012 -0800

    i965/fs: Allow source mods on gen7+ math.
    
    This gen6 restriction was removed in gen7 as the mathbox merge to act
    more like a normal instruction was finished in the hardware.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8214e4384aaf0ee412ad9aea80f9fec522c1e4a
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 7 11:18:34 2012 -0800

    i965/fs: Add instruction emit for varying-index reads of uniforms.
    
    The gen7 send-from-GRF path is sufficiently different from the perspective of
    IR generation and optimization that I just made it a separate opcode.
    
    v2: fix whitespace, rebase on Ken's recent refactor.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29340d02dc38a9cc352d44412871dc9d4e3f878a
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Nov 7 10:42:34 2012 -0800

    i965/fs: Rename the existing pull constant load opcode.
    
    We're going to use another send message for handling loads with a varying
    per-fragment array index.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78e9c57a3ec6930e818b83af960dcb40d09daa5a
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Nov 9 11:17:48 2012 -0800

    i965: Add a header_present flag for setting up dp read messages.
    
    As of gen7, we can skip the header on some messages, and this can make
    optimization on those messages much nicer when you've got GRFs instead of MRFs
    as the source.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f05b2f2b022cb80c9e49d2ceb212d3b4f23905b
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Nov 9 11:38:14 2012 -0800

    i965/gen7: Add some safety checks for send messages from GRFs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb6d901ad2589b393b3ed2f53e735c281af0cf50
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 4 21:16:13 2012 +0000

    gallivm: Re-add the kludge for lp_build_lerp of fixed point types.
    
    I removed it in commit 7d44d354bdba853e453ce3991396e2b0933468f4 but
    texture sample code still relies on it.
    
    Not sure how to this cleanly, so put it pack for now.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed4dfaa164907a5d706bb351295eb47e45d17473
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 4 19:36:52 2012 +0000

    scons: Link against librt
    
    Fixes missing clock_gettime symbol.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de76101672a83fd7fda8033b2d5ec8c5b756707a
Author: José Fonseca <jfonseca at vmware.com>
Date:   Sun Dec 2 18:57:53 2012 +0000

    util/u_debug: Cleanup/fix debug_dump_image.
    
    - Handle other formats.
    - Prevent CRLF on Windows.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a416a4a91dd167f9f018932b0a1c7045bfc08bd8
Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Nov 21 16:17:22 2012 +0000

    translate: Fix the fetch function assertions.
    
    fetch_rgba_float is NULL for integer formats, and vice-versa.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4da0cb83ab6d82ba3cf011bb3b9b012bd27f7bfc
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 16 17:57:38 2012 +0000

    util/u_draw: Skip rendering instead of aborting when excessive number of instances is found.
    
    This is a temporary hack. I believe the only way of properly fixing this
    is to check buffer overflow just before fetching based on addresses,
    instead of number of vertices/instances. This change simply allows tests
    that stress buffer overflows to complete without asserting, and should
    not affect valid rendering.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7da3a947c72111dfb605781be6c0d61423b56e76
Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Nov 16 17:09:05 2012 +0000

    draw: Properly limit vertex buffer fetches on draw arrays.
    
    We need to clamp vertex buffer fetch based on its size, not based on the
    user specified max index hint.
    
    This matches draw_pt_fetch_run() above.
    
    NOTE: This is a candidate for the stable branches.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1864273f2fb83c4c2afeb8a3eb84f44ada00b47
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Nov 15 20:36:55 2012 +0000

    draw: Use symbolic primitive names in debug output.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32e899ab8b3e0cc717c740e95e05f5e9d11e8224
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Nov 15 20:35:20 2012 +0000

    draw: Consider the geometry shader when choosing the vertex size.
    
    A single vertex size is chosen for the whole pipeline. So the number of
    geometry shader outputs must also be taken in consideration.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b636204ae82768f561f8b7f3e6e70eb982bbac1f
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Nov 15 14:20:35 2012 +0000

    tgsi: Allow TXF from buffers.
    
    There is more work necessary to properly support buffers in shaders, but
    this gets things a bit further along.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0e4ee9b27ad70cb5adb41158516c6951ed4ba36
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Nov 15 14:19:55 2012 +0000

    util/surface: Always use the surface format when clearing.
    
    Not the texture format, as they might differ.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64f9916314aecaf2af4485162daf38c035f04d62
Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Nov 15 09:16:59 2012 +0000

    tgsi: Increase maximum number of temps to 4096.
    
    To match Shader Model 4 limits, as specified in
    http://msdn.microsoft.com/en-us/library/windows/desktop/ff471378.aspx
    
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=294d8a71efe0d85d7212c9b0f465e8637cc25e77
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 4 19:09:28 2012 +0000

    llvmpipe: Fix alignment.
    
    My understanding and actual implementation of how the pixels are being
    fetch differed.
    
    This fixes bug 57863.
    
    Trivial.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d44d354bdba853e453ce3991396e2b0933468f4
Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 4 13:38:52 2012 +0000

    gallivm: Generalize lp_build_mul and lp_build_lerp for signed normalized types.
    
    This fixes fdo bug 57755 and most of the failures of piglit fbo-blending-formats
    GL_EXT_texture_snorm.
    
    GL_INTENSITY_SNORM is still failing, but problem is probably elsewhere,
    as GL_R8_SNORM works fine.




More information about the mesa-commit mailing list