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
  • ProgramVk.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Refactor for draw call shader patching. · 06ca634e
    Jamie Madill authored Jul 12, 2018
    This refactors a few methods to enable draw call shader patching. The
    shader serials in the Pipeline description are inserted right before
    we query the pipeline cache. This is done during a draw call. Also
    renames the 'QueueSerial' member of the ObjectAndSerial class to just
    'Serial' to more accurately reflect it usage in ShaderAndSerial.
    
    Also changes the GlslangWrapper class to have all static methods. If we
    need to store state we can revert these changes at some point.
    
    Also splits the GlslangWrapper link call into two static calls. One
    call is called to get the linked source code. The second call compiles
    the linked sources into shader code. Only the second call will be
    necessary for draw call shader patching to implement OpenGL line
    rasterization in Vulkan.
    
    Bug: angleproject:2598
    Change-Id: I7bad3c3eeab1fb062c15a840836db4a28f841a26
    Reviewed-on: https://chromium-review.googlesource.com/1127158
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    06ca634e
ProgramVk.cpp 33.6 KB
EditWeb IDE
×

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