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
  • ContextVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: De-couple Program from VertexArrayVk dirtyiness. · 112a3a8e
    Jamie Madill authored Jan 23, 2018
    The VertexArrayVk is responsible for filling out the packed shader
    input info in ANGLE's packed PipelineDesc info structure. This
    packed info structure is used for Pipeline init and caching lookup.
    
    The prior design had this info depend on the active inputs in the
    current Program. This was undesirable because then, on a Program
    change, the ContextVk would have to call into the VertexArrayVk
    to invalidate this info.
    
    Instead, keep a working copy of the VertexArrayVk bits and only
    update the bits corresponding to dirty vertex attributes. This
    simplifies the cached state management a little bit for ContextVk.
    
    This also means we don't have to update the cached copy in the
    VertexArray on a change in VertexArray binding.
    
    Bug: angleproject:2163
    Change-Id: I5ba74535367aed74957d17bdc61f882508562d0e
    Reviewed-on: https://chromium-review.googlesource.com/881703
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
    112a3a8e
ContextVk.cpp 26.2 KB
EditWeb IDE
×

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