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

#include <ValidateLimitations.h>

Inherits TIntermTraverser.

Public Member Functions

 ValidateLimitations (ShShaderType shaderType, TInfoSinkBase &sink)
int numErrors () const
virtual bool visitAggregate (Visit, TIntermAggregate *)
virtual bool visitBinary (Visit, TIntermBinary *)
virtual bool visitLoop (Visit, TIntermLoop *)
virtual bool visitUnary (Visit, TIntermUnary *)
- 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 visitBranch (Visit visit, TIntermBranch *)
virtual void visitConstantUnion (TIntermConstantUnion *)
virtual bool visitSelection (Visit visit, TIntermSelection *)
virtual void visitSymbol (TIntermSymbol *)

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
- Protected Attributes inherited from TIntermTraverser
int depth
int maxDepth

Detailed Description

Definition at line 22 of file ValidateLimitations.h.

Constructor & Destructor Documentation

ValidateLimitations::ValidateLimitations ( ShShaderType  shaderType,
TInfoSinkBase sink 

Definition at line 99 of file ValidateLimitations.cpp.

Member Function Documentation

int ValidateLimitations::numErrors ( ) const

Definition at line 26 of file ValidateLimitations.h.

Referenced by TCompiler::validateLimitations().

bool ValidateLimitations::visitAggregate ( Visit  ,
TIntermAggregate node 

Reimplemented from TIntermTraverser.

Definition at line 152 of file ValidateLimitations.cpp.

References EOpFunctionCall, and TIntermOperator::getOp().

bool ValidateLimitations::visitLoop ( Visit  ,
TIntermLoop node 

Reimplemented from TIntermTraverser.

Definition at line 164 of file ValidateLimitations.cpp.

References TIntermLoop::getBody(), TLoopInfo::loop, memset, NULL, and TIntermNode::traverse().

bool ValidateLimitations::visitUnary ( Visit  ,
TIntermUnary node 

Reimplemented from TIntermTraverser.

Definition at line 144 of file ValidateLimitations.cpp.

References TIntermUnary::getOperand().

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