• Show log

    Commit

  • Hash : 37d96cce
    Author : Olli Etuaho
    Date : 2017-07-11T14:14:03

    Fix accepting arrays as array indices
    
    Previously, arrays were being incorrectly accepted as array indices.
    This was because the isScalar() check only checked that the type was
    not a vector or matrix, but still returned true for scalar arrays.
    
    This patch changes the isScalar() check so that it returns false for
    arrays. This makes usage of the term "scalar" more consistent in the
    shader translator. Most of the code using isScalar() was compatible
    with this change. Code in util.cpp that used to assume that isScalar()
    doesn't care about arrayness is refactored to work with the new
    behavior.
    
    BUG=angleproject:2102
    TEST=angle_unittests
    
    Change-Id: I2a7f4c30fca7917d1099d0400efe3de859338b2a
    

  • 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