Mesa (master): 21 new commits

Ian Romanick idr at kemper.freedesktop.org
Fri Aug 26 22:03:52 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf7be70aa77b09d4cce5832006efe69852ce457b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 09:21:21 2016 +0100

    mesa/version: OpenGL ES 3.2 depends on OES_texture_cube_map_array
    
    This has a separate enable from ARB_texture_cube_map_array.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b387bc90c8f5f14cec4f909ce0d53455bc34ed1c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 17 10:26:25 2016 +0100

    i965: Enable OES_texture_cube_map_array on Gen8+
    
    These are the only platforms that current expose OES_geometry_shader.
    Once OpenGL ES 3.1 and OES_geometry_shader are enabled on Gen7, this
    extension can be enabled there as well.
    
    Gen6 will never get OpenGL ES 3.1, so it will never get this
    extension... even though it has the desktop OpenGL extension.  Alas.
    
    NOTE: This causes a failure on Gen8+ platforms in
    ES3-CTS.gtf.GL3Tests.texture_storage.texture_storage_texture_targets.
    The test only fails because it doesn't know that 0x9009 is a valid
    value when the extension exists.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc4f53b68308bbd79932470cf4613037f7e95fb7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 17 10:20:34 2016 +0100

    mesa: Add support for OES_texture_cube_map_array
    
    This has a separate enable flag because this extension also requires
    OES_geometry_shader.  It is possible that some drivers may support
    OpenGL ES 3.1 and ARB_texture_cube_map but not support
    OES_geometry_shader.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87fa462ffd6754144f89163a2692eff005beef9c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 11:11:04 2016 +0100

    mesa: Add and use _mesa_has_texture_cube_map_array helper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66b988d09af1a505b428cf2a32c7ee11fb832982
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 10:09:41 2016 +0100

    mesa: Use _mesa_has_ARB_texture_cube_map_array instead of open-coding it
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=daf1a61e1147fcd5d6849920d4836bee7118c406
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 09:57:54 2016 +0100

    mesa: Cosmetic changes in legal_texobj_target
    
    Use bool instead of GLboolean and constify ctx.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d79c950eebc3614d44e688172ffeb59fb6cfd3fa
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 09:55:49 2016 +0100

    mesa: Rearrange legal_texobj_target to look more like _mesa_legal_get_tex_level_parameter_target
    
    This makes it a bit easier to add support for more features in different
    APIs.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef5bad09c4623892a358046b7ece4dcb273ad700
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 17 10:13:24 2016 +0100

    glsl: Add and use has_texture_cube_map_array helper
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c879dbc4e4184511cb3d831b66380c087216d850
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 17 10:10:56 2016 +0100

    glsl: Mark cube map array sampler types as reserved in GLSL ES 3.10
    
    All the GLSL 4.x keywords were added to the list of reserved keywords
    in GLSL ES 3.10.  As far as I can tell, these are the only ones that
    were missed.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fb4af77897385b0245becaa60f88e005d7b2006
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jun 16 20:35:44 2016 -0700

    glsl: Silence unused parameter warning
    
    glsl/lower_buffer_access.cpp:324:55: warning: unused parameter ‘var’ [-Wunused-parameter]
                                              ir_variable *var,
                                                           ^
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63af53dcd31cea89e5c8905e2a4898a5cb3d9ed4
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 23 12:45:09 2016 -0700

    i965: Enable GL_OES_geometry_shader on Gen8+
    
    Gen7 can get this extension (and GL_OES_shader_io_blocks) as soon as the
    rest of OpenGL ES 3.1 is enabled.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=259fc505454ea6a67aeacf6cdebf1398d9947759
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue May 24 12:04:53 2016 -0700

    glsl/linker: Fail linking on ES if uniform precision qualifiers don't match
    
    When GL_OES_geometry_shader is enabled, this fixes
    dEQP-GLES31.functional.shaders.linkage.geometry.uniform.rules.type_mismatch_1.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=06201e4f1afb5c4354d5e2238a57e54c9463cf9f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 23 14:37:01 2016 -0700

    glsl: Allow invocations layout qualifier with GL_OES_geometry_shader
    
    Fixes
    
    dEQP-GLES31.functional.geometry_shading.instanced.geometry_1_invocations
    dEQP-GLES31.functional.geometry_shading.instanced.invocation_per_layer_2d_array
    dEQP-GLES31.functional.geometry_shading.instanced.invocation_per_layer_2d_multisample_array
    dEQP-GLES31.functional.geometry_shading.instanced.invocation_per_layer_3d
    dEQP-GLES31.functional.geometry_shading.instanced.invocation_per_layer_cubemap
    dEQP-GLES31.functional.geometry_shading.instanced.multiple_layers_per_invocation_2d_array
    dEQP-GLES31.functional.geometry_shading.instanced.multiple_layers_per_invocation_2d_multisample_array
    dEQP-GLES31.functional.geometry_shading.instanced.multiple_layers_per_invocation_3d
    dEQP-GLES31.functional.geometry_shading.instanced.multiple_layers_per_invocation_cubemap
    dEQP-GLES31.functional.geometry_shading.query.geometry_shader_invocations
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a0ae7b55c4c38b9d0a37aa2a741da18c33f49fe
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 23 14:34:24 2016 -0700

    glsl: Allow gl_InvocationID and gl_Layer with GL_OES_geometry_shader
    
    Fixes
    
    dEQP-GLES31.functional.geometry_shading.layered.fragment_layer_2d_array
    dEQP-GLES31.functional.geometry_shading.layered.fragment_layer_2d_multisample_array
    dEQP-GLES31.functional.geometry_shading.layered.fragment_layer_3d
    dEQP-GLES31.functional.geometry_shading.layered.fragment_layer_cubemap
    
    v2: Don't enable gl_ViewportIndex in GLSL ES 3.20.  Noticed by Ilia.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a72fbf9e6743368dc8e7664adf095af8ec5b6d8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 23 13:31:29 2016 -0700

    mesa: Allow GL_EXT_geometry_shader and GL_EXT_geometry_point_size
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=658e90f9a8c0c68e0bee5007cf3f654cc95188b6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 23 15:29:14 2016 -0700

    mesa: Document reasons for allowing XFB drawing modes in GLES 3.1 w/GL_OES_geometry_shader
    
    Originally this patch added the checks to allow the draw calls with XFB,
    but commit 2dabd497 beat me to it.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa228eb1a69b2b367583878f440423229d4d1ac3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 19 13:44:01 2016 +0100

    mesa: Remove redundant _mesa_has_shader_subroutine
    
    The checks in _mesa_has_shader_subroutine are slightly different than
    _mesa_has_ARB_shader_subroutine, but they're not different in a way
    that matters.  The only way to have ctx->Version >= 40 is if
    ctx->Extensions.ARB_shader_subroutine is set.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0115f356eec22b30a78847ac47caebae4c436b68
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 11:02:15 2016 +0100

    nouveau: Enable EXT_texture_env_dot3 on NV10 and NV20
    
    GL_DOT3_RGB_EXT and GL_DOT3_RGBA_EXT. are nearly identical to
    GL_DOT3_RGB and GL_DOT3_RGBA.  The only difference is the _EXT
    versions do not apply the post-scale.  Just smash logscale to 0 so
    that RC_OUT_SCALE_1 is always used.
    
    NOTE: I have not actually tested this.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d92c3c0b0df1a5e8be3f8208868828043ab630
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Aug 18 10:57:44 2016 +0100

    nouveau: Fix non-1x post-scale factor with DOT3 combiner
    
    Fixes long standing bug on NV10 and NV20 where using a non-1x RGB or A
    post-scale with GL_DOT3_RGB or GL_DOT3_RGBA texture environment would
    not work.
    
    The old combiner math uses HALF_BIAS_NORMAL and HALF_BIAS_NEGATE.  The
    GL_NV_register_combiners defines these as
    
        HALF_BIAS_NORMAL_NV       max(0.0, e) - 0.5
        HALF_BIAS_NEGATE_NV       -max(0.0, e) + 0.5
    
    In order to get the correct result from the dot-product, the
    intermediate dot-product must be multiplied by 4.  This is a literal
    implementation of the GL_ARB_texture_env_dot3 spec.  It also requires
    using the register combiner post-scale.  As a result, the post-scale
    cannot be used for the post-scale set by the application.
    
    The new combiner math uses EXPAND_NORMAL and EXPAND_NEGATE.  The
    GL_NV_register_combiners defines these as
    
        EXPAND_NORMAL_NV          2.0 * max(0.0, e) - 1.0
        EXPAND_NEGATE_NV          -2.0 * max(0.0, e) + 1.0
    
    Since this fully expands the value to [-1, 1] range, the intermediate
    dot-product result is the desired value.  This leaves the register
    combiner post-scale available for application use.
    
    NOTE: I have not actually tested this.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f926cf5bd0ade3273b320ca4483d826fcfe20bbb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul 21 11:16:11 2016 -0700

    docs: Rename GL3.txt to features.txt
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Suggested-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cd5c3cfe75114d2725b5fdf86e44d9ea4cb5b6b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon May 16 11:30:19 2016 -0700

    docs: Update GL3.txt for OpenGL 4.x on i965-ish hardware
    
    v2: Note that GL_KHR_blend_equation_advanced and
    GL_KHR_blend_equation_advanced_coherent are done.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>




More information about the mesa-commit mailing list