zenilib
0.5.3.0
|
#include <intermediate.h>
Inherits TIntermTyped.
Inherited by TIntermAggregate, TIntermBinary, and TIntermUnary.
Protected Member Functions | |
TIntermOperator (TOperator o) | |
TIntermOperator (TOperator o, TType &t) | |
Protected Attributes | |
TOperator | op |
![]() | |
TType | type |
![]() | |
TSourceLoc | line |
Definition at line 387 of file intermediate.h.
|
inlineprotected |
Definition at line 396 of file intermediate.h.
Definition at line 397 of file intermediate.h.
|
inline |
Definition at line 389 of file intermediate.h.
References op.
Referenced by TIntermediate::addBinaryMath(), TParseContext::addConstructor(), ForLoopUnroll::FillLoopIndexInfo(), TParseContext::foldConstConstructor(), TIntermediate::growAggregate(), sh::OutputHLSL::handleExcessiveLoop(), sh::OutputHLSL::isSingleStatement(), TParseContext::lValueErrorCheck(), TIntermediate::postProcess(), TIntermediate::setAggregateOperator(), RenameFunction::visitAggregate(), TDependencyGraphBuilder::visitAggregate(), ValidateLimitations::visitAggregate(), DetectCallDepth::visitAggregate(), CollectAttribsUniforms::visitAggregate(), TOutputGLSLBase::visitAggregate(), sh::DetectGradientOperation::visitAggregate(), TVersionGLSL::visitAggregate(), sh::OutputHLSL::visitAggregate(), TDependencyGraphBuilder::visitBinary(), sh::UnfoldShortCircuit::visitBinary(), ValidateLimitations::visitBinary(), TOutputGLSLBase::visitBinary(), sh::OutputHLSL::visitBinary(), TOutputGLSLBase::visitUnary(), sh::DetectGradientOperation::visitUnary(), and sh::OutputHLSL::visitUnary().
bool TIntermOperator::isConstructor | ( | ) | const |
Definition at line 775 of file Intermediate.cpp.
References EOpConstructBool, EOpConstructBVec2, EOpConstructBVec3, EOpConstructBVec4, EOpConstructFloat, EOpConstructInt, EOpConstructIVec2, EOpConstructIVec3, EOpConstructIVec4, EOpConstructMat2, EOpConstructMat3, EOpConstructMat4, EOpConstructStruct, EOpConstructVec2, EOpConstructVec3, EOpConstructVec4, and op.
Referenced by TParseContext::areAllChildConst().
bool TIntermOperator::modifiesState | ( | ) | const |
Definition at line 750 of file Intermediate.cpp.
References EOpAddAssign, EOpAssign, EOpDivAssign, EOpMatrixTimesMatrixAssign, EOpMatrixTimesScalarAssign, EOpMulAssign, EOpPostDecrement, EOpPostIncrement, EOpPreDecrement, EOpPreIncrement, EOpSubAssign, EOpVectorTimesMatrixAssign, EOpVectorTimesScalarAssign, and op.
Referenced by TDependencyGraphBuilder::visitBinary().
Definition at line 390 of file intermediate.h.
References op.
Referenced by TIntermediate::addComma(), TIntermediate::postProcess(), TIntermediate::setAggregateOperator(), and switch().
|
protected |
Definition at line 398 of file intermediate.h.
Referenced by getOp(), isConstructor(), modifiesState(), TIntermBinary::promote(), TIntermUnary::promote(), and setOp().