• Show log

    Commit

  • Hash : 13e9817b
    Author : Shahbaz Youssefi
    Date : 2021-09-08T11:57:00

    Translator: Fix assert in ScalarizeVecAndMatConstructorArgs
    
    This transformation assumed that precision can be derived for constants
    in every possible scenario, but that's not true.  The fuzzer produced
    the following code:
    
        void main()
        {
            mat4 m;
            mat2(0, bvec3(m));
        }
    
    In the above, the constant 0 legimitately has no precision.  The assert
    was in a function that attempted to make a temporary out of the
    constant, which this commit changes to use the original constant as-is.
    
    Bug: chromium:1246781
    Change-Id: I6f247264e5213cfd9449fdfb1dc312d02b99f2f1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3149191
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    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