• Show log

    Commit

  • Hash : bc82325e
    Author : Shahbaz Youssefi
    Date : 2020-11-24T21:58:30

    Fix RedGreenGradient to not output 0 for half the image
    
    The shader directly used v_position.xy as output color, but for half of
    the image x and y are negative and the respective channel became zero.
    
    This change makes the shader use v_position.xy*0.5+0.5.  Additionally,
    the tests that use this shader are changed to mathematically derive the
    pixel colors instead of using magic numbers.
    
    Bug: angleproject:5395
    Change-Id: Ic11c362c22ca725aa173faa5fd6033a02a4303fd
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2559265
    Reviewed-by: Tim Van Patten <timvp@google.com>
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    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