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
  • RenderTargetVk.cpp
Find file
BlameHistoryPermalink
  • Charlie Lao's avatar
    Vulkan: Defer color image layout changes at endRenderPass time · da437f26
    Charlie Lao authored Mar 08, 2021
    Right now color render target's image's layout change are done at
    beginRenderPass time. The problem is that the layout also depends on
    whether texture is also being used as a sampler or not. That information
    is not known when renderpass starts. We did some special treatment for
    depth stencil attachment so that its layout determination is deferred
    until endRenderPass time. This CL expands that same mechanism to color
    attachment as well. Right now the color attachment will still pick the
    same ImageLayout::ColorAttachment layout since the logic to detect it is
    also used for texture sampling is not there yet.
    
    Bug: b/175584609
    Change-Id: Id7486174d475f894461578b31d0d40fdd90e808a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2744121Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Charlie Lao <cclao@google.com>
    da437f26
RenderTargetVk.cpp 14.2 KB
EditWeb IDE
×

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