All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sh::UnfoldShortCircuit Class Reference

#include <UnfoldShortCircuit.h>

Inherits TIntermTraverser.

Public Member Functions

 UnfoldShortCircuit (TParseContext &context, OutputHLSL *outputHLSL)
int getNextTemporaryIndex ()
void traverse (TIntermNode *node)
bool visitBinary (Visit visit, TIntermBinary *)
bool visitLoop (Visit visit, TIntermLoop *node)
bool visitSelection (Visit visit, TIntermSelection *node)
- Public Member Functions inherited from TIntermTraverser
 TIntermTraverser (bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false)
virtual ~TIntermTraverser ()
void decrementDepth ()
int getMaxDepth () const
void incrementDepth ()
virtual bool visitAggregate (Visit visit, TIntermAggregate *)
virtual bool visitBranch (Visit visit, TIntermBranch *)
virtual void visitConstantUnion (TIntermConstantUnion *)
virtual void visitSymbol (TIntermSymbol *)
virtual bool visitUnary (Visit visit, TIntermUnary *)

Protected Attributes

OutputHLSL *const mOutputHLSL
int mTemporaryIndex
- Protected Attributes inherited from TIntermTraverser
int depth
int maxDepth

Additional Inherited Members

- Static Public Member Functions inherited from TIntermTraverser
static TString hash (const TString &name, ShHashFunction64 hashFunction)
- Public Attributes inherited from TIntermTraverser
const bool inVisit
const bool postVisit
const bool preVisit
const bool rightToLeft

Detailed Description

Definition at line 19 of file UnfoldShortCircuit.h.

Constructor & Destructor Documentation

sh::UnfoldShortCircuit::UnfoldShortCircuit ( TParseContext context,
OutputHLSL outputHLSL 

Definition at line 18 of file UnfoldShortCircuit.cpp.

References mTemporaryIndex.

Member Function Documentation

int sh::UnfoldShortCircuit::getNextTemporaryIndex ( )
void sh::UnfoldShortCircuit::traverse ( TIntermNode node)
bool sh::UnfoldShortCircuit::visitBinary ( Visit  visit,
TIntermBinary node 
bool sh::UnfoldShortCircuit::visitLoop ( Visit  visit,
TIntermLoop node 

Member Data Documentation

TParseContext& sh::UnfoldShortCircuit::mContext

Definition at line 32 of file UnfoldShortCircuit.h.

OutputHLSL* const sh::UnfoldShortCircuit::mOutputHLSL

Definition at line 33 of file UnfoldShortCircuit.h.

Referenced by visitBinary(), and visitSelection().

int sh::UnfoldShortCircuit::mTemporaryIndex

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