• Show log

    Commit

  • Hash : 8dc9e83e
    Author : Shahbaz Youssefi
    Date : 2022-02-16T21:48:53

    Translator: Fix RunAtTheEndOfShader w.r.t discard
    
    RunAtTheEndOfShader wrapped main() if it ended in discard.  However, it
    didn't account for the fact that the discard instruction could be
    wrapped in a block.  This change makes RunAtTheEndOfShader more
    conservative w.r.t discard and has it wrap main() on any encounter of
    discard.
    
    The change additionally adds AST validation to ensure transformations
    don't generate dead code after branches.
    
    Test credit to Cody Northrop.
    
    Test: GLSLTest_ES3.ConstantConditionGuardingDiscard
    Test: GLSLTest_ES3.NestedUnconditionalDiscards
    Bug: angleproject:7033
    Change-Id: Ie9d5210a5cfbb13449720a8a3f44666df9443d98
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3471014
    Reviewed-by: Cody Northrop <cnorthrop@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