summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-21 03:08:56 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit781a87175ce4b28d0048433a78567551c5f0815d (patch)
tree3941c19e12c68764e784fc0a0e62ebf970e991f0 /src/shader_recompiler/backend
parentglasm: Implement FSWZADD (diff)
downloadyuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.gz
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.bz2
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.lz
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.xz
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.zst
yuzu-781a87175ce4b28d0048433a78567551c5f0815d.zip
Diffstat (limited to 'src/shader_recompiler/backend')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_context.cpp b/src/shader_recompiler/backend/glasm/emit_context.cpp
index e82c8995a..e42f186c1 100644
--- a/src/shader_recompiler/backend/glasm/emit_context.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_context.cpp
@@ -93,7 +93,7 @@ EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile
if (!info.uses_patches[index]) {
continue;
}
- if (stage == Stage::TessellationEval) {
+ if (stage == Stage::TessellationControl) {
Add("OUTPUT result_patch_attrib{}[]={{result.patch.attrib[{}..{}]}};", index, index,
index);
} else {