7 #pragma warning(disable: 4718)
19 for (TGraphNodeVector::const_iterator iter = mAllNodes.begin(); iter != mAllNodes.end(); ++iter)
30 mAllNodes.push_back(argument);
37 mAllNodes.push_back(functionCall);
39 mUserDefinedFunctionCalls.push_back(functionCall);
45 TSymbolIdMap::const_iterator iter = mSymbolIdMap.find(intermSymbol->
getId());
49 if (iter != mSymbolIdMap.end()) {
50 TSymbolIdPair pair = *iter;
54 mAllNodes.push_back(symbol);
56 TSymbolIdPair pair(intermSymbol->
getId(), symbol);
57 mSymbolIdMap.insert(pair);
61 mSamplerSymbols.push_back(symbol);
70 mAllNodes.push_back(selection);
77 mAllNodes.push_back(loop);
84 mAllNodes.push_back(logicalOp);
90 const char* opString =
NULL;
94 default: opString =
"unknown";
break;
bool isUserDefined() const
bool IsSampler(TBasicType type)
TBasicType getBasicType() const
TGraphSymbol * getOrCreateSymbol(TIntermSymbol *intermSymbol)
TGraphArgument * createArgument(TIntermAggregate *intermFunctionCall, int argumentNumber)
TDependencyGraph(TIntermNode *intermNode)
TGraphLoop * createLoop(TIntermLoop *intermLoop)
const TIntermBinary * getIntermLogicalOp() const
TGraphFunctionCall * createFunctionCall(TIntermAggregate *intermFunctionCall)
const TIntermAggregate * getIntermFunctionCall() const
TGraphSelection * createSelection(TIntermSelection *intermSelection)
static void build(TIntermNode *node, TDependencyGraph *graph)
const char * getOpString() const
TGraphLogicalOp * createLogicalOp(TIntermBinary *intermLogicalOp)