• Show log

    Commit

  • Hash : c4a96d67
    Author : Olli Etuaho
    Date : 2015-07-23T17:37:39

    Names of built-in functions cannot be redeclared as functions
    
    With ESSL 3.00, names of built-in functions cannot be redeclared as
    functions, and therefore an error needs to be generated if a built-in
    function is overloaded.
    
    This is fixed by inserting unmangled built-ins into a special set in
    the symbol table and checking if function declarations match any of
    the built-ins in the set.
    
    The regular symbol table structures can't be used for storing the
    unmangled names because that interferes with name hashing in
    OutputGLSL.
    
    Credit goes to Arun Patole, apatole@nvidia.com for initially
    investigating this issue and developing the first version of the
    patch.
    
    BUG=angleproject:1066
    TEST=angle_unittests,
    dEQP-GLES3.functional.shaders.functions.invalid.overload_builtin_function*
    (2 tests started passing with this change)
    
    Change-Id: I28c8325f5a3a8f4a97226b0dfdbb9762724fa609
    Reviewed-on: https://chromium-review.googlesource.com/328994
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: Corentin Wallez <cwallez@chromium.org>
    

  • 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