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
  • Device
  • Blitter.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Allow 3D filtering in the Blitter · 18daa81e
    Alexis Hetu authored Mar 11, 2020
    According tot he Vulkan spec, about vkCmdBlitImage:
    "As the sizes of the source and destination extents can
     differ in any dimension, texels in the source extent
     are scaled and filtered to the destination extent."
    
    Logic was added to allow filtering in 3 dimensions in
    the Blitter. Since it requires more instructions, a
    state member was added in order to only filter in Z
    whenever we actually to do so (when the number of
    slices differ between source and destination regions).
    
    Fixes all tests mentioned in the issue.
    
    Bug: b/150155499
    Change-Id: I63da92db94d8d0394a06271cd47d4930cf5f726a
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/42208
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    18daa81e
Blitter.cpp 72.7 KB
EditWeb IDE
×

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