HLSL: Fix #747: accept 'struct' in front of previously user-defined type name.
This commit is contained in:
parent
0479437a5c
commit
854fe24786
8 changed files with 143 additions and 21 deletions
|
|
@ -133,6 +133,7 @@ public:
|
|||
const TFunction* findFunction(const TSourceLoc& loc, TFunction& call, bool& builtIn, TIntermTyped*& args);
|
||||
void declareTypedef(const TSourceLoc&, TString& identifier, const TType&);
|
||||
void declareStruct(const TSourceLoc&, TString& structName, TType&);
|
||||
TSymbol* lookupUserType(const TString&, TType&);
|
||||
TIntermNode* declareVariable(const TSourceLoc&, TString& identifier, TType&, TIntermTyped* initializer = 0);
|
||||
void lengthenList(const TSourceLoc&, TIntermSequence& list, int size);
|
||||
TIntermTyped* addConstructor(const TSourceLoc&, TIntermNode*, const TType&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue