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
  • ProgramExecutableVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Accumulate Buffer barriers. · f9dd2c15
    Jamie Madill authored Aug 02, 2020
    Uses an unordered_map in the CommandBufferHelper to track buffer
    reads and writes. Buffer barriers are tracked specially in the
    CommandBufferHelper class as a barrier we execute immediately when
    we execute the commands into the primary. So when we run into an
    incompatible buffer access we must start a new command buffer.
    
    The rules for an incompatible access are:
    
     - when we are reading a buffer, any prior write in the same command
       buffer is incompatible.
     - when we are writing a buffer, any prior read or write in the same
       command buffer is incopatible.
    
    Also adds a regression test using a new performance counter.
    
    Bug: angleproject:4429
    Change-Id: I393a4ed87314f955eb998940b877ba76ea15a7b8
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2334091Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    f9dd2c15
ProgramExecutableVk.cpp 59.7 KB
EditWeb IDE
×

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