HLSL: Fix #1974: ignore input primitives on non-entry-point functions.
This commit is contained in:
parent
3ed344dd78
commit
b0ada80356
6 changed files with 244 additions and 80 deletions
|
|
@ -2516,6 +2516,8 @@ bool HlslGrammar::acceptMemberFunctionDefinition(TIntermNode*& nodeList, const T
|
|||
//
|
||||
bool HlslGrammar::acceptFunctionParameters(TFunction& function)
|
||||
{
|
||||
parseContext.beginParameterParsing(function);
|
||||
|
||||
// LEFT_PAREN
|
||||
if (! acceptTokenClass(EHTokLeftParen))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue