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/deqp-deps/glslang/glslang/MachineIndependent/
DParseContextBase.cpp131 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
132 if (symNode != nullptr) in lValueErrorCheck()
133 symbol = symNode->getName().c_str(); in lValueErrorCheck()
180 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
214 if (symNode) in lValueErrorCheck()
232 const TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
240 if (symNode != nullptr) in rValueErrorCheck()
241 error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
DParseHelper.cpp2703 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
2704 if (symNode != nullptr) in lValueErrorCheck()
2705 symbol = symNode->getName().c_str(); in lValueErrorCheck()
2726 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
2741 if (symNode) in lValueErrorCheck()
2755 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
2756 if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks in rValueErrorCheck()
2757 if (symNode && symNode->getQualifier().isExplicitInterpolation()) in rValueErrorCheck()
2758 … error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseContextBase.cpp131 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
132 if (symNode != nullptr) in lValueErrorCheck()
133 symbol = symNode->getName().c_str(); in lValueErrorCheck()
180 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
214 if (symNode) in lValueErrorCheck()
232 const TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
240 if (symNode != nullptr) in rValueErrorCheck()
241 error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str()); in rValueErrorCheck()
DParseHelper.cpp2910 TIntermSymbol* symNode = node->getAsSymbolNode(); in lValueErrorCheck() local
2911 if (symNode != nullptr) in lValueErrorCheck()
2912 symbol = symNode->getName().c_str(); in lValueErrorCheck()
2933 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
2948 if (symNode) in lValueErrorCheck()
2962 TIntermSymbol* symNode = node->getAsSymbolNode(); in rValueErrorCheck() local
2963 if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks in rValueErrorCheck()
2964 if (symNode && symNode->getQualifier().isExplicitInterpolation()) in rValueErrorCheck()
2965 … 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.cpp678 TIntermSymbol *symNode = node->getAsSymbolNode(); in checkCanBeLValue() local
679 if (message.empty() && symNode != nullptr) in checkCanBeLValue()
681 symbolTable.markStaticWrite(symNode->variable()); in checkCanBeLValue()
689 if (symNode) in checkCanBeLValue()
692 ASSERT(symNode->variable().symbolType() != SymbolType::Empty); in checkCanBeLValue()
693 const ImmutableString &symbol = symNode->getName(); in checkCanBeLValue()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp3114 const TIntermSymbol* symNode = left->getAsBinaryNode()->getLeft()->getAsSymbolNode(); in handleAssign() local
3116 … TIntermTyped* splitLeftNonIo = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
3125 const TIntermSymbol* symNode = left->getAsSymbolNode(); in handleAssign() local
3126 splitLeft = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp3114 const TIntermSymbol* symNode = left->getAsBinaryNode()->getLeft()->getAsSymbolNode(); in handleAssign() local
3116 … TIntermTyped* splitLeftNonIo = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()
3125 const TIntermSymbol* symNode = left->getAsSymbolNode(); in handleAssign() local
3126 splitLeft = intermediate.addSymbol(*getSplitNonIoVar(symNode->getId()), loc); in handleAssign()