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
  • libANGLE
  • renderer
  • vulkan
  • VertexArrayVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Clean up VAO cached resources. · da854a27
    Jamie Madill authored Nov 30, 2017
    We can actually store a pointer to the base ResourceVk instead of
    BufferVk for updating serials. This will work a little nicer with
    streaming vertex data, which won't have a BufferVk but will have an
    accessible ResourceVk pointer.
    
    Also add an element array resource pointer for serial update. This was
    missing and could lead to incorrect behaviour. Also change the types
    of the caches from std::vector to gl::AttribArray, which is a
    std::array.
    
    Bug: angleproject:2264
    Change-Id: Ibd79b7676b5dbc3875ae9d110be477d228e01c5c
    Reviewed-on: https://chromium-review.googlesource.com/798170
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    da854a27
VertexArrayVk.cpp 5.97 KB
EditWeb IDE
×

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