Mesa (master): 37 new commits

Ian Romanick idr at kemper.freedesktop.org
Fri Jan 25 14:24:42 UTC 2013


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22233da1ee4b59663966169759960c00c033d0e9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 01:14:36 2013 -0500

    glsl: Remove ir_variable::uniform_block
    
    v2: A previous patch contained a spurious hunk that removed an
    assignment to ir_variable::uniform_block.  That hunk was moved to this
    patch.  Suggested by Carl Worth.
    
    Signed-off-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=f09d77b2af0e6e7553a1e2efca2f12fe2e4dcea8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:19:25 2013 -0500

    glsl: Allow dereferencing fields of an interface instance
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32f322925592e9eeda6a5624c7320232fc170c03
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sat Dec 15 14:49:53 2012 -0800

    glsl: Allow elimination of uniform block members
    
    glGetActiveUniform is not supposed to report block members that are not
    active even if they are included in the layout of the block.  The block
    layout is determined from the GLSL_TYPE_INTERFACE that defines the
    block, so eliminating the ir_variables that correspond to the individual
    fields is safe.
    
    Fixes gles3conform test
    uniform_buffer_object_getuniformindices_for_for_nonexistent_or_not_active_uniform_names.
    
    This also fixes the assertion failures (added in the previous commit) in
    gles3conform uniform_buffer_object_index_of_not_active_block,
    uniform_buffer_object_inherit_and_override_layouts, and
    uniform_buffer_object_repeat_global_scope_layouts.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=514f8c7ec7cc1ab18be93cebb5b9bf970b1955a9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 01:09:16 2013 -0500

    glsl: Calculate UBO data at link-time
    
    Use the function added in the previous commit.
    
    This temporarily causes gles3conform
    uniform_buffer_object_index_of_not_active_block,
    uniform_buffer_object_inherit_and_override_layouts, and
    uniform_buffer_object_repeat_global_scope_layouts to assertion fail.
    This is fixed in the next commit.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ab7399822b480f6e07cc566a2e50fabedc8258d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 00:59:56 2013 -0500

    glsl: Add link_uniform_blocks to calculate all UBO data at link-time
    
    Calculate all of the block member offsets, the IndexNames, and
    everything else to do with every UBO.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=681df909e32180774c8c64efc8e8dd03fdf9c668
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 17:33:47 2013 -0500

    glsl: Add a visitor to determine whether a uniform block is ever used
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1b4960f9b815fb093b0bca7f3e0b90eb1a92592
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 00:44:58 2013 -0500

    glsl: Lower UBO references using link-time data instead of compile-time data
    
    Pretty much all of the compile-time, per-compilation unit block data is
    about to get the axe.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90b1dd03e52d125c95007e174028d17e5a01c336
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 00:23:24 2013 -0500

    glsl: Add gl_uniform_buffer_variable::IndexName field
    
    glGetUniformIndices requires that the block instance index not be
    present in the name of queried uniforms.  However,
    gl_uniform_buffer_variable::Name will include the instance index.  The
    IndexName field is added to handle this difference.
    
    Note that currently IndexName will always point to the same string as
    Name.  This will change soon.
    
    Signed-off-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=11d42de681d07884efd7f5b09bd639ee4423093b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 22 00:06:10 2013 -0500

    glsl: Make the align function available elsewhere in the linker
    
    Signed-off-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=e2c95cd6746ca9bb6e90ed8211afb22727f57e19
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:57:45 2013 -0500

    glsl: Calculate link-time uniform block data without using compile-time block data
    
    Pretty much all of the compile-time, per-compilation unit block data is
    about to get the axe.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd963e12ef6c9655f2319f813be412ea22763264
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:43:25 2013 -0500

    glsl: Assert that interfaces, like structures, are not seen as leaf types
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99b8935ce2d63902bdb3e5a76154240f0e011b80
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:42:19 2013 -0500

    glsl: Add new uniform_field_visitor::process variant
    
    This flavor takes a type and a base name.  It will be used to handle
    cases where the block name (instead of the instance name) is used for an
    interface block.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=007de494d2cd110786075f8aa014d8a0547d2063
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:27:30 2013 -0500

    glsl: Recurse into uniform blocks just like uniform structures
    
    v2: Inspite of the spell checker, spell recurse correctly.  Suggested by
    Carl Worth.
    
    Signed-off-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=25e75b0a134f8f4de326c310349fc13f5ca906f2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:06:45 2013 -0500

    glsl: Handle instance array declarations
    
    v2: Add a comment and an assertion about the array size in the
    non-instance name case.  Suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5383661092fc46cf7013052210e6d624f4d5b596
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 23:01:33 2013 -0500

    glsl: Track blocks in the symbol table using the glsl_type instead of the gl_uniform_block
    
    Eventually the gl_uniform_block information won't be calculated until
    linking.  Block names need to be checked for name clashes during
    compiling, so we have to track it differently.
    
    v2: Update the commit message.  Suggested by Carl Worth.
    
    Signed-off-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=9a204bb9f611e34396ea838b44517dd6eeb99bcc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 22:49:39 2013 -0500

    glsl: Add new uniform_field_visitor::visit_field variant
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=141e9d42f518fb113dcaf01fcb0c82b14726ebd6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 22:41:13 2013 -0500

    glsl: Modify uniform_field_visitor::visit_field to take a row_major parameter
    
    Not used yet, but the UBO layout visitor will use this.
    
    v2: Remove a spruious hunk.  This is moved to the patch "glsl: Remove
    ir_variable::uniform_block".  Suggested by Carl Worth.
    
    Signed-off-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=6a0c1bc16334b72de25e57d0c7e0a72dcd7c5ecf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 22:32:07 2013 -0500

    glsl: Modify uniform_field_visitor::recursion to take a row_major parameter
    
    Not used yet, but the UBO layout visitor will use this.
    
    v2: Add some commentary as to why row_major is always set to false in
    process.  Suggesed by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23b7ce3a824013c8b4d7340294cb59b0b4cb8f87
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 22:18:16 2013 -0500

    glsl: Add a predicate to determine whether a variable is an interface block
    
    For the first declaration below, there will be an ir_variable named
    "instance" whose type and whose instance_type will be the same
    glsl_type.  For the second declaration, there will be an ir_variable
    named "f" whose type is float and whose instance_type is B2.
    
    "instance" is an interface instance variable, but "f" is not.
    
    uniform B1 {
        float f;
    } instance;
    
    uniform B2 {
        float f;
    };
    
    v2: Copy the comment message documentation into the code.  Suggested by
    Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b09603dda7108f7f7d58c903b15510262f845c0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 22:07:34 2013 -0500

    glsl: Require that indices into uniform block arrays be constants
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a7b44b329c8090969587d1dab23721d47f82e4a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Jan 21 21:51:15 2013 -0500

    glsl: Add ir_variable::interface_type field
    
    For variables that are in an interface block or are an instance of an
    interface block, this is the GLSL_TYPE_INTERFACE type for that block.
    
    Convert the ir_variable::is_in_uniform_block method added in the
    previous commit to use this field instead of ir_variable::uniform_block.
    
    v2: Fix the place-holder comment on ir_variable::interface_type.
    Suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=13be1f4a103802ed936f2374d72b2f6979dafd58
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 14 12:00:14 2012 -0800

    glsl: Add ir_variable::is_in_uniform_block predicate
    
    The way a variable is tested for this property is about to change, and
    this makes the code easier to modify.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=17e6f1904444be019cafa208495e3fe479cb86fd
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:14:03 2012 -0800

    glsl: Generate an interface type for uniform blocks
    
    If the block has an instance name, add the instance name to the symbol
    table instead of the individual fields.
    
    Fixes the piglit test interface-name-access-without-interface-name.vert
    for real.
    
    v2: Update the comment before the assertion that interface block
    definitions won't generate instructions.  Suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=491364e1f34ddb2c8ea439e871dd42aaa5cc9b28
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:11:16 2012 -0800

    glsl: Add GLSL_TYPE_INTERFACE
    
    Interfaces are structurally identical to structures from the compiler's
    point of view.  They have some additional restrictions, and generally
    GPUs use different instructions to access them.  Using a different base
    type should make this a bit easier.
    
    This commit also adds the glsl_type::interface_packing fields.  For
    GLSL_TYPE_INTERFACE types, this will track the specified packing mode.
    It is analogous to gl_uniform_buffer::_Packing.
    
    v2: Add serveral missing GLSL_TYPE_INTERFACE cases in switch-statements.
    
    v3: Add information about glsl_type::interface_packing.  Move row_major
    checking in glsl_type::record_key_compare from this patch to the
    previous patch.  Both suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f96a8471e8ddf2b49a644780f35ee493157782a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:09:32 2012 -0800

    glsl: Add row_major field to glsl_struct_field
    
    For now, this will always be false.  In the near future, an "interface"
    type will be added that shares a lot of infrastructure with structures.
    
    v2: Move row_major checking in glsl_type::record_key_compare from the
    next patch to this patch.  Suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51f740cd5ada5242b27928e0dcfd662f48820342
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sat Dec 8 17:38:30 2012 -0800

    glsl: Refactor out processing of structure fields
    
    This will soon also be used for processing interface block fields.
    
    v2: Add a comment explaining the interface of
    ast_process_structure_or_interface_block.  Suggested by Paul Berry.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Paul Berry <stereotype441 at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a39a70c8d41d2758d6909a68a5b9163b81f4b003
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:13:30 2012 -0800

    glsl: Parse interface array size
    
    The size is parsed and stored in the AST, but it is not used yet.
    Processing of the array size is added in the patch "glsl: Handle
    instance array declarations"
    
    v2: Update the commit message (suggested by Carl Worth).  Add a comment
    to ast_uniform_block::array_size (suggested by Paul Berry).
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=34f966bdcb22733a159fb680859a83f88ef01d2a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Nov 27 23:45:17 2012 -0800

    glsl: Parse non-array uniform block instance names in GLSL ES 3.00.
    
    In GLSL ES 3.00 (and GLSL 1.50), uniform blocks can have an associated
    "instance name", which essentially namespaces the variables inside.
    
    This patch adds basic parsing for this new feature, but doesn't yet hook
    it up to actually do anything yet.
    
    It does not support for arrays of interface blocks; a later commit will
    take care of that.
    
    This change temporarily regresses the piglit test
    interface-name-access-without-interface-name.vert.  This shader failed
    to compile before (the expected result), but it failed to compile for
    the wrong reason.  This is not a real regression.
    
    v2: Add some comments to ast_uniform_block::instance_name.  Suggested by
    Paul Berry.
    
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d2e6336a21e20afe37861030ac2161aadd0499e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Nov 27 23:21:56 2012 -0800

    glsl: Refactor uniform block parser rules.
    
    The existing code has a lot of duplication; the only difference between
    the two cases is whether we merge in an additional layout qualifier.
    
    Apparently creating a layout_qualifieropt rule that can be empty causes
    a lot of conflicts and confusion.  However, refactoring out the guts of
    the ast_uniform_block creation works fine.
    
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b226a058dbb59a24254a149be182a08bcb10bee3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Dec 13 02:25:34 2012 -0800

    linker: Refactor intra-stage block compatabililty testing
    
    Also slightly change the compatibility test.  Instead of comparing the
    offsets of the block variables, compare the packing mode of the blocks.
    Ideally we don't want to assign the offsets until a later stage of
    linking.
    
    This is put in a new file called link_uniform_blocks.cpp.  Some new
    functions related to uniform blocks are going to live in that file as
    well.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a971ab695d8f3c58a5fb0f359443b6b053f0b97
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Dec 13 02:13:30 2012 -0800

    mesa: Track the packing mode of a UBO in gl_uniform_buffer
    
    This allows the next patch to verify that two uniform blocks match
    without first calculating the locations of the fields.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecfb404e8d4fcd35524d1c4b3421e24980fe3976
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:56:03 2012 -0800

    glsl: Replace most default cases in switches on GLSL type
    
    This makes it easier to find switch-statements that need to be updated
    after a new GLSL_TYPE_* is added because the compiler will generate a
    warning.
    
    Switch-statements that only had a small number of cases (e.g.,
    everything in ir_constant_expression.cpp) were not modified.  I may
    regret that decision when we eventually add support for doubles.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Carl Worth <cworth at cworth.org>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=416326e33780fda0580292f9c2ace0b7c2c520e3
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 23 14:30:05 2013 -0800

    i965: Correct gen6+ guardband calculation.
    
    Too much attention was paid to the first paragraphs, and not enough to
    the last little note that "oh, by the way, the rendered things
    themselves still have to be clipped to just 8192 wide/high".
    
    Fixes GTF's clip.c test with 4096 or higher width on ivb, where one of
    the triangles got the upper half of its pixels dropped.
    
    Tested-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9db2098d18dd28cbb4f9f98ec9e8f9d579608c38
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 23 15:27:39 2013 -0800

    i965: Use GL_RED for DEPTH_TEXTURE_MODE in ES 3.0 for unsized formats.
    
    Khronos has apparently decided that depth textures with sized formats
    (allowed with ARB_internalformat_query or ES 3.0) should be treated as
    GL_RED, while unsized formats (an existing feature) should be treated
    as GL_INTENSITY for compatibility with ES 2.0.
    
    Ian is proposing changes to ARB_internalformat_query which will make
    this actually legal and consistent.
    
    A similar problem exists with GL 4.2, but we're going to ignore that
    for the time being.
    
    Tested on Ivybridge: no Piglit regressions; fixes 4 es3conform tests:
    - depth_texture_fbo
    - depth_texture_fbo_clear
    - depth_texture_teximage
    - depth_texture_texsubimage
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

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

    i965/Gen6+: Enable ARB_ES3_compatibility extension
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d0e8c109c34ca31b5a00d1561f4fbfe53adf8c0
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
    
    v2: Add ARB_internalformat_query to the list of required extensions.
    
    v3: Add OES_depth_texture_cube_map to the list of required extensions.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>




More information about the mesa-commit mailing list