zenilib
0.5.3.0
|
#include <VersionGLSL.h>
Inherits TIntermTraverser.
Public Member Functions | |
TVersionGLSL (ShShaderType type) | |
int | getVersion () |
virtual bool | visitAggregate (Visit, TIntermAggregate *) |
virtual bool | visitBinary (Visit, TIntermBinary *) |
virtual bool | visitBranch (Visit, TIntermBranch *) |
virtual void | visitConstantUnion (TIntermConstantUnion *) |
virtual bool | visitLoop (Visit, TIntermLoop *) |
virtual bool | visitSelection (Visit, TIntermSelection *) |
virtual void | visitSymbol (TIntermSymbol *) |
virtual bool | visitUnary (Visit, TIntermUnary *) |
![]() | |
TIntermTraverser (bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false) | |
virtual | ~TIntermTraverser () |
void | decrementDepth () |
int | getMaxDepth () const |
void | incrementDepth () |
POOL_ALLOCATOR_NEW_DELETE () | |
Protected Member Functions | |
void | updateVersion (int version) |
Additional Inherited Members | |
![]() | |
static TString | hash (const TString &name, ShHashFunction64 hashFunction) |
![]() | |
const bool | inVisit |
const bool | postVisit |
const bool | preVisit |
const bool | rightToLeft |
![]() | |
int | depth |
int | maxDepth |
Definition at line 27 of file VersionGLSL.h.
TVersionGLSL::TVersionGLSL | ( | ShShaderType | type | ) |
Definition at line 38 of file VersionGLSL.cpp.
|
inline |
Definition at line 37 of file VersionGLSL.h.
Referenced by writeVersion().
Definition at line 136 of file VersionGLSL.cpp.
References max.
Referenced by visitAggregate(), and visitSymbol().
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 69 of file VersionGLSL.cpp.
References EOpConstructMat2, EOpConstructMat3, EOpConstructMat4, EOpDeclaration, EOpParameters, EOpSequence, EvqInOut, EvqInvariantVaryingIn, EvqInvariantVaryingOut, EvqOut, TIntermTyped::getAsTyped(), TIntermOperator::getOp(), TIntermTyped::getQualifier(), TIntermAggregate::getSequence(), GLSL_VERSION_120, TIntermTyped::isArray(), TIntermTyped::isMatrix(), and updateVersion().
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 54 of file VersionGLSL.cpp.
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 131 of file VersionGLSL.cpp.
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 50 of file VersionGLSL.cpp.
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 126 of file VersionGLSL.cpp.
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 64 of file VersionGLSL.cpp.
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 44 of file VersionGLSL.cpp.
References TIntermSymbol::getSymbol(), GLSL_VERSION_120, and updateVersion().
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 59 of file VersionGLSL.cpp.