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
  • compiler
  • translator
  • OutputSPIRV.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: SPIR-V Gen: Code blocks · c2ad5824
    Shahbaz Youssefi authored May 31, 2021
    This change lays the foundation for implementing branches and loops.  In
    SPIR-V, every block starts with an OpLabel (which identifies the block
    and serves as the branch target to that block), and ends in a branch.
    An `if` for example implies the existence of four blocks, the header
    including code leading up to the if, the true and false blocks and the
    "merge" block, including the code following the if-else blocks.
    
    This change includes support code for generating function code split in
    blocks, even though only one block is currently used.
    
    Bug: angleproject:4889
    Change-Id: I10f96b78b6f00c20bc7f9c81e854ab5543bf8fde
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2929659Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    c2ad5824
OutputSPIRV.cpp 66.6 KB
EditWeb IDE
×

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