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
  • TextureVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Always use LOAD for RenderPass attachments. · e4c5a23b
    Jamie Madill authored Mar 02, 2018
    The RenderPass load/store ops allow us to specify how we want to use
    the data from the attachments. Previously we had the load op set to
    CLEAR always, which would prevent us from doing multiple kinds of
    operation. Using LOAD should conversatively work in any situation
    as long as we can ensure each Image is cleared before we use it.
    
    To this effect this patch also inserts a preliminary clear into each
    Texture or Renderbuffer Image's initialization. We already had this
    for Surfaces.
    
    In the future we'll improve this by inserting proper load/store ops,
    but this unblocks a lot more functionality in the interim.
    
    Bug: angleproject:2361
    Change-Id: I7610eaa39d81b23dd74b4a24b7f28a66a6dfffc6
    Reviewed-on: https://chromium-review.googlesource.com/948782
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarLuc Ferron <lucferron@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    e4c5a23b
TextureVk.cpp 16.7 KB
EditWeb IDE
×

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