• Show log

    Commit

  • Hash : bc9ff5e6
    Author : Tim Van Patten
    Date : 2025-07-11T13:43:05

    Don't cache shaders/programs that are too large
    
    Currently, ANGLE compresses and caches every shader program, but can
    then fail to decompress the cached program because the uncompressed size
    is too large.
    
    Instead, check if the program size is too large before compressing and
    caching the program, so ANGLE doesn't generate an error later while
    attempting to decompress the cached program.
    
    This change is applied to both shaders and programs:
    * MemoryShaderCache::putShader()
    * MemoryProgramCache::putProgram()
    
    Bug: b/279980674
    Change-Id: I67a3b542b460a41dbbc4a3d8bad4031a212223e0
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6728876
    Reviewed-by: Charlie Lao <cclao@google.com>
    Reviewed-by: Cody Northrop <cnorthrop@google.com>
    Commit-Queue: Tim Van Patten <timvp@google.com>
    

  • 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