mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 10:42:47 +01:00
glasm: Fix patch attribute declarations
This commit is contained in:
parent
36d040da70
commit
781a87175c
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue