Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • 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
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • gl_tests
  • DrawElementsTest.cpp
Find file
BlameHistoryPermalink
  • Ian Elliott's avatar
    Vulkan: glDrawElements used old offset into index buffer · a5e46552
    Ian Elliott authored Apr 20, 2020
    When the vertex array binding is changed, the value of
    ContextVk::mLastIndexBufferOffset must be reset so that an
    old/cached offset (from a previous draw call) is not used for a
    new draw call.
    
    This addresses rendering artifacts and Vulkan validation errors
    seen with running NBA 2K20 on Android (or the ANGLE trace on
    Windows).
    
    Bug: b/153682968
    Bug: angleproject:4575
    Bug: angleproject:4576
    Change-Id: I69089964b8d278c7fc8610ab003548864a215dab
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152850
    Commit-Queue: Ian Elliott <ianelliott@google.com>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    a5e46552
DrawElementsTest.cpp 14.1 KB
EditWeb IDE
×

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