diff options
| author | 2021-05-20 22:08:56 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:33 -0400 | |
| commit | 781a87175ce4b28d0048433a78567551c5f0815d (patch) | |
| tree | 3941c19e12c68764e784fc0a0e62ebf970e991f0 /src/shader_recompiler/backend/glasm/emit_context.cpp | |
| parent | glasm: Implement FSWZADD (diff) | |
| download | yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.gz yuzu-781a87175ce4b28d0048433a78567551c5f0815d.tar.xz yuzu-781a87175ce4b28d0048433a78567551c5f0815d.zip | |
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 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 | |||
| 93 | if (!info.uses_patches[index]) { | 93 | if (!info.uses_patches[index]) { |
| 94 | continue; | 94 | continue; |
| 95 | } | 95 | } |
| 96 | if (stage == Stage::TessellationEval) { | 96 | if (stage == Stage::TessellationControl) { |
| 97 | Add("OUTPUT result_patch_attrib{}[]={{result.patch.attrib[{}..{}]}};", index, index, | 97 | Add("OUTPUT result_patch_attrib{}[]={{result.patch.attrib[{}..{}]}};", index, index, |
| 98 | index); | 98 | index); |
| 99 | } else { | 99 | } else { |