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
|
|
@ -52,6 +52,7 @@ namespace glslang {
|
|||
bool acceptTokenClass(EHlslTokenClass);
|
||||
EHlslTokenClass peek() const;
|
||||
bool peekTokenClass(EHlslTokenClass) const;
|
||||
glslang::TBuiltInVariable mapSemantic(const TString& semantic) { return scanner.mapSemantic(semantic); }
|
||||
|
||||
protected:
|
||||
HlslToken token; // the token we are currently looking at, but have not yet accepted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue