• Show log

    Commit

  • Hash : 0f00fbae
    Author : Shahbaz Youssefi
    Date : 2022-01-21T00:28:48

    Translator: Make vec/matrix size getters unsigned
    
    TType stored type's primary and secondary sizes as `unsigned char`, but
    the getters returned `int`.  This caused unnecessary casts when the size
    was passed from one TType to another, as well as comparisons with other
    unsigned numbers.
    
    This change specifies the type of these members as `uint8_t` and makes
    the getters return the same type.  The call sites are accordingly
    adjusted to remove unnecessary casts, use the correct type in local
    variables, and add casts when passed to ostream::operator<<.
    
    Bug: angleproject:6755
    Change-Id: Ia4d86bd4ccb5c1a2ae1e10a0085a5166c3a6bcf7
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3402850
    Reviewed-by: Tim Van Patten <timvp@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@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