mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-01 20:25:23 +01:00
Add OpSelectionMerge
This commit is contained in:
parent
136dcf88a7
commit
48ddaf4913
2 changed files with 10 additions and 0 deletions
|
|
@ -158,6 +158,9 @@ public:
|
|||
Ref LoopMerge(Ref merge_block, Ref continue_target, spv::LoopControlMask loop_control,
|
||||
const std::vector<Ref>& literals = {});
|
||||
|
||||
/// Declare a structured selection.
|
||||
Ref SelectionMerge(Ref merge_block, spv::SelectionControlMask selection_control);
|
||||
|
||||
/// The block label instruction: Any reference to a block is through this ref.
|
||||
Ref Label();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue