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
  • VertexProgram.hpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Process independent vertex elements · 4a105591
    Nicolas Capens authored Jan 02, 2018
    Previously, vertices would be processed in consecutive groups of four
    (for SSE/NEON). Now four indices are read from the index buffer.
    Reading the input was already a gather operation, but with constant
    stride. The vertex cache now performs a scatter. The vertices are
    written in reverse order so that the first vertex in a group is always
    present in the cache.
    
    Also use 2^32-1 as invalid vertex cache index (corresponds with the
    primitive restart index) instead of 0x80000000, since
    maxDrawIndexedIndexValue is UINT32_MAX.
    
    Bug: b/27351835
    Test: dEQP-VK.glsl.loops.special.do_while_dynamic_iterations.dowhile_trap_vertex
    Change-Id: Ic69dbf53c67cbda50e44913ccae91aaca2b86e21
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32609
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    4a105591
VertexProgram.hpp 1.17 KB
EditWeb IDE
×

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