Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Vulkan
  • VkBufferView.cpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Identify image views based on their state · 77090261
    Nicolas Capens authored Mar 19, 2020
    It is typical for apps to have many image views (and buffer views) with
    the same parameters. This change avoids generating new sampling routines
    for image views with identical state.
    
    The vk::Identifier class compresses the state into a 32-bit value that
    is used as part of the key for the sampling routine cache.
    
    Bug: b/151235334
    Change-Id: I00fc19a91639803273d0f7d6b9fed9fc5b481898
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/42388
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    77090261
VkBufferView.cpp 1.14 KB
EditWeb IDE
×

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