Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • vulkan
  • ContextVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Fix optimizeRenderPassForPresent regression. · c5b9c49c
    Jamie Madill authored Aug 25, 2020
    gfxbench clears the depth buffer right before the swap. Even though the
    last draw call that presents the frame didn't ever read or write to
    depth, the tracking we added thought this depth write meant we had to
    keep the LOAD_OP as CLEAR. Instead we can refine our check to treat
    clears specially when enabling the depth-stencil read-only mode instead
    of changing how the tracking works for clears. This way the tracking
    can not affect other apps that don't use depth-stencil read-only loops.
    
    Also adds a regression test that counts the clears after a swap.
    
    Bug: angleproject:4959
    Bug: angleproject:4979
    Change-Id: I12ece6474019f7519a467f827110ad817f7d4df7
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2370364
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    c5b9c49c
ContextVk.cpp 193 KB
EditWeb IDE
×

Replace ContextVk.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.