RetroArch
Public Member Functions | Private Attributes | List of all members
glslang::TVarGatherTraverser Class Reference
Inheritance diagram for glslang::TVarGatherTraverser:
[legend]
Collaboration diagram for glslang::TVarGatherTraverser:
[legend]

Public Member Functions

 TVarGatherTraverser (const TIntermediate &i, bool traverseDeadCode, TVarLiveMap &inList, TVarLiveMap &outList, TVarLiveMap &uniformList)
 
virtual void visitSymbol (TIntermSymbol *base)
 
- Public Member Functions inherited from glslang::TLiveTraverser
 TLiveTraverser (const TIntermediate &i, bool traverseAll=false, bool preVisit=true, bool inVisit=false, bool postVisit=false)
 
void pushFunction (const TString &name)
 
- Public Member Functions inherited from glslang::TIntermTraverser
 TIntermTraverser (bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false)
 
virtual ~TIntermTraverser ()
 
virtual void visitConstantUnion (TIntermConstantUnion *)
 
virtual bool visitBinary (TVisit, TIntermBinary *)
 
virtual bool visitUnary (TVisit, TIntermUnary *)
 
virtual bool visitLoop (TVisit, TIntermLoop *)
 
virtual bool visitBranch (TVisit, TIntermBranch *)
 
virtual bool visitSwitch (TVisit, TIntermSwitch *)
 
int getMaxDepth () const
 
void incrementDepth (TIntermNode *current)
 
void decrementDepth ()
 
TIntermNode * getParentNode ()
 

Private Attributes

TVarLiveMap & inputList
 
TVarLiveMap & outputList
 
TVarLiveMap & uniformList
 

Additional Inherited Members

- Public Types inherited from glslang::TLiveTraverser
typedef std::list< TIntermAggregate * > TFunctionStack
 
- Public Attributes inherited from glslang::TLiveTraverser
TFunctionStack functions
 
- Public Attributes inherited from glslang::TIntermTraverser
const bool preVisit
 
const bool inVisit
 
const bool postVisit
 
const bool rightToLeft
 
- Protected Types inherited from glslang::TLiveTraverser
typedef std::unordered_set< TString > TLiveFunctions
 
- Protected Member Functions inherited from glslang::TLiveTraverser
virtual bool visitAggregate (TVisit, TIntermAggregate *node)
 
virtual bool visitSelection (TVisit, TIntermSelection *node)
 
void addFunctionCall (TIntermAggregate *call)
 
- Protected Member Functions inherited from glslang::TIntermTraverser
TIntermTraverser & operator= (TIntermTraverser &)
 
- Protected Attributes inherited from glslang::TLiveTraverser
const TIntermediate & intermediate
 
TLiveFunctions liveFunctions
 
bool traverseAll
 
- Protected Attributes inherited from glslang::TIntermTraverser
int depth
 
int maxDepth
 
TVector< TIntermNode * > path
 

Constructor & Destructor Documentation

◆ TVarGatherTraverser()

glslang::TVarGatherTraverser::TVarGatherTraverser ( const TIntermediate &  i,
bool  traverseDeadCode,
TVarLiveMap &  inList,
TVarLiveMap &  outList,
TVarLiveMap &  uniformList 
)
inline

Member Function Documentation

◆ visitSymbol()

virtual void glslang::TVarGatherTraverser::visitSymbol ( TIntermSymbol *  base)
inlinevirtual

Reimplemented from glslang::TIntermTraverser.

Here is the call graph for this function:

Member Data Documentation

◆ inputList

TVarLiveMap& glslang::TVarGatherTraverser::inputList
private

◆ outputList

TVarLiveMap& glslang::TVarGatherTraverser::outputList
private

◆ uniformList

TVarLiveMap& glslang::TVarGatherTraverser::uniformList
private

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