summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-15 23:17:40 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:31 +0200
commit38e7b8c80552a453580db641c20eba9e86cdf106 (patch)
tree47321b3de21abb6a2a10b1eae0629369c519ceb0 /src
parentglasm: Implement derivative instructions on GLASM (diff)
downloadyuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar.gz
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar.bz2
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar.lz
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar.xz
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.tar.zst
yuzu-38e7b8c80552a453580db641c20eba9e86cdf106.zip
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
index 266ac690c..881a5dc4c 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
@@ -136,7 +136,7 @@ void Traverse(EmitContext& ctx, IR::Program& program) {
const Id endloop_label{node.loop.merge->Definition<Id>()};
ctx.OpLoopMerge(endloop_label, continue_label, spv::LoopControlMask::MaskNone);
- ctx.OpBranch(node.loop.body->Definition<Id>());
+ ctx.OpBranch(body_label);
break;
}
case IR::AbstractSyntaxNode::Type::Break: {