HLSL: Handle const with no initializer. Fixes issue #651.
This commit is contained in:
parent
53864846a9
commit
aa6d56298d
5 changed files with 50 additions and 3 deletions
|
|
@ -183,6 +183,7 @@ protected:
|
|||
int nextBinding; // next binding to use.
|
||||
};
|
||||
|
||||
void fixConstInit(const TSourceLoc&, TString& identifier, TType& type, TIntermTyped*& initializer);
|
||||
void inheritGlobalDefaults(TQualifier& dst) const;
|
||||
TVariable* makeInternalVariable(const char* name, const TType&) const;
|
||||
TVariable* declareNonArray(const TSourceLoc&, TString& identifier, TType&, bool track);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue