• Show log

    Commit

  • Hash : 3de2703d
    Author : Olli Etuaho
    Date : 2017-11-30T12:16:47

    Fix handling matrix qualifiers on block members
    
    Individual block member row_major/column_major layout qualifiers may
    override the qualifiers set on the block. During parsing, this was
    already being handled correctly, so that the qualifier is resolved for
    each block member and recorded for each TField / InterfaceBlockField.
    
    Now we always write the qualifiers on a per-member granularity to the
    output GLSL shaders, so that the native driver gets the correct
    per-member qualifiers. This replaces earlier behavior where the matrix
    qualifiers were only written per-block.
    
    Also only use qualifiers from individual members in block layout.
    
    Since the block-level qualifier information is no longer used after
    parsing, it is no longer kept in the AST. A dummy value is still set
    to the InterfaceBlock structs exposed through the ShaderVars
    interface, since that has existing usage in Chromium that needs to be
    removed before the field can be removed.
    
    Some AMD OpenGL drivers don't seem to handle matrix layout qualifiers
    correctly, so most of the added tests need to be skipped for AMD GL.
    On NVIDIA and Intel the tests pass.
    
    BUG=angleproject:2271
    TEST=angle_unittests, angle_end2end_tests,
         dEQP-GLES31.functional.program_interface_query.uniform.matrix*
    
    Change-Id: I1baa7a633bc2da548743c2190cb72db491b5227a
    Reviewed-on: https://chromium-review.googlesource.com/800174
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: Corentin Wallez <cwallez@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags