Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_util/
DReplaceShadowingVariables.cpp83 TIntermSymbol *symNode = declVector->getAsSymbolNode(); in visitDeclaration() local
84 if (symNode == nullptr) in visitDeclaration()
89 symNode = binaryNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
91 ASSERT(symNode != nullptr); in visitDeclaration()
92 std::string varName = std::string(symNode->variable().name().data()); in visitDeclaration()
97 &symNode->variable(), in visitDeclaration()
98 CreateTempVariable(mSymbolTable, &symNode->variable().getType()), in visitDeclaration()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DParseContextBase.cpp147 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
148 if (symNode != nullptr) in lValueErrorCheck()
149 symbol = symNode->getName().c_str(); in lValueErrorCheck()
196 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
211 if (symNode) in lValueErrorCheck()
241 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
242 if (symNode && symNode->getQualifier().isWriteOnly()) in rValueErrorCheck()
243 error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
DParseHelper.cpp2597 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
2598 if (symNode != nullptr) in lValueErrorCheck()
2599 symbol = symNode->getName().c_str(); in lValueErrorCheck()
2620 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
2635 if (symNode) in lValueErrorCheck()
2649 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
2650 if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks in rValueErrorCheck()
2651 if (symNode && symNode->getQualifier().isExplicitInterpolation()) in rValueErrorCheck()
2652 … error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseContextBase.cpp147 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
148 if (symNode != nullptr) in lValueErrorCheck()
149 symbol = symNode->getName().c_str(); in lValueErrorCheck()
196 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
211 if (symNode) in lValueErrorCheck()
241 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
242 if (symNode && symNode->getQualifier().isWriteOnly()) in rValueErrorCheck()
243 error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
DParseHelper.cpp2640 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
2641 if (symNode != nullptr) in lValueErrorCheck()
2642 symbol = symNode->getName().c_str(); in lValueErrorCheck()
2663 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
2678 if (symNode) in lValueErrorCheck()
2692 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
2693 if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks in rValueErrorCheck()
2694 if (symNode && symNode->getQualifier().isExplicitInterpolation()) in rValueErrorCheck()
2695 … error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp305 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
348 if (symNode != 0) in lValueErrorCheck()
349 symbol = symNode->getSymbol().c_str(); in lValueErrorCheck()
384 if (message == 0 && binaryNode == 0 && symNode == 0) { in lValueErrorCheck()
400 if (symNode) { in lValueErrorCheck()
/external/angle/src/compiler/translator/
DParseContext.cpp621 TIntermSymbol *symNode = node->getAsSymbolNode(); in checkCanBeLValue() local
622 if (message.empty() && symNode != nullptr) in checkCanBeLValue()
624 symbolTable.markStaticWrite(symNode->variable()); in checkCanBeLValue()
632 if (symNode) in checkCanBeLValue()
635 ASSERT(symNode->variable().symbolType() != SymbolType::Empty); in checkCanBeLValue()
636 const ImmutableString &symbol = symNode->getName(); in checkCanBeLValue()
/external/angle/third_party/glslang/src/hlsl/
DhlslParseHelper.cpp3030 const TIntermSymbol* symNode = left->getAsBinaryNode()->getLeft()->getAsSymbolNode(); in handleAssign() local
3032 … TIntermTyped* splitLeftNonIo = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
3041 const TIntermSymbol* symNode = left->getAsSymbolNode(); in handleAssign() local
3042 splitLeft = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp3030 const TIntermSymbol* symNode = left->getAsBinaryNode()->getLeft()->getAsSymbolNode(); in handleAssign() local
3032 … TIntermTyped* splitLeftNonIo = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
3041 const TIntermSymbol* symNode = left->getAsSymbolNode(); in handleAssign() local
3042 splitLeft = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()