3
0
Fork 0
forked from suyu/suyu

glasm: Fix patch attribute declarations

This commit is contained in:
ReinUsesLisp 2021-05-20 22:08:56 -03:00 committed by ameerj
parent 36d040da70
commit 781a87175c

View file

@ -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 {