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
  • SetupProcessor.hpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Use pixel centers for non-multisampled rasterization · 177d85d2
    Nicolas Capens authored Jan 14, 2020
    Previously the rasterizer was just using sample location 0. The Vulkan
    1.1.130 spec states that "When VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT
    lines are being rasterized, sample locations may all be treated as being
    at the pixel center". And also "Do we need to support Bresenham-style
    and smooth lines with more than one rasterization sample? RESOLVED: Yes.
    For simplicity, Bresenham line rasterization carries forward a few
    restrictions from OpenGL, such as not supporting per-sample shading,
    alpha to coverage, or alpha to one."
    
    Bug: b/142965928
    Change-Id: I586ffbaa92d506595d6fecfa2dbd64f10bdee0c8
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40188
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    177d85d2
SetupProcessor.hpp 2.23 KB
EditWeb IDE
×

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