RetroArch
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
glslang::TParseContext Class Reference

#include <ParseHelper.h>

Inheritance diagram for glslang::TParseContext:
[legend]
Collaboration diagram for glslang::TParseContext:
[legend]

Public Member Functions

 TParseContext (TSymbolTable &, TIntermediate &, bool parsingBuiltins, int version, EProfile, const SpvVersion &spvVersion, EShLanguage, TInfoSink &, bool forwardCompatible=false, EShMessages messages=EShMsgDefault, const TString *entryPoint=nullptr)
 
virtual ~TParseContext ()
 
bool obeyPrecisionQualifiers () const
 
void setPrecisionDefaults ()
 
void setLimits (const TBuiltInResource &) override
 
bool parseShaderStrings (TPpContext &, TInputScanner &input, bool versionWillBeError=false) override
 
void parserError (const char *s)
 
void reservedErrorCheck (const TSourceLoc &, const TString &)
 
void reservedPpErrorCheck (const TSourceLoc &, const char *name, const char *op) override
 
bool lineContinuationCheck (const TSourceLoc &, bool endOfComment) override
 
bool lineDirectiveShouldSetNextLine () const override
 
bool builtInName (const TString &)
 
void handlePragma (const TSourceLoc &, const TVector< TString > &) override
 
TIntermTypedhandleVariable (const TSourceLoc &, TSymbol *symbol, const TString *string)
 
TIntermTypedhandleBracketDereference (const TSourceLoc &, TIntermTyped *base, TIntermTyped *index)
 
void handleIndexLimits (const TSourceLoc &, TIntermTyped *base, TIntermTyped *index)
 
void makeEditable (TSymbol *&) override
 
bool isIoResizeArray (const TType &) const
 
void fixIoArraySize (const TSourceLoc &, TType &)
 
void ioArrayCheck (const TSourceLoc &, const TType &, const TString &identifier)
 
void handleIoResizeArrayAccess (const TSourceLoc &, TIntermTyped *base)
 
void checkIoArraysConsistency (const TSourceLoc &, bool tailOnly=false)
 
int getIoArrayImplicitSize () const
 
void checkIoArrayConsistency (const TSourceLoc &, int requiredSize, const char *feature, TType &, const TString &)
 
TIntermTypedhandleBinaryMath (const TSourceLoc &, const char *str, TOperator op, TIntermTyped *left, TIntermTyped *right)
 
TIntermTypedhandleUnaryMath (const TSourceLoc &, const char *str, TOperator op, TIntermTyped *childNode)
 
TIntermTypedhandleDotDereference (const TSourceLoc &, TIntermTyped *base, const TString &field)
 
void blockMemberExtensionCheck (const TSourceLoc &, const TIntermTyped *base, const TString &field)
 
TFunctionhandleFunctionDeclarator (const TSourceLoc &, TFunction &function, bool prototype)
 
TIntermAggregatehandleFunctionDefinition (const TSourceLoc &, TFunction &)
 
TIntermTypedhandleFunctionCall (const TSourceLoc &, TFunction *, TIntermNode *)
 
TIntermTypedhandleBuiltInFunctionCall (TSourceLoc, TIntermNode *arguments, const TFunction &function)
 
void computeBuiltinPrecisions (TIntermTyped &, const TFunction &)
 
TIntermNodehandleReturnValue (const TSourceLoc &, TIntermTyped *)
 
void checkLocation (const TSourceLoc &, TOperator)
 
TIntermTypedhandleLengthMethod (const TSourceLoc &, TFunction *, TIntermNode *)
 
void addInputArgumentConversions (const TFunction &, TIntermNode *&) const
 
TIntermTypedaddOutputArgumentConversions (const TFunction &, TIntermAggregate &) const
 
void builtInOpCheck (const TSourceLoc &, const TFunction &, TIntermOperator &)
 
void nonOpBuiltInCheck (const TSourceLoc &, const TFunction &, TIntermAggregate &)
 
void userFunctionCallCheck (const TSourceLoc &, TIntermAggregate &)
 
void samplerConstructorLocationCheck (const TSourceLoc &, const char *token, TIntermNode *)
 
TFunctionhandleConstructorCall (const TSourceLoc &, const TPublicType &)
 
void handlePrecisionQualifier (const TSourceLoc &, TQualifier &, TPrecisionQualifier)
 
void checkPrecisionQualifier (const TSourceLoc &, TPrecisionQualifier)
 
void assignError (const TSourceLoc &, const char *op, TString left, TString right)
 
void unaryOpError (const TSourceLoc &, const char *op, TString operand)
 
void binaryOpError (const TSourceLoc &, const char *op, TString left, TString right)
 
void variableCheck (TIntermTyped *&nodePtr)
 
bool lValueErrorCheck (const TSourceLoc &, const char *op, TIntermTyped *) override
 
void rValueErrorCheck (const TSourceLoc &, const char *op, TIntermTyped *) override
 
void constantValueCheck (TIntermTyped *node, const char *token)
 
void integerCheck (const TIntermTyped *node, const char *token)
 
void globalCheck (const TSourceLoc &, const char *token)
 
bool constructorError (const TSourceLoc &, TIntermNode *, TFunction &, TOperator, TType &)
 
bool constructorTextureSamplerError (const TSourceLoc &, const TFunction &)
 
void arraySizeCheck (const TSourceLoc &, TIntermTyped *expr, TArraySize &)
 
bool arrayQualifierError (const TSourceLoc &, const TQualifier &)
 
bool arrayError (const TSourceLoc &, const TType &)
 
void arraySizeRequiredCheck (const TSourceLoc &, const TArraySizes &)
 
void structArrayCheck (const TSourceLoc &, const TType &structure)
 
void arraySizesCheck (const TSourceLoc &, const TQualifier &, TArraySizes *, const TIntermTyped *initializer, bool lastMember)
 
void arrayOfArrayVersionCheck (const TSourceLoc &, const TArraySizes *)
 
bool voidErrorCheck (const TSourceLoc &, const TString &, TBasicType)
 
void boolCheck (const TSourceLoc &, const TIntermTyped *)
 
void boolCheck (const TSourceLoc &, const TPublicType &)
 
void samplerCheck (const TSourceLoc &, const TType &, const TString &identifier, TIntermTyped *initializer)
 
void atomicUintCheck (const TSourceLoc &, const TType &, const TString &identifier)
 
void transparentOpaqueCheck (const TSourceLoc &, const TType &, const TString &identifier)
 
void memberQualifierCheck (glslang::TPublicType &)
 
void globalQualifierFixCheck (const TSourceLoc &, TQualifier &)
 
void globalQualifierTypeCheck (const TSourceLoc &, const TQualifier &, const TPublicType &)
 
bool structQualifierErrorCheck (const TSourceLoc &, const TPublicType &pType)
 
void mergeQualifiers (const TSourceLoc &, TQualifier &dst, const TQualifier &src, bool force)
 
void setDefaultPrecision (const TSourceLoc &, TPublicType &, TPrecisionQualifier)
 
int computeSamplerTypeIndex (TSampler &)
 
TPrecisionQualifier getDefaultPrecision (TPublicType &)
 
void precisionQualifierCheck (const TSourceLoc &, TBasicType, TQualifier &)
 
void parameterTypeCheck (const TSourceLoc &, TStorageQualifier qualifier, const TType &type)
 
bool containsFieldWithBasicType (const TType &type, TBasicType basicType)
 
TSymbolredeclareBuiltinVariable (const TSourceLoc &, const TString &, const TQualifier &, const TShaderQualifiers &)
 
void redeclareBuiltinBlock (const TSourceLoc &, TTypeList &typeList, const TString &blockName, const TString *instanceName, TArraySizes *arraySizes)
 
void paramCheckFixStorage (const TSourceLoc &, const TStorageQualifier &, TType &type)
 
void paramCheckFix (const TSourceLoc &, const TQualifier &, TType &type)
 
void nestedBlockCheck (const TSourceLoc &)
 
void nestedStructCheck (const TSourceLoc &)
 
void arrayObjectCheck (const TSourceLoc &, const TType &, const char *op)
 
void opaqueCheck (const TSourceLoc &, const TType &, const char *op)
 
void specializationCheck (const TSourceLoc &, const TType &, const char *op)
 
void structTypeCheck (const TSourceLoc &, TPublicType &)
 
void inductiveLoopCheck (const TSourceLoc &, TIntermNode *init, TIntermLoop *loop)
 
void arrayLimitCheck (const TSourceLoc &, const TString &, int size)
 
void limitCheck (const TSourceLoc &, int value, const char *limit, const char *feature)
 
void inductiveLoopBodyCheck (TIntermNode *, int loopIndexId, TSymbolTable &)
 
void constantIndexExpressionCheck (TIntermNode *)
 
void setLayoutQualifier (const TSourceLoc &, TPublicType &, TString &)
 
void setLayoutQualifier (const TSourceLoc &, TPublicType &, TString &, const TIntermTyped *)
 
void mergeObjectLayoutQualifiers (TQualifier &dest, const TQualifier &src, bool inheritOnly)
 
void layoutObjectCheck (const TSourceLoc &, const TSymbol &)
 
void layoutMemberLocationArrayCheck (const TSourceLoc &, bool memberWithLocation, TArraySizes *arraySizes)
 
void layoutTypeCheck (const TSourceLoc &, const TType &)
 
void layoutQualifierCheck (const TSourceLoc &, const TQualifier &)
 
void checkNoShaderLayouts (const TSourceLoc &, const TShaderQualifiers &)
 
void fixOffset (const TSourceLoc &, TSymbol &)
 
const TFunctionfindFunction (const TSourceLoc &loc, const TFunction &call, bool &builtIn)
 
const TFunctionfindFunctionExact (const TSourceLoc &loc, const TFunction &call, bool &builtIn)
 
const TFunctionfindFunction120 (const TSourceLoc &loc, const TFunction &call, bool &builtIn)
 
const TFunctionfindFunction400 (const TSourceLoc &loc, const TFunction &call, bool &builtIn)
 
const TFunctionfindFunctionExplicitTypes (const TSourceLoc &loc, const TFunction &call, bool &builtIn)
 
void declareTypeDefaults (const TSourceLoc &, const TPublicType &)
 
TIntermNodedeclareVariable (const TSourceLoc &, TString &identifier, const TPublicType &, TArraySizes *typeArray=0, TIntermTyped *initializer=0)
 
TIntermTypedaddConstructor (const TSourceLoc &, TIntermNode *, const TType &)
 
TIntermTypedconstructAggregate (TIntermNode *, const TType &, int, const TSourceLoc &)
 
TIntermTypedconstructBuiltIn (const TType &, TOperator, TIntermTyped *, const TSourceLoc &, bool subset)
 
void declareBlock (const TSourceLoc &, TTypeList &typeList, const TString *instanceName=0, TArraySizes *arraySizes=0)
 
void blockStageIoCheck (const TSourceLoc &, const TQualifier &)
 
void blockQualifierCheck (const TSourceLoc &, const TQualifier &, bool instanceName)
 
void fixBlockLocations (const TSourceLoc &, TQualifier &, TTypeList &, bool memberWithLocation, bool memberWithoutLocation)
 
void fixBlockXfbOffsets (TQualifier &, TTypeList &)
 
void fixBlockUniformOffsets (TQualifier &, TTypeList &)
 
void addQualifierToExisting (const TSourceLoc &, TQualifier, const TString &identifier)
 
void addQualifierToExisting (const TSourceLoc &, TQualifier, TIdentifierList &)
 
void invariantCheck (const TSourceLoc &, const TQualifier &)
 
void updateStandaloneQualifierDefaults (const TSourceLoc &, const TPublicType &)
 
void wrapupSwitchSubsequence (TIntermAggregate *statements, TIntermNode *branchNode)
 
TIntermNodeaddSwitch (const TSourceLoc &, TIntermTyped *expression, TIntermAggregate *body)
 
TAttributeType attributeFromName (const TString &name) const
 
TAttributesmakeAttributes (const TString &identifier) const
 
TAttributesmakeAttributes (const TString &identifier, TIntermNode *node) const
 
TAttributesmergeAttributes (TAttributes *, TAttributes *) const
 
void handleSelectionAttributes (const TAttributes &attributes, TIntermNode *)
 
void handleSwitchAttributes (const TAttributes &attributes, TIntermNode *)
 
void handleLoopAttributes (const TAttributes &attributes, TIntermNode *)
 
- Public Member Functions inherited from glslang::TParseContextBase
 TParseContextBase (TSymbolTable &symbolTable, TIntermediate &interm, bool parsingBuiltins, int version, EProfile profile, const SpvVersion &spvVersion, EShLanguage language, TInfoSink &infoSink, bool forwardCompatible, EShMessages messages, const TString *entryPoint=nullptr)
 
virtual ~TParseContextBase ()
 
virtual void C_DECL error (const TSourceLoc &, const char *szReason, const char *szToken, const char *szExtraInfoFormat,...)
 
virtual void C_DECL warn (const TSourceLoc &, const char *szReason, const char *szToken, const char *szExtraInfoFormat,...)
 
virtual void C_DECL ppError (const TSourceLoc &, const char *szReason, const char *szToken, const char *szExtraInfoFormat,...)
 
virtual void C_DECL ppWarn (const TSourceLoc &, const char *szReason, const char *szToken, const char *szExtraInfoFormat,...)
 
void checkIndex (const TSourceLoc &, const TType &, int &index)
 
EShLanguage getLanguage () const
 
void setScanContext (TScanContext *c)
 
TScanContextgetScanContext () const
 
void setPpContext (TPpContext *c)
 
TPpContextgetPpContext () const
 
virtual void setLineCallback (const std::function< void(int, int, bool, int, const char *)> &func)
 
virtual void setExtensionCallback (const std::function< void(int, const char *, const char *)> &func)
 
virtual void setVersionCallback (const std::function< void(int, int, const char *)> &func)
 
virtual void setPragmaCallback (const std::function< void(int, const TVector< TString > &)> &func)
 
virtual void setErrorCallback (const std::function< void(int, const char *)> &func)
 
virtual void notifyVersion (int line, int version, const char *type_string)
 
virtual void notifyErrorDirective (int line, const char *error_message)
 
virtual void notifyLineDirective (int curLineNo, int newLineNo, bool hasSource, int sourceNum, const char *sourceName)
 
virtual void notifyExtensionDirective (int line, const char *extension, const char *behavior)
 
virtual void growGlobalUniformBlock (const TSourceLoc &, TType &, const TString &memberName, TTypeList *typeList=nullptr)
 
void renameShaderFunction (TString *&name) const
 
- Public Member Functions inherited from glslang::TParseVersions
 TParseVersions (TIntermediate &interm, int version, EProfile profile, const SpvVersion &spvVersion, EShLanguage language, TInfoSink &infoSink, bool forwardCompatible, EShMessages messages)
 
virtual ~TParseVersions ()
 
virtual void initializeExtensionBehavior ()
 
virtual void requireProfile (const TSourceLoc &, int queryProfiles, const char *featureDesc)
 
virtual void profileRequires (const TSourceLoc &, int queryProfiles, int minVersion, int numExtensions, const char *const extensions[], const char *featureDesc)
 
virtual void profileRequires (const TSourceLoc &, int queryProfiles, int minVersion, const char *const extension, const char *featureDesc)
 
virtual void requireStage (const TSourceLoc &, EShLanguageMask, const char *featureDesc)
 
virtual void requireStage (const TSourceLoc &, EShLanguage, const char *featureDesc)
 
virtual void checkDeprecated (const TSourceLoc &, int queryProfiles, int depVersion, const char *featureDesc)
 
virtual void requireNotRemoved (const TSourceLoc &, int queryProfiles, int removedVersion, const char *featureDesc)
 
virtual void unimplemented (const TSourceLoc &, const char *featureDesc)
 
virtual void requireExtensions (const TSourceLoc &, int numExtensions, const char *const extensions[], const char *featureDesc)
 
virtual void ppRequireExtensions (const TSourceLoc &, int numExtensions, const char *const extensions[], const char *featureDesc)
 
virtual TExtensionBehavior getExtensionBehavior (const char *)
 
virtual bool extensionTurnedOn (const char *const extension)
 
virtual bool extensionsTurnedOn (int numExtensions, const char *const extensions[])
 
virtual void updateExtensionBehavior (int line, const char *const extension, const char *behavior)
 
virtual void fullIntegerCheck (const TSourceLoc &, const char *op)
 
virtual void doubleCheck (const TSourceLoc &, const char *op)
 
virtual void float16Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void int64Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void explicitInt8Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void explicitInt16Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void explicitInt32Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void explicitFloat32Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void explicitFloat64Check (const TSourceLoc &, const char *op, bool builtIn=false)
 
virtual void spvRemoved (const TSourceLoc &, const char *op)
 
virtual void vulkanRemoved (const TSourceLoc &, const char *op)
 
virtual void requireVulkan (const TSourceLoc &, const char *op)
 
virtual void requireSpv (const TSourceLoc &, const char *op)
 
virtual bool checkExtensionsRequested (const TSourceLoc &, int numExtensions, const char *const extensions[], const char *featureDesc)
 
virtual void updateExtensionBehavior (const char *const extension, TExtensionBehavior)
 
void addError ()
 
int getNumErrors () const
 
void setScanner (TInputScanner *scanner)
 
TInputScannergetScanner () const
 
const TSourceLocgetCurrentLoc () const
 
void setCurrentLine (int line)
 
void setCurrentColumn (int col)
 
void setCurrentSourceName (const char *name)
 
void setCurrentString (int string)
 
void getPreamble (std::string &)
 
bool relaxedErrors () const
 
bool suppressWarnings () const
 
bool isReadingHLSL () const
 
bool hlslEnable16BitTypes () const
 

Public Attributes

bool inMain
 
const TStringblockName
 
TQualifier currentBlockQualifier
 
TPrecisionQualifier defaultPrecision [EbtNumTypes]
 
TBuiltInResource resources
 
TLimitslimits
 
- Public Attributes inherited from glslang::TParseContextBase
const char *const scopeMangler
 
TSymbolTablesymbolTable
 
int statementNestingLevel
 
int loopNestingLevel
 
int structNestingLevel
 
int controlFlowNestingLevel
 
const TTypecurrentFunctionType
 
bool functionReturnsValue
 
bool postEntryPointReturn
 
TList< TIntermSequence * > switchSequenceStack
 
TList< int > switchLevel
 
struct TPragma contextPragma
 
- Public Attributes inherited from glslang::TParseVersions
TInfoSinkinfoSink
 
int version
 
EProfile profile
 
EShLanguage language
 
SpvVersion spvVersion
 
bool forwardCompatible
 
TIntermediateintermediate
 

Protected Member Functions

void nonInitConstCheck (const TSourceLoc &, TString &identifier, TType &type)
 
void inheritGlobalDefaults (TQualifier &dst) const
 
TVariablemakeInternalVariable (const char *name, const TType &) const
 
TVariabledeclareNonArray (const TSourceLoc &, const TString &identifier, const TType &)
 
void declareArray (const TSourceLoc &, const TString &identifier, const TType &, TSymbol *&)
 
void checkRuntimeSizable (const TSourceLoc &, const TIntermTyped &)
 
bool isRuntimeLength (const TIntermTyped &) const
 
TIntermNodeexecuteInitializer (const TSourceLoc &, TIntermTyped *initializer, TVariable *variable)
 
TIntermTypedconvertInitializerList (const TSourceLoc &, const TType &, TIntermTyped *initializer)
 
void finish () override
 
 TParseContext (TParseContext &)
 
TParseContextoperator= (TParseContext &)
 
- Protected Member Functions inherited from glslang::TParseContextBase
 TParseContextBase (TParseContextBase &)
 
TParseContextBaseoperator= (TParseContextBase &)
 
const TFunctionselectFunction (const TVector< const TFunction *>, const TFunction &, std::function< bool(const TType &, const TType &, TOperator, int arg)>, std::function< bool(const TType &, const TType &, const TType &)>, bool &tie)
 
virtual void parseSwizzleSelector (const TSourceLoc &, const TString &, int size, TSwizzleSelectors< TVectorSelector > &)
 
virtual const char * getGlobalUniformBlockName () const
 
virtual void setUniformBlockDefaults (TType &) const
 
virtual void finalizeGlobalUniformBlockLayout (TVariable &)
 
virtual void outputMessage (const TSourceLoc &, const char *szReason, const char *szToken, const char *szExtraInfoFormat, TPrefixType prefix, va_list args)
 
virtual void trackLinkage (TSymbol &symbol)
 
virtual TVariablegetEditableVariable (const char *name)
 

Protected Attributes

TPrecisionQualifier defaultSamplerPrecision [maxSamplerIndex]
 
TPrecisionManager precisionManager
 
TQualifier globalBufferDefaults
 
TQualifier globalUniformDefaults
 
TQualifier globalInputDefaults
 
TQualifier globalOutputDefaults
 
int * atomicUintOffsets
 
TString currentCaller
 
TIdSetType inductiveLoopIds
 
bool anyIndexLimits
 
TVector< TIntermTyped * > needsIndexLimitationChecking
 
TVector< TSymbol * > ioArraySymbolResizeList
 
- Protected Attributes inherited from glslang::TParseContextBase
const bool parsingBuiltins
 
TVector< TSymbol * > linkageSymbols
 
TScanContextscanContext
 
TPpContextppContext
 
TBuiltInResource resources
 
TLimitslimits
 
TString sourceEntryPointName
 
std::function< void(int, int, bool, int, const char *)> lineCallback
 
std::function< void(int, const TVector< TString > &)> pragmaCallback
 
std::function< void(int, int, const char *)> versionCallback
 
std::function< void(int, const char *, const char *)> extensionCallback
 
std::function< void(int, const char *)> errorCallback
 
TVariableglobalUniformBlock
 
unsigned int globalUniformBinding
 
unsigned int globalUniformSet
 
int firstNewMember
 
- Protected Attributes inherited from glslang::TParseVersions
TMap< TString, TExtensionBehaviorextensionBehavior
 
EShMessages messages
 
int numErrors
 
TInputScannercurrentScanner
 

Static Protected Attributes

static const int maxSamplerIndex = EsdNumDims * (EbtNumTypes * (2 * 2 * 2 * 2 * 2))
 

Constructor & Destructor Documentation

◆ TParseContext() [1/2]

glslang::TParseContext::TParseContext ( TSymbolTable symbolTable,
TIntermediate interm,
bool  parsingBuiltins,
int  version,
EProfile  profile,
const SpvVersion spvVersion,
EShLanguage  language,
TInfoSink infoSink,
bool  forwardCompatible = false,
EShMessages  messages = EShMsgDefault,
const TString entryPoint = nullptr 
)
Here is the call graph for this function:

◆ ~TParseContext()

glslang::TParseContext::~TParseContext ( )
virtual

◆ TParseContext() [2/2]

glslang::TParseContext::TParseContext ( TParseContext )
protected

Member Function Documentation

◆ addConstructor()

TIntermTyped * glslang::TParseContext::addConstructor ( const TSourceLoc loc,
TIntermNode node,
const TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addInputArgumentConversions()

void glslang::TParseContext::addInputArgumentConversions ( const TFunction function,
TIntermNode *&  arguments 
) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addOutputArgumentConversions()

TIntermTyped * glslang::TParseContext::addOutputArgumentConversions ( const TFunction function,
TIntermAggregate intermNode 
) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addQualifierToExisting() [1/2]

void glslang::TParseContext::addQualifierToExisting ( const TSourceLoc loc,
TQualifier  qualifier,
const TString identifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addQualifierToExisting() [2/2]

void glslang::TParseContext::addQualifierToExisting ( const TSourceLoc loc,
TQualifier  qualifier,
TIdentifierList identifiers 
)
Here is the call graph for this function:

◆ addSwitch()

TIntermNode * glslang::TParseContext::addSwitch ( const TSourceLoc loc,
TIntermTyped expression,
TIntermAggregate body 
)
Here is the call graph for this function:

◆ arrayError()

bool glslang::TParseContext::arrayError ( const TSourceLoc loc,
const TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arrayLimitCheck()

void glslang::TParseContext::arrayLimitCheck ( const TSourceLoc loc,
const TString identifier,
int  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arrayObjectCheck()

void glslang::TParseContext::arrayObjectCheck ( const TSourceLoc loc,
const TType type,
const char *  op 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arrayOfArrayVersionCheck()

void glslang::TParseContext::arrayOfArrayVersionCheck ( const TSourceLoc loc,
const TArraySizes sizes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arrayQualifierError()

bool glslang::TParseContext::arrayQualifierError ( const TSourceLoc loc,
const TQualifier qualifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arraySizeCheck()

void glslang::TParseContext::arraySizeCheck ( const TSourceLoc loc,
TIntermTyped expr,
TArraySize sizePair 
)
Here is the call graph for this function:

◆ arraySizeRequiredCheck()

void glslang::TParseContext::arraySizeRequiredCheck ( const TSourceLoc loc,
const TArraySizes arraySizes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ arraySizesCheck()

void glslang::TParseContext::arraySizesCheck ( const TSourceLoc loc,
const TQualifier qualifier,
TArraySizes arraySizes,
const TIntermTyped initializer,
bool  lastMember 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ assignError()

void glslang::TParseContext::assignError ( const TSourceLoc loc,
const char *  op,
TString  left,
TString  right 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atomicUintCheck()

void glslang::TParseContext::atomicUintCheck ( const TSourceLoc loc,
const TType type,
const TString identifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ attributeFromName()

TAttributeType glslang::TParseContext::attributeFromName ( const TString name) const
Here is the caller graph for this function:

◆ binaryOpError()

void glslang::TParseContext::binaryOpError ( const TSourceLoc loc,
const char *  op,
TString  left,
TString  right 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ blockMemberExtensionCheck()

void glslang::TParseContext::blockMemberExtensionCheck ( const TSourceLoc loc,
const TIntermTyped base,
const TString field 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ blockQualifierCheck()

void glslang::TParseContext::blockQualifierCheck ( const TSourceLoc loc,
const TQualifier qualifier,
bool  instanceName 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ blockStageIoCheck()

void glslang::TParseContext::blockStageIoCheck ( const TSourceLoc loc,
const TQualifier qualifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ boolCheck() [1/2]

void glslang::TParseContext::boolCheck ( const TSourceLoc loc,
const TIntermTyped type 
)
Here is the call graph for this function:

◆ boolCheck() [2/2]

void glslang::TParseContext::boolCheck ( const TSourceLoc loc,
const TPublicType pType 
)
Here is the call graph for this function:

◆ builtInName()

bool glslang::TParseContext::builtInName ( const TString identifier)
Here is the caller graph for this function:

◆ builtInOpCheck()

void glslang::TParseContext::builtInOpCheck ( const TSourceLoc loc,
const TFunction fnCandidate,
TIntermOperator callNode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkIoArrayConsistency()

void glslang::TParseContext::checkIoArrayConsistency ( const TSourceLoc loc,
int  requiredSize,
const char *  feature,
TType type,
const TString name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkIoArraysConsistency()

void glslang::TParseContext::checkIoArraysConsistency ( const TSourceLoc loc,
bool  tailOnly = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkLocation()

void glslang::TParseContext::checkLocation ( const TSourceLoc loc,
TOperator  op 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkNoShaderLayouts()

void glslang::TParseContext::checkNoShaderLayouts ( const TSourceLoc loc,
const TShaderQualifiers shaderQualifiers 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkPrecisionQualifier()

void glslang::TParseContext::checkPrecisionQualifier ( const TSourceLoc loc,
TPrecisionQualifier   
)
Here is the call graph for this function:

◆ checkRuntimeSizable()

void glslang::TParseContext::checkRuntimeSizable ( const TSourceLoc loc,
const TIntermTyped base 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeBuiltinPrecisions()

void glslang::TParseContext::computeBuiltinPrecisions ( TIntermTyped node,
const TFunction function 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeSamplerTypeIndex()

int glslang::TParseContext::computeSamplerTypeIndex ( TSampler sampler)
Here is the caller graph for this function:

◆ constantIndexExpressionCheck()

void glslang::TParseContext::constantIndexExpressionCheck ( TIntermNode index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ constantValueCheck()

void glslang::TParseContext::constantValueCheck ( TIntermTyped node,
const char *  token 
)
Here is the call graph for this function:

◆ constructAggregate()

TIntermTyped * glslang::TParseContext::constructAggregate ( TIntermNode node,
const TType type,
int  paramCount,
const TSourceLoc loc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ constructBuiltIn()

TIntermTyped * glslang::TParseContext::constructBuiltIn ( const TType type,
TOperator  op,
TIntermTyped node,
const TSourceLoc loc,
bool  subset 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ constructorError()

bool glslang::TParseContext::constructorError ( const TSourceLoc loc,
TIntermNode node,
TFunction function,
TOperator  op,
TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ constructorTextureSamplerError()

bool glslang::TParseContext::constructorTextureSamplerError ( const TSourceLoc loc,
const TFunction function 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ containsFieldWithBasicType()

bool glslang::TParseContext::containsFieldWithBasicType ( const TType type,
TBasicType  basicType 
)
Here is the caller graph for this function:

◆ convertInitializerList()

TIntermTyped * glslang::TParseContext::convertInitializerList ( const TSourceLoc loc,
const TType type,
TIntermTyped initializer 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ declareArray()

void glslang::TParseContext::declareArray ( const TSourceLoc loc,
const TString identifier,
const TType type,
TSymbol *&  symbol 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ declareBlock()

void glslang::TParseContext::declareBlock ( const TSourceLoc loc,
TTypeList typeList,
const TString instanceName = 0,
TArraySizes arraySizes = 0 
)
Here is the call graph for this function:

◆ declareNonArray()

TVariable * glslang::TParseContext::declareNonArray ( const TSourceLoc loc,
const TString identifier,
const TType type 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ declareTypeDefaults()

void glslang::TParseContext::declareTypeDefaults ( const TSourceLoc loc,
const TPublicType publicType 
)
Here is the call graph for this function:

◆ declareVariable()

TIntermNode * glslang::TParseContext::declareVariable ( const TSourceLoc loc,
TString identifier,
const TPublicType publicType,
TArraySizes typeArray = 0,
TIntermTyped initializer = 0 
)
Here is the call graph for this function:

◆ executeInitializer()

TIntermNode * glslang::TParseContext::executeInitializer ( const TSourceLoc loc,
TIntermTyped initializer,
TVariable variable 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findFunction()

const TFunction * glslang::TParseContext::findFunction ( const TSourceLoc loc,
const TFunction call,
bool builtIn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findFunction120()

const TFunction * glslang::TParseContext::findFunction120 ( const TSourceLoc loc,
const TFunction call,
bool builtIn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findFunction400()

const TFunction * glslang::TParseContext::findFunction400 ( const TSourceLoc loc,
const TFunction call,
bool builtIn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findFunctionExact()

const TFunction * glslang::TParseContext::findFunctionExact ( const TSourceLoc loc,
const TFunction call,
bool builtIn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findFunctionExplicitTypes()

const TFunction * glslang::TParseContext::findFunctionExplicitTypes ( const TSourceLoc loc,
const TFunction call,
bool builtIn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ finish()

void glslang::TParseContext::finish ( )
overrideprotectedvirtual

Reimplemented from glslang::TParseContextBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixBlockLocations()

void glslang::TParseContext::fixBlockLocations ( const TSourceLoc loc,
TQualifier qualifier,
TTypeList typeList,
bool  memberWithLocation,
bool  memberWithoutLocation 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixBlockUniformOffsets()

void glslang::TParseContext::fixBlockUniformOffsets ( TQualifier qualifier,
TTypeList typeList 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixBlockXfbOffsets()

void glslang::TParseContext::fixBlockXfbOffsets ( TQualifier qualifier,
TTypeList typeList 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixIoArraySize()

void glslang::TParseContext::fixIoArraySize ( const TSourceLoc loc,
TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixOffset()

void glslang::TParseContext::fixOffset ( const TSourceLoc loc,
TSymbol symbol 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDefaultPrecision()

TPrecisionQualifier glslang::TParseContext::getDefaultPrecision ( TPublicType publicType)
Here is the call graph for this function:

◆ getIoArrayImplicitSize()

int glslang::TParseContext::getIoArrayImplicitSize ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ globalCheck()

void glslang::TParseContext::globalCheck ( const TSourceLoc loc,
const char *  token 
)
Here is the call graph for this function:

◆ globalQualifierFixCheck()

void glslang::TParseContext::globalQualifierFixCheck ( const TSourceLoc loc,
TQualifier qualifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ globalQualifierTypeCheck()

void glslang::TParseContext::globalQualifierTypeCheck ( const TSourceLoc loc,
const TQualifier qualifier,
const TPublicType publicType 
)
Here is the call graph for this function:

◆ handleBinaryMath()

TIntermTyped * glslang::TParseContext::handleBinaryMath ( const TSourceLoc loc,
const char *  str,
TOperator  op,
TIntermTyped left,
TIntermTyped right 
)
Here is the call graph for this function:

◆ handleBracketDereference()

TIntermTyped * glslang::TParseContext::handleBracketDereference ( const TSourceLoc loc,
TIntermTyped base,
TIntermTyped index 
)
Here is the call graph for this function:

◆ handleBuiltInFunctionCall()

TIntermTyped * glslang::TParseContext::handleBuiltInFunctionCall ( TSourceLoc  loc,
TIntermNode arguments,
const TFunction function 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleConstructorCall()

TFunction * glslang::TParseContext::handleConstructorCall ( const TSourceLoc loc,
const TPublicType publicType 
)
Here is the call graph for this function:

◆ handleDotDereference()

TIntermTyped * glslang::TParseContext::handleDotDereference ( const TSourceLoc loc,
TIntermTyped base,
const TString field 
)
Here is the call graph for this function:

◆ handleFunctionCall()

TIntermTyped * glslang::TParseContext::handleFunctionCall ( const TSourceLoc loc,
TFunction function,
TIntermNode arguments 
)
Here is the call graph for this function:

◆ handleFunctionDeclarator()

TFunction * glslang::TParseContext::handleFunctionDeclarator ( const TSourceLoc loc,
TFunction function,
bool  prototype 
)
Here is the call graph for this function:

◆ handleFunctionDefinition()

TIntermAggregate * glslang::TParseContext::handleFunctionDefinition ( const TSourceLoc loc,
TFunction function 
)
Here is the call graph for this function:

◆ handleIndexLimits()

void glslang::TParseContext::handleIndexLimits ( const TSourceLoc ,
TIntermTyped base,
TIntermTyped index 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleIoResizeArrayAccess()

void glslang::TParseContext::handleIoResizeArrayAccess ( const TSourceLoc ,
TIntermTyped base 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleLengthMethod()

TIntermTyped * glslang::TParseContext::handleLengthMethod ( const TSourceLoc loc,
TFunction function,
TIntermNode intermNode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleLoopAttributes()

void glslang::TParseContext::handleLoopAttributes ( const TAttributes attributes,
TIntermNode node 
)
Here is the call graph for this function:

◆ handlePragma()

void glslang::TParseContext::handlePragma ( const TSourceLoc loc,
const TVector< TString > &  tokens 
)
overridevirtual

Implements glslang::TParseContextBase.

Here is the call graph for this function:

◆ handlePrecisionQualifier()

void glslang::TParseContext::handlePrecisionQualifier ( const TSourceLoc ,
TQualifier qualifier,
TPrecisionQualifier  precision 
)
Here is the call graph for this function:

◆ handleReturnValue()

TIntermNode * glslang::TParseContext::handleReturnValue ( const TSourceLoc loc,
TIntermTyped value 
)
Here is the call graph for this function:

◆ handleSelectionAttributes()

void glslang::TParseContext::handleSelectionAttributes ( const TAttributes attributes,
TIntermNode node 
)
Here is the call graph for this function:

◆ handleSwitchAttributes()

void glslang::TParseContext::handleSwitchAttributes ( const TAttributes attributes,
TIntermNode node 
)
Here is the call graph for this function:

◆ handleUnaryMath()

TIntermTyped * glslang::TParseContext::handleUnaryMath ( const TSourceLoc loc,
const char *  str,
TOperator  op,
TIntermTyped childNode 
)
Here is the call graph for this function:

◆ handleVariable()

TIntermTyped * glslang::TParseContext::handleVariable ( const TSourceLoc loc,
TSymbol symbol,
const TString string 
)
Here is the call graph for this function:

◆ inductiveLoopBodyCheck()

void glslang::TParseContext::inductiveLoopBodyCheck ( TIntermNode body,
int  loopIndexId,
TSymbolTable symbolTable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inductiveLoopCheck()

void glslang::TParseContext::inductiveLoopCheck ( const TSourceLoc loc,
TIntermNode init,
TIntermLoop loop 
)
Here is the call graph for this function:

◆ inheritGlobalDefaults()

void glslang::TParseContext::inheritGlobalDefaults ( TQualifier dst) const
protected
Here is the caller graph for this function:

◆ integerCheck()

void glslang::TParseContext::integerCheck ( const TIntermTyped node,
const char *  token 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ invariantCheck()

void glslang::TParseContext::invariantCheck ( const TSourceLoc loc,
const TQualifier qualifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ioArrayCheck()

void glslang::TParseContext::ioArrayCheck ( const TSourceLoc loc,
const TType type,
const TString identifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isIoResizeArray()

bool glslang::TParseContext::isIoResizeArray ( const TType type) const
Here is the caller graph for this function:

◆ isRuntimeLength()

bool glslang::TParseContext::isRuntimeLength ( const TIntermTyped base) const
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ layoutMemberLocationArrayCheck()

void glslang::TParseContext::layoutMemberLocationArrayCheck ( const TSourceLoc loc,
bool  memberWithLocation,
TArraySizes arraySizes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ layoutObjectCheck()

void glslang::TParseContext::layoutObjectCheck ( const TSourceLoc loc,
const TSymbol symbol 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ layoutQualifierCheck()

void glslang::TParseContext::layoutQualifierCheck ( const TSourceLoc loc,
const TQualifier qualifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ layoutTypeCheck()

void glslang::TParseContext::layoutTypeCheck ( const TSourceLoc loc,
const TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ limitCheck()

void glslang::TParseContext::limitCheck ( const TSourceLoc loc,
int  value,
const char *  limit,
const char *  feature 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lineContinuationCheck()

bool glslang::TParseContext::lineContinuationCheck ( const TSourceLoc loc,
bool  endOfComment 
)
overridevirtual

Implements glslang::TParseContextBase.

Here is the call graph for this function:

◆ lineDirectiveShouldSetNextLine()

bool glslang::TParseContext::lineDirectiveShouldSetNextLine ( ) const
overridevirtual

◆ lValueErrorCheck()

bool glslang::TParseContext::lValueErrorCheck ( const TSourceLoc loc,
const char *  op,
TIntermTyped node 
)
overridevirtual

Reimplemented from glslang::TParseContextBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeAttributes() [1/2]

TAttributes * glslang::TParseContext::makeAttributes ( const TString identifier) const
Here is the call graph for this function:

◆ makeAttributes() [2/2]

TAttributes * glslang::TParseContext::makeAttributes ( const TString identifier,
TIntermNode node 
) const
Here is the call graph for this function:

◆ makeEditable()

void glslang::TParseContext::makeEditable ( TSymbol *&  symbol)
overridevirtual

Reimplemented from glslang::TParseContextBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeInternalVariable()

TVariable * glslang::TParseContext::makeInternalVariable ( const char *  name,
const TType type 
) const
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memberQualifierCheck()

void glslang::TParseContext::memberQualifierCheck ( glslang::TPublicType publicType)
Here is the call graph for this function:

◆ mergeAttributes()

TAttributes * glslang::TParseContext::mergeAttributes ( TAttributes attr1,
TAttributes attr2 
) const

◆ mergeObjectLayoutQualifiers()

void glslang::TParseContext::mergeObjectLayoutQualifiers ( TQualifier dest,
const TQualifier src,
bool  inheritOnly 
)
Here is the caller graph for this function:

◆ mergeQualifiers()

void glslang::TParseContext::mergeQualifiers ( const TSourceLoc loc,
TQualifier dst,
const TQualifier src,
bool  force 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nestedBlockCheck()

void glslang::TParseContext::nestedBlockCheck ( const TSourceLoc loc)
Here is the call graph for this function:

◆ nestedStructCheck()

void glslang::TParseContext::nestedStructCheck ( const TSourceLoc loc)
Here is the call graph for this function:

◆ nonInitConstCheck()

void glslang::TParseContext::nonInitConstCheck ( const TSourceLoc loc,
TString identifier,
TType type 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nonOpBuiltInCheck()

void glslang::TParseContext::nonOpBuiltInCheck ( const TSourceLoc loc,
const TFunction fnCandidate,
TIntermAggregate callNode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ obeyPrecisionQualifiers()

bool glslang::TParseContext::obeyPrecisionQualifiers ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ opaqueCheck()

void glslang::TParseContext::opaqueCheck ( const TSourceLoc loc,
const TType type,
const char *  op 
)
Here is the call graph for this function:

◆ operator=()

TParseContext& glslang::TParseContext::operator= ( TParseContext )
protected

◆ paramCheckFix()

void glslang::TParseContext::paramCheckFix ( const TSourceLoc loc,
const TQualifier qualifier,
TType type 
)
Here is the call graph for this function:

◆ paramCheckFixStorage()

void glslang::TParseContext::paramCheckFixStorage ( const TSourceLoc loc,
const TStorageQualifier qualifier,
TType type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parameterTypeCheck()

void glslang::TParseContext::parameterTypeCheck ( const TSourceLoc loc,
TStorageQualifier  qualifier,
const TType type 
)
Here is the call graph for this function:

◆ parserError()

void glslang::TParseContext::parserError ( const char *  s)
Here is the call graph for this function:

◆ parseShaderStrings()

bool glslang::TParseContext::parseShaderStrings ( TPpContext ppContext,
TInputScanner input,
bool  versionWillBeError = false 
)
overridevirtual

Implements glslang::TParseContextBase.

Here is the call graph for this function:

◆ precisionQualifierCheck()

void glslang::TParseContext::precisionQualifierCheck ( const TSourceLoc loc,
TBasicType  baseType,
TQualifier qualifier 
)
Here is the call graph for this function:

◆ redeclareBuiltinBlock()

void glslang::TParseContext::redeclareBuiltinBlock ( const TSourceLoc loc,
TTypeList typeList,
const TString blockName,
const TString instanceName,
TArraySizes arraySizes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ redeclareBuiltinVariable()

TSymbol * glslang::TParseContext::redeclareBuiltinVariable ( const TSourceLoc loc,
const TString identifier,
const TQualifier qualifier,
const TShaderQualifiers publicType 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reservedErrorCheck()

void glslang::TParseContext::reservedErrorCheck ( const TSourceLoc loc,
const TString identifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reservedPpErrorCheck()

void glslang::TParseContext::reservedPpErrorCheck ( const TSourceLoc loc,
const char *  name,
const char *  op 
)
overridevirtual

Implements glslang::TParseContextBase.

Here is the call graph for this function:

◆ rValueErrorCheck()

void glslang::TParseContext::rValueErrorCheck ( const TSourceLoc loc,
const char *  op,
TIntermTyped node 
)
overridevirtual

Reimplemented from glslang::TParseContextBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ samplerCheck()

void glslang::TParseContext::samplerCheck ( const TSourceLoc loc,
const TType type,
const TString identifier,
TIntermTyped initializer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ samplerConstructorLocationCheck()

void glslang::TParseContext::samplerConstructorLocationCheck ( const TSourceLoc loc,
const char *  token,
TIntermNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDefaultPrecision()

void glslang::TParseContext::setDefaultPrecision ( const TSourceLoc loc,
TPublicType publicType,
TPrecisionQualifier  qualifier 
)
Here is the call graph for this function:

◆ setLayoutQualifier() [1/2]

void glslang::TParseContext::setLayoutQualifier ( const TSourceLoc loc,
TPublicType publicType,
TString id 
)
Here is the call graph for this function:

◆ setLayoutQualifier() [2/2]

void glslang::TParseContext::setLayoutQualifier ( const TSourceLoc loc,
TPublicType publicType,
TString id,
const TIntermTyped node 
)
Here is the call graph for this function:

◆ setLimits()

void glslang::TParseContext::setLimits ( const TBuiltInResource r)
overridevirtual

Implements glslang::TParseContextBase.

Here is the call graph for this function:

◆ setPrecisionDefaults()

void glslang::TParseContext::setPrecisionDefaults ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ specializationCheck()

void glslang::TParseContext::specializationCheck ( const TSourceLoc loc,
const TType type,
const char *  op 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ structArrayCheck()

void glslang::TParseContext::structArrayCheck ( const TSourceLoc ,
const TType structure 
)
Here is the call graph for this function:

◆ structQualifierErrorCheck()

bool glslang::TParseContext::structQualifierErrorCheck ( const TSourceLoc ,
const TPublicType pType 
)

◆ structTypeCheck()

void glslang::TParseContext::structTypeCheck ( const TSourceLoc ,
TPublicType publicType 
)
Here is the call graph for this function:

◆ transparentOpaqueCheck()

void glslang::TParseContext::transparentOpaqueCheck ( const TSourceLoc loc,
const TType type,
const TString identifier 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unaryOpError()

void glslang::TParseContext::unaryOpError ( const TSourceLoc loc,
const char *  op,
TString  operand 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateStandaloneQualifierDefaults()

void glslang::TParseContext::updateStandaloneQualifierDefaults ( const TSourceLoc loc,
const TPublicType publicType 
)
Here is the call graph for this function:

◆ userFunctionCallCheck()

void glslang::TParseContext::userFunctionCallCheck ( const TSourceLoc loc,
TIntermAggregate callNode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ variableCheck()

void glslang::TParseContext::variableCheck ( TIntermTyped *&  nodePtr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ voidErrorCheck()

bool glslang::TParseContext::voidErrorCheck ( const TSourceLoc loc,
const TString identifier,
TBasicType  basicType 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wrapupSwitchSubsequence()

void glslang::TParseContext::wrapupSwitchSubsequence ( TIntermAggregate statements,
TIntermNode branchNode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ anyIndexLimits

bool glslang::TParseContext::anyIndexLimits
protected

◆ atomicUintOffsets

int* glslang::TParseContext::atomicUintOffsets
protected

◆ blockName

const TString* glslang::TParseContext::blockName

◆ currentBlockQualifier

TQualifier glslang::TParseContext::currentBlockQualifier

◆ currentCaller

TString glslang::TParseContext::currentCaller
protected

◆ defaultPrecision

TPrecisionQualifier glslang::TParseContext::defaultPrecision[EbtNumTypes]

◆ defaultSamplerPrecision

TPrecisionQualifier glslang::TParseContext::defaultSamplerPrecision[maxSamplerIndex]
protected

◆ globalBufferDefaults

TQualifier glslang::TParseContext::globalBufferDefaults
protected

◆ globalInputDefaults

TQualifier glslang::TParseContext::globalInputDefaults
protected

◆ globalOutputDefaults

TQualifier glslang::TParseContext::globalOutputDefaults
protected

◆ globalUniformDefaults

TQualifier glslang::TParseContext::globalUniformDefaults
protected

◆ inductiveLoopIds

TIdSetType glslang::TParseContext::inductiveLoopIds
protected

◆ inMain

bool glslang::TParseContext::inMain

◆ ioArraySymbolResizeList

TVector<TSymbol*> glslang::TParseContext::ioArraySymbolResizeList
protected

◆ limits

TLimits& glslang::TParseContext::limits

◆ maxSamplerIndex

const int glslang::TParseContext::maxSamplerIndex = EsdNumDims * (EbtNumTypes * (2 * 2 * 2 * 2 * 2))
staticprotected

◆ needsIndexLimitationChecking

TVector<TIntermTyped*> glslang::TParseContext::needsIndexLimitationChecking
protected

◆ precisionManager

TPrecisionManager glslang::TParseContext::precisionManager
protected

◆ resources

TBuiltInResource glslang::TParseContext::resources

The documentation for this class was generated from the following files: