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
  • OpenGL
  • libGLESv2
  • IndexDataManager.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Fixed buffer offset when primitive restart is enabled · 1119ce64
    Alexis Hetu authored Apr 05, 2018
    The data pointer 'buffer->data()' was being used without the
    offset applied, which means we were using the wrong part of
    the index buffer when primitive restart is enabled. 'indices'
    should already contain the properly offset buffer pointer,
    so using it directly should work.
    
    Bug chromium:823096
    
    Change-Id: If70634f63d40d8efde9b1336370c1a63b1faa19f
    Reviewed-on: https://swiftshader-review.googlesource.com/18268Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    1119ce64
IndexDataManager.cpp 12.1 KB
EditWeb IDE
×

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