Merge pull request #2490 from greg-lunarg/i2476

Fix tess factor cut and paste error
This commit is contained in:
greg-lunarg 2020-12-18 10:19:52 -07:00 committed by GitHub
commit f426f65229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)