Home
last modified time | relevance | path

Searched refs:declaratorSymbol (Results 1 – 1 of 1) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DPruneNoOps.cpp70 TIntermSymbol *declaratorSymbol = sequence->front()->getAsSymbolNode(); in visitDeclaration() local
72 if (declaratorSymbol != nullptr && in visitDeclaration()
73 declaratorSymbol->variable().symbolType() == SymbolType::Empty && in visitDeclaration()
74 !declaratorSymbol->isInterfaceBlock()) in visitDeclaration()
86 NodeReplaceWithMultipleEntry(node, declaratorSymbol, emptyReplacement)); in visitDeclaration()
88 else if (declaratorSymbol->getBasicType() != EbtStruct) in visitDeclaration()
95 else if (declaratorSymbol->getQualifier() != EvqGlobal && in visitDeclaration()
96 declaratorSymbol->getQualifier() != EvqTemporary) in visitDeclaration()
109 TType *type = new TType(declaratorSymbol->getType()); in visitDeclaration()
120 queueReplacementWithParent(node, declaratorSymbol, new TIntermSymbol(variable), in visitDeclaration()