• Show log

    Commit

  • Hash : fc0e0397
    Author : Amirali Abdolrashidi
    Date : 2025-07-31T13:15:45

    Translator: Fix location validation for inout
    
      Without this validation, a shader using an inout variable can
    write into a memory beyond the limit set by MaxDrawBuffers when
    shader framebuffer fetch is enabled.
    
    * Extended the location check in visitSymbol() to include InOut
      qualifiers (EvqFragmentInOut) as well (in ValidateOutputsTraverser).
    
    * Moved RewritePixelLocalStorage() after ValidateOutputs() to avoid
      issues related to locations not being specified in the InOut nodes
      from the PLS implementation.
    
    * Added a unit test to test that this case results in a compilation
      error: GLSLTest_ES3.CompileFSWithInoutLocBeyondMaxDrawBuffers
    
    Bug: chromium:435139154
    Change-Id: I44c729377a2e1d3126c2d279172217b2ab92b57b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6806230
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Yuxin Hu <yuxinhu@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