Fix missing patch decoration for TessFactor PCF arg (#2249)
Fixes #1553
This commit is contained in:
parent
41f62a81ab
commit
e00d27c6d6
4 changed files with 730 additions and 0 deletions
|
|
@ -9791,6 +9791,8 @@ void HlslParseContext::addPatchConstantInvocation()
|
|||
} else {
|
||||
// Use the original declaration type for the linkage
|
||||
paramType->getQualifier().builtIn = biType;
|
||||
if (biType == EbvTessLevelInner || biType == EbvTessLevelInner)
|
||||
paramType->getQualifier().patch = true;
|
||||
|
||||
if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
|
||||
addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue