• Show log

    Commit

  • Hash : 6b9d3762
    Author : Amirali Abdolrashidi
    Date : 2024-08-22T15:29:00

    Vulkan: Optimize full texture clears
    
      Currently, a full texture clear (glClearTexImageEXT()) is treated as
    a special case of a partial clear (glClearTexSubImageEXT() with image
    dims as the input). However, it can be further optimized by treating
    it as a clear update.
    
    * For full clears from EXT_clear_texture, the clear update path is
    taken.
      * It leads to a more optimized path, including the usage of the
        following APIs:
        * vkCmdClearColorImage()
        * vkCmdClearDepthStencilImage()
      * It uses the following enum: ClearTextureMode
      * If a partial clear uses the extents for the entire image, it is
        treated as a full clear.
    
    * Updated the method to determine if a texture is renderable in
      clearSubImageImpl().
    
    * Added perf counter: fullImageClears
    
    * Added new unit tests
      * Single 3D texture full clear (Clear3DSingleFull)
      * 2D RGB SNORM clear (Clear2DRGB8Snorm)
    
    * Added Vulkan perf counter test for 2D and 3D color image clear.
    
    * Updated the related skipped tests on Pineapple.
    
    Bug: angleproject:42266869
    Bug: angleproject:375425839
    Change-Id: I12ef3002dee190d7f8f43204f7d3f76e05d0b54f
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5806207
    Reviewed-by: Charlie Lao <cclao@google.com>
    Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
    Reviewed-by: 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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags