Fix default precision check for formal parameters; it was one level too deep. This will accept more fragment shaders with no default precision before declaring functions.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29281 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
33a5423f76
commit
c311d35500
3 changed files with 48 additions and 46 deletions
|
|
@ -138,7 +138,7 @@ public:
|
|||
void setDefaultPrecision(TSourceLoc, TPublicType&, TPrecisionQualifier);
|
||||
int computeSamplerTypeIndex(TSampler&);
|
||||
TPrecisionQualifier getDefaultPrecision(TPublicType&);
|
||||
void precisionQualifierCheck(TSourceLoc, TPublicType&);
|
||||
void precisionQualifierCheck(TSourceLoc, TBasicType, TQualifier&);
|
||||
void parameterTypeCheck(TSourceLoc, TStorageQualifier qualifier, const TType& type);
|
||||
bool containsFieldWithBasicType(const TType& type ,TBasicType basicType);
|
||||
TSymbol* redeclareBuiltinVariable(TSourceLoc, const TString&, const TQualifier&, const TShaderQualifiers&, bool& newDeclaration);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue