diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-04 08:04:48 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | fc93bc2abde0b54a0a495f9b28a76fd34b47f320 (patch) | |
tree | fc0b0c022604b3e4adfc28864b8c91b58a9b3c06 /src/shader_recompiler/frontend/ir/ir_emitter.cpp | |
parent | shader: Abstract breadth searches and use the abstraction (diff) | |
download | yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar.gz yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar.bz2 yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar.lz yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar.xz yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.tar.zst yuzu-fc93bc2abde0b54a0a495f9b28a76fd34b47f320.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index dbd38a28b..246c3b9ef 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp @@ -82,6 +82,10 @@ void IREmitter::SelectionMerge(Block* merge_block) { Inst(Opcode::SelectionMerge, merge_block); } +void IREmitter::Barrier() { + Inst(Opcode::Barrier); +} + void IREmitter::MemoryBarrier(MemoryScope scope) { switch (scope) { case MemoryScope::Workgroup: |