shader: Implement MEMBAR
This commit is contained in:
parent
ecb30c9072
commit
655f7a570a
9 changed files with 121 additions and 11 deletions
|
@ -82,6 +82,10 @@ void IREmitter::SelectionMerge(Block* merge_block) {
|
|||
Inst(Opcode::SelectionMerge, merge_block);
|
||||
}
|
||||
|
||||
void IREmitter::MemoryBarrier(BarrierInstInfo info) {
|
||||
Inst(Opcode::MemoryBarrier, Flags{info});
|
||||
}
|
||||
|
||||
void IREmitter::Return() {
|
||||
block->SetReturn();
|
||||
Inst(Opcode::Return);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue