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
  • Charlie Lao's avatar
    Vulkan: Fine-grained depth stencil layout transition barrier · b6bd039c
    Charlie Lao authored Oct 06, 2020
    Gfxbench Manhattan uses depth attachment as texture in the same render
    pass, which creates a feedback loop. The layout we are using for this
    has kAllShadersPipelineStageFlags even though it only used by fragment
    shader. This creates an unnecessary vertex/fragment dependency that
    hurts performance on some mobile GPUs. This CL split
    DepthStencilReadOnly to DSAttachmentReadAndFragmentShaderRead,
    DSAttachmentReadAndAllShadersRead, and DepthStencilAttachmentReadOnly,
    so that if it is used by fragment shader, we only barrier against
    fragment stage. If not used by any shader, we don't block any shader
    stages. To make names consistent, this CL also renames
    DepthStencilAttachmentAndFragmentShaderRead to
    DSAttachmentWriteAndFragmentShaderRead, renames
    DepthStencilAttachmentAndAllShadersRead to
    DSAttachmentWriteAndAllShadersRead.
    
    Bug: b/169891513
    Change-Id: Iede497e8af028861f9166a32d122f26dc7aa864a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2453599
    Commit-Queue: Charlie Lao <cclao@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    b6bd039c
ContextVk.cpp 244 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.