GLSL: Implement correct semantic checking for run-time sized arrays.
This commit is contained in:
parent
5a867acad5
commit
6a4a427efe
5 changed files with 601 additions and 2 deletions
|
|
@ -427,6 +427,8 @@ protected:
|
|||
TVariable* makeInternalVariable(const char* name, const TType&) const;
|
||||
TVariable* declareNonArray(const TSourceLoc&, const TString& identifier, const TType&);
|
||||
void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&);
|
||||
bool isRuntimeSizable(const TIntermTyped&) const;
|
||||
bool isRuntimeLength(const TIntermTyped&) const;
|
||||
TIntermNode* executeInitializer(const TSourceLoc&, TIntermTyped* initializer, TVariable* variable);
|
||||
TIntermTyped* convertInitializerList(const TSourceLoc&, const TType&, TIntermTyped* initializer);
|
||||
void finish() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue