Give error for calling a user-defined function at global scope.
This commit is contained in:
parent
894c1c109f
commit
820a22fcc8
5 changed files with 32 additions and 6 deletions
|
|
@ -323,7 +323,7 @@ protected:
|
|||
TQualifier globalInputDefaults;
|
||||
TQualifier globalOutputDefaults;
|
||||
int* atomicUintOffsets; // to become an array of the right size to hold an offset per binding point
|
||||
TString currentCaller;
|
||||
TString currentCaller; // name of last function body entered (not valid when at global scope)
|
||||
TIdSetType inductiveLoopIds;
|
||||
bool anyIndexLimits;
|
||||
TVector<TIntermTyped*> needsIndexLimitationChecking;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue