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
  • Pipeline
  • SamplerCore.hpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Parse 'Sample' image instruction operand · 2a25ed8a
    Nicolas Capens authored Jun 14, 2019
    OpImageFetch/Read/Write can have an optional 'Sample' operand which
    indicates the sample index to operate on. It is orthogonal to other
    operands so it is indicated by a new Boolean field in
    sw::SamplerFunction and SpirvShader::ImageInstruction. The offset
    operand was also turned into a Boolean field / component count.
    
    The sample index is not wired up to be taken into account by the Fetch
    sampling routine yet. OpImageRead already had support for the Sample
    operand, but OpImageWrite does not.
    
    Bug: b/135265531
    Tests: dEQP-VK.pipeline.multisample.sampled_image.*
    Change-Id: I20f50a888436775b996221e8283a4c4ab7f28e17
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32908Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    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>
    2a25ed8a
SamplerCore.hpp 6.36 KB
EditWeb IDE
×

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