|
| 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,...) |
|
virtual void | setLimits (const TBuiltInResource &)=0 |
|
void | checkIndex (const TSourceLoc &, const TType &, int &index) |
|
EShLanguage | getLanguage () const |
|
void | setScanContext (TScanContext *c) |
|
TScanContext * | getScanContext () const |
|
void | setPpContext (TPpContext *c) |
|
TPpContext * | getPpContext () 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 | reservedPpErrorCheck (const TSourceLoc &, const char *name, const char *op)=0 |
|
virtual bool | lineContinuationCheck (const TSourceLoc &, bool endOfComment)=0 |
|
virtual bool | lineDirectiveShouldSetNextLine () const =0 |
|
virtual void | handlePragma (const TSourceLoc &, const TVector< TString > &)=0 |
|
virtual bool | parseShaderStrings (TPpContext &, TInputScanner &input, bool versionWillBeError=false)=0 |
|
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 |
|
virtual bool | lValueErrorCheck (const TSourceLoc &, const char *op, TIntermTyped *) |
|
virtual void | rValueErrorCheck (const TSourceLoc &, const char *op, TIntermTyped *) |
|
| 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) |
|
TInputScanner * | getScanner () const |
|
const TSourceLoc & | getCurrentLoc () 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 |
|