Fix cut and paste error

Fixes #2476
This commit is contained in:
Greg Fischer 2020-12-17 15:35:41 -07:00
parent 6d5916d4a9
commit efe4586fad

View File

@ -9869,7 +9869,7 @@ void HlslParseContext::addPatchConstantInvocation()
} else {
// Use the original declaration type for the linkage
paramType->getQualifier().builtIn = biType;
if (biType == EbvTessLevelInner || biType == EbvTessLevelInner)
if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
paramType->getQualifier().patch = true;
if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)