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
  • SamplerVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Add a sampler cache. · 6fc0066a
    Jamie Madill authored Apr 21, 2020
    This uses a packed sampler description to re-use samplers for multliple
    VkImages. The samplers will persist for the lifetime of RendererVk. In
    the future we could look at doing cache eviction for large object
    counts.
    
    Reduces the active VkSampler cache in Manhattan from over 1200 to 9.
    Also should reduce the number of VkSamplers used with Chrome.
    
    Bug: angleproject:4491
    Change-Id: Idca00e4ed8cb660a0865281544aaa57cf884bbdb
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2160771Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    6fc0066a
SamplerVk.cpp 1.21 KB
EditWeb IDE
×

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