diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-20 22:08:56 -0300 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:33 -0400 |
commit | 781a87175ce4b28d0048433a78567551c5f0815d (patch) | |
tree | 3941c19e12c68764e784fc0a0e62ebf970e991f0 /src/shader_recompiler/backend/glasm/emit_context.cpp | |
parent | 36d040da7059e438fa35f1a5de5d5aed4cef5ca4 (diff) |
glasm: Fix patch attribute declarations
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_context.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_context.cpp | 2 |
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 e82c8995a1..e42f186c11 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 { |