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
  • glslang_wrapper_utils.cpp
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Only transform SPIR-V once · 774cd1b2
    Tim Van Patten authored Jun 25, 2020
    Prior to this change, the SPIR-V would be transformed as part of
    GlslangGetShaderSpirvCode() and then possibly another time afterward to
    disable the early fragment test optmization (for monolithic programs) or
    to update the descriptor set/binding values (for PPOs). By storing the
    original SPIR-V in the ProgramVk and the transformed SPIR-V in the
    ProgramExecutableVk, we can now remove the SPIR-V transformation from
    GlslangGetShaderSpirvCode() and only perform it once in
    ProgramInfo::initProgram() for monolithic programs and PPOs.
    
    Bug: angleproject:4513
    Test: CQ
    Change-Id: I4e7240b2abe7c796c46cf531948dad0e37c1419a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2267537
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    774cd1b2
glslang_wrapper_utils.cpp 77.9 KB
EditWeb IDE
×

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