summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
index 5e94edd74..dbfc670b0 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
@@ -86,10 +86,13 @@ void IREmitter::MemoryBarrier(MemoryScope scope) {
switch (scope) {
case MemoryScope::Workgroup:
Inst(Opcode::MemoryBarrierWorkgroupLevel);
+ break;
case MemoryScope::Device:
Inst(Opcode::MemoryBarrierDeviceLevel);
+ break;
case MemoryScope::System:
Inst(Opcode::MemoryBarrierSystemLevel);
+ break;
default:
throw InvalidArgument("Invalid memory scope {}", scope);
}