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
  • VertexRoutine.cpp
Find file
BlameHistoryPermalink
  • Corentin Wallez's avatar
    Clamp _SNORM formats to -1.0 · 5c883d3c
    Corentin Wallez authored Apr 08, 2020
    Following the Vulkan 1.1 specification Section 2.9.1. "Conversion from
    Normalized Fixed-Point to Floating-Point":
    
    Note that while zero is exactly expressible in this representation, one
    value (-128 in the example) is outside the representable range, and must be
    clamped before use.
    
    https://www.khronos.org/registry/vulkan/specs/1.1/html/vkspec.html#fundamentals-fixedfpconv
    
    Bug: dawn:283
    Change-Id: Id548c6d67132ac36f33bc020954c5511de624ffc
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43648
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarCorentin Wallez <cwallez@google.com>
    5c883d3c
VertexRoutine.cpp 26.2 KB
EditWeb IDE
×

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