• Show log

    Commit

  • Hash : adb80cbb
    Author : Shahbaz Youssefi
    Date : 2024-11-12T22:38:38

    Vulkan: Optimize read-only depth/stencil switch after clear
    
    Prior to this change, if color is cleared then read-only depth/stencil
    mode is enabled, ContextVk::switchToReadOnlyDepthStencilMode eagerly
    flushed the deferred clears (starting a render pass).
    
    However, if the render pass is marked dirty for any reason afterwards,
    for example because we want to flush the render pass after a query
    ends, the render pass that is just started above is unnecessarily
    closed.
    
    In this change, `switchToReadOnlyDepthStencilMode` only detects if a new
    render pass is needed and marks the appropriate dirt bits.  This way,
    the render pass can only be restarted once.
    
    Bug: angleproject:378058737
    Change-Id: I83a5ebae6c223882eafea338eeec19895d87e5c1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6023414
    Reviewed-by: Charlie Lao <cclao@google.com>
    Reviewed-by: Amirali Abdolrashidi <abdolrashidi@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
    kc3_lang_org www_kmx_io thodg_w thodg_l thodg thodg_m
    Tags