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
  • VkDevice.hpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Obtain all sampler parameters through SamplingRoutineCache::Key · e260190e
    Alexis Hetu authored May 07, 2021
    This change ensures that the descriptor state identifiers used to
    perform lookups in the sampling routine cache are all that is used to
    obtain the state itself which is used for specializing sampling
    routine generation.
    
    The createSamplingRoutine lambda function is made to capture only the
    'device' variable, instead of allowing access to all local variables.
    The device is required to obtain the sampler state from the sampler
    identifier.
    
    Compared to the original CL:
    https://swiftshader-review.googlesource.com/c/SwiftShader/+/53068
    This reorders the arguments to SpirvShader::getImageSampler().
    Locally, at least, this makes the msan error go away.
    
    Bug: b/152227757
    Bug: b/187467599
    Change-Id: Id8488f3718a29bb53c9eb409e404a49ce2995987
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/54108
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    e260190e
VkDevice.hpp 7.13 KB
EditWeb IDE
×

Replace VkDevice.hpp

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.