summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/basic_block.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-14 22:46:40 -0300
committerGravatar ameerj2021-07-22 21:51:22 -0400
commit1b0cf2309c760c1cb97a230a1572f8e87f84444a (patch)
tree6316825f65565b4c764b7851d061be0776a89974 /src/shader_recompiler/frontend/ir/basic_block.h
parentshader: Support SSA loops on IR (diff)
downloadyuzu-1b0cf2309c760c1cb97a230a1572f8e87f84444a.tar.gz
yuzu-1b0cf2309c760c1cb97a230a1572f8e87f84444a.tar.xz
yuzu-1b0cf2309c760c1cb97a230a1572f8e87f84444a.zip
shader: Add support for forward declarations
Diffstat (limited to 'src/shader_recompiler/frontend/ir/basic_block.h')
-rw-r--r--src/shader_recompiler/frontend/ir/basic_block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/basic_block.h b/src/shader_recompiler/frontend/ir/basic_block.h
index 3205705e7..778b32e43 100644
--- a/src/shader_recompiler/frontend/ir/basic_block.h
+++ b/src/shader_recompiler/frontend/ir/basic_block.h
@@ -42,7 +42,7 @@ public:
42 42
43 /// Prepends a new instruction to this basic block before the insertion point. 43 /// Prepends a new instruction to this basic block before the insertion point.
44 iterator PrependNewInst(iterator insertion_point, Opcode op, 44 iterator PrependNewInst(iterator insertion_point, Opcode op,
45 std::initializer_list<Value> args = {}, u64 flags = 0); 45 std::initializer_list<Value> args = {}, u32 flags = 0);
46 46
47 /// Set the branches to jump to when all instructions have executed. 47 /// Set the branches to jump to when all instructions have executed.
48 void SetBranches(Condition cond, Block* branch_true, Block* branch_false); 48 void SetBranches(Condition cond, Block* branch_true, Block* branch_false);