HLSL: Accept SV_Cull/ClipDistanceN, by refactoring the way semantics are mapped.
This commit is contained in:
parent
229a6f7f7b
commit
6e1d50a7a2
13 changed files with 754 additions and 114 deletions
|
|
@ -3401,7 +3401,7 @@ bool HlslGrammar::acceptPostDecls(TQualifier& qualifier)
|
|||
parseContext.handleRegister(registerDesc.loc, qualifier, profile.string, *registerDesc.string, subComponent, spaceDesc.string);
|
||||
} else {
|
||||
// semantic, in idToken.string
|
||||
parseContext.handleSemantic(idToken.loc, qualifier, *idToken.string);
|
||||
parseContext.handleSemantic(idToken.loc, qualifier, mapSemantic(*idToken.string));
|
||||
}
|
||||
} else if (peekTokenClass(EHTokLeftAngle)) {
|
||||
found = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue