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
  • VertexAttributeTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Convert vertex attributes in compute · 611bbaab
    Shahbaz Youssefi authored Dec 06, 2018
    In this commit, VertexArrayVk::convertVertexBuffer() is renamed to
    VertexArrayVk::convertVertexBufferCpu() to explicitly show it does a CPU
    readback.  A new VertexArrayVk::convertVertexBuffer() function is added
    that has the same functionality in gpu (with some assumptions, where the
    CPU fallback is used should those assumptions fail).  Currently, the
    only requirement is that buffer offset/stride are divided by the
    component size.
    
    ConvertVertex.comp is the shader responsible for this conversion, and it
    implements the functionality in renderer/copyvertex.inc, minus a few
    functions that are not used in the Vulkan backend.
    
    Bug: angleproject:2958, angleproject:3009
    Change-Id: I8ec9a5f4672509bcf7b9e352cd27663970ad4653
    Reviewed-on: https://chromium-review.googlesource.com/c/1364451
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
    611bbaab
VertexAttributeTest.cpp 70.3 KB
EditWeb IDE
×

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