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
  • vk_helpers.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Restart RenderPasses in DS read-only mode. · d3e800e9
    Jamie Madill authored Aug 15, 2020
    We can combine an initial RenderPass with a read-only RP if the first
    RP never writes to depth. We can check the depth-write tracking in
    CommandBufferHelper and substitute in a new Framebuffer/RP Desc in this
    case as well as issue new layout barriers. We need to disable barrier
    merging in this special case.
    
    This reduces the RenderPass count in the Manhattan trace from 15->13.
    The performance on the Pixel 4 benchmark goes to ~82% of native for
    the on-screen version and ~88% for off-screen. There's also a ~5% bump
    in speed for the desktop trace.
    
    Bug: angleproject:4959
    Change-Id: I70241824f75eaa1e11b50370f826abc36e91686e
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2358772
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    d3e800e9
vk_helpers.cpp 220 KB
EditWeb IDE
×

Replace vk_helpers.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.