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
  • common
  • mathutil.h
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Optimize texture upload barriers · e9111885
    Shahbaz Youssefi authored Jul 12, 2019
    When flushing staged uploads to an image, a 64-wide bitfield is used to
    track subresources that are uploaded since the last barrier.  If a
    collision is detected, a barrier is inserted and the bitfield is reset.
    If the image has more than 64 subresources, some subresources would map
    to the same bit and cause a few unnecessary barriers.
    
    Texture upload benchmarks show 5% to 10% improvement both in CPU and
    GPU time.
    
    Bug: angleproject:3347
    Change-Id: I21dd23c78879bb01d58bc869ffc8bee06c79e6c1
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1700147Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    e9111885
mathutil.h 37 KB
EditWeb IDE
×

Replace mathutil.h

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.