Home
last modified time | relevance | path

Searched refs:symbolNode (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DDeferGlobalInitializers.cpp53 TIntermSymbol *symbolNode = init->getLeft()->getAsSymbolNode(); in GetDeferredInitializers() local
54 ASSERT(symbolNode); in GetDeferredInitializers()
69 ASSERT(symbolNode->getQualifier() == EvqConst || in GetDeferredInitializers()
70 symbolNode->getQualifier() == EvqGlobal); in GetDeferredInitializers()
71 if (symbolNode->getQualifier() == EvqConst) in GetDeferredInitializers()
73 variablesToReplaceOut->push_back(&symbolNode->variable()); in GetDeferredInitializers()
77 new TIntermBinary(EOpAssign, symbolNode->deepCopy(), init->getRight()); in GetDeferredInitializers()
81 declaration->replaceChildNode(init, symbolNode); in GetDeferredInitializers()
86 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in GetDeferredInitializers() local
87 ASSERT(symbolNode); in GetDeferredInitializers()
[all …]
DScalarizeVecAndMatConstructorArgs.cpp30 TIntermBinary *ConstructVectorIndexBinaryNode(TIntermTyped *symbolNode, int index) in ConstructVectorIndexBinaryNode() argument
32 return new TIntermBinary(EOpIndexDirect, symbolNode, CreateIndexNode(index)); in ConstructVectorIndexBinaryNode()
35 TIntermBinary *ConstructMatrixIndexBinaryNode(TIntermTyped *symbolNode, int colIndex, int rowIndex) in ConstructMatrixIndexBinaryNode() argument
37 TIntermBinary *colVectorNode = ConstructVectorIndexBinaryNode(symbolNode, colIndex); in ConstructMatrixIndexBinaryNode()
DRemoveUnreferencedVariables.cpp247 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration() local
248 if (symbolNode != nullptr) in visitDeclaration()
250 canRemoveVariable = (*mSymbolIdRefCounts)[symbolNode->uniqueId().get()] == 1u || in visitDeclaration()
251 symbolNode->variable().symbolType() == SymbolType::Empty; in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DReduceInterfaceBlocks.cpp40 if (TIntermSymbol *symbolNode = node.getAsSymbolNode()) in visitDeclarationPre() local
42 const TVariable &var = symbolNode->variable(); in visitDeclarationPre()
90 PreResult visitSymbolPre(TIntermSymbol &symbolNode) override in visitSymbolPre() argument
92 const TVariable &var = symbolNode.variable(); in visitSymbolPre()
108 return symbolNode; in visitSymbolPre()
DDiscoverDependentFunctions.cpp38 void visitSymbol(TIntermSymbol *symbolNode) override in visitSymbol() argument
40 const TVariable &var = symbolNode->variable(); in visitSymbol()
45 const TFunction *owner = discoverEnclosingFunction(symbolNode); in visitSymbol()
DMapSymbols.cpp28 PostResult visitSymbolPost(TIntermSymbol &symbolNode) override in visitSymbolPost() argument
30 return mMap(getParentFunction(), symbolNode); in visitSymbolPost()
DAstHelpers.cpp23 TIntermSymbol *symbolNode; in ViewDeclaration() local
24 if ((symbolNode = childNode->getAsSymbolNode())) in ViewDeclaration()
26 return {*symbolNode, nullptr}; in ViewDeclaration()
33 symbolNode = initNode->getLeft()->getAsSymbolNode(); in ViewDeclaration()
34 ASSERT(symbolNode); in ViewDeclaration()
35 return {*symbolNode, initNode->getRight()}; in ViewDeclaration()
DToposortStructs.cpp222 if (TIntermSymbol *symbolNode = childNode.getAsSymbolNode()) in GetAsDeclaredStructure() local
224 const TVariable &var = symbolNode->variable(); in GetAsDeclaredStructure()
DEmitMetal.cpp1310 void GenMetalTraverser::visitSymbol(TIntermSymbol *symbolNode) in visitSymbol() argument
1312 const TVariable &var = symbolNode->variable(); in visitSymbol()
2140 if (TIntermSymbol *symbolNode = childNode.getAsSymbolNode()) in NewlinePad() local
2142 const TVariable &var = symbolNode->variable(); in NewlinePad()
2227 if (TIntermSymbol *symbolNode = node.getAsSymbolNode()) in visitDeclaration() local
2229 const TVariable &var = symbolNode->variable(); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp430 const TIntermSymbol *symbolNode = node->getAsSymbolNode(); in collectShaderStorageBlocks() local
431 const TType &type = symbolNode->getType(); in collectShaderStorageBlocks()
433 const TVariable &variable = symbolNode->variable(); in collectShaderStorageBlocks()
480 const TIntermSymbol *symbolNode = node->getAsSymbolNode(); in traverseSSBOAccess() local
481 const TVariable &variable = symbolNode->variable(); in traverseSSBOAccess()
482 const TInterfaceBlock *interfaceBlock = symbolNode->getType().getInterfaceBlock(); in traverseSSBOAccess()
516 if (TIntermSymbol *symbolNode = node->getAsSymbolNode()) in traverseNode() local
518 const TVariable &variable = symbolNode->variable(); in traverseNode()
DOutputGLSLBase.cpp947 TIntermSymbol *symbolNode = decl->getAsSymbolNode(); in visitDeclaration() local
948 if (symbolNode == nullptr) in visitDeclaration()
951 symbolNode = decl->getAsBinaryNode()->getLeft()->getAsSymbolNode(); in visitDeclaration()
953 ASSERT(symbolNode); in visitDeclaration()
955 if (symbolNode->getName() != "gl_ClipDistance" && in visitDeclaration()
956 symbolNode->getName() != "gl_CullDistance") in visitDeclaration()
959 writeLayoutQualifier(symbolNode); in visitDeclaration()
962 writeVariableType(symbolNode->getType(), &symbolNode->variable(), false); in visitDeclaration()
963 if (symbolNode->variable().symbolType() != SymbolType::Empty) in visitDeclaration()
DOutputHLSL.cpp100 const TIntermSymbol *symbolNode = node->getAsSymbolNode(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator() local
101 if (symbolNode) in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
103 const TVariable &variable = symbolNode->variable(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
1518 TIntermSymbol *symbolNode = node->getLeft()->getAsSymbolNode(); in visitBinary() local
1519 ASSERT(symbolNode); in visitBinary()
1523 ASSERT(symbolNode->getQualifier() != EvqGlobal || initializer->hasConstantValue()); in visitBinary()
1530 if (writeSameSymbolInitializer(out, symbolNode, initializer)) in visitBinary()
1535 else if (writeConstantInitialization(out, symbolNode, initializer)) in visitBinary()
3406 TIntermSymbol *symbolNode, in writeSameSymbolInitializer() argument
3409 ASSERT(symbolNode->variable().symbolType() != SymbolType::Empty); in writeSameSymbolInitializer()
[all …]
DOutputHLSL.h136 TIntermSymbol *symbolNode,
140 TIntermSymbol *symbolNode,
DCollectVariables.cpp1201 TIntermSymbol *symbolNode = blockNode->getAsSymbolNode(); in visitBinary() local
1202 ASSERT(symbolNode); in visitBinary()
1203 recordBuiltInVaryingUsed(symbolNode->variable(), &mPerVertexInAdded, mInputVaryings); in visitBinary()
1212 TIntermSymbol *symbolNode = blockNode->getAsSymbolNode(); in visitBinary() local
1213 ASSERT(symbolNode); in visitBinary()
1214 recordBuiltInVaryingUsed(symbolNode->variable(), &mPerVertexOutAdded, mOutputVaryings); in visitBinary()
DTranslatorMetalDirect.cpp103 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration() local
104 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration()
/third_party/openGLES/specs/gl/katex/
Dkatex.js1643 var symbolNode;
1649 symbolNode = new domTree.symbolNode(
1657 symbolNode = new domTree.symbolNode(value, 0, 0, 0, 0, classes);
1662 symbolNode.classes.push("mtight");
1665 symbolNode.style.color = options.getColor();
1669 return symbolNode;
1823 var fontSizeInner = makeSpan([], [new domTree.symbolNode("\u200b")]);
1952 ["baseline-fix"], [fontSizer, new domTree.symbolNode("\u200b")]);
2160 if (groups[i] instanceof domTree.symbolNode) {
2430 if (base instanceof domTree.symbolNode) {
[all …]
Dkatex.min.js1symbolNode(e,o.height,o.depth,p,o.skew,l)}else{typeof console!=="undefined"&&console.warn("No char…
2 …</span>";return t}else{return s}};t.exports={span:s,documentFragment:l,symbolNode:u}},{"./unicodeR… property
/third_party/openGLES/specs/katex/
Dkatex.js1643 var symbolNode;
1649 symbolNode = new domTree.symbolNode(
1657 symbolNode = new domTree.symbolNode(value, 0, 0, 0, 0, classes);
1662 symbolNode.classes.push("mtight");
1665 symbolNode.style.color = options.getColor();
1669 return symbolNode;
1823 var fontSizeInner = makeSpan([], [new domTree.symbolNode("\u200b")]);
1952 ["baseline-fix"], [fontSizer, new domTree.symbolNode("\u200b")]);
2160 if (groups[i] instanceof domTree.symbolNode) {
2430 if (base instanceof domTree.symbolNode) {
[all …]
Dkatex.min.js1symbolNode(e,o.height,o.depth,p,o.skew,l)}else{typeof console!=="undefined"&&console.warn("No char…
2 …</span>";return t}else{return s}};t.exports={span:s,documentFragment:l,symbolNode:u}},{"./unicodeR… property
/third_party/openGLES/specs/es/3.2/katex/
Dkatex.js1643 var symbolNode;
1649 symbolNode = new domTree.symbolNode(
1657 symbolNode = new domTree.symbolNode(value, 0, 0, 0, 0, classes);
1662 symbolNode.classes.push("mtight");
1665 symbolNode.style.color = options.getColor();
1669 return symbolNode;
1823 var fontSizeInner = makeSpan([], [new domTree.symbolNode("\u200b")]);
1952 ["baseline-fix"], [fontSizer, new domTree.symbolNode("\u200b")]);
2160 if (groups[i] instanceof domTree.symbolNode) {
2430 if (base instanceof domTree.symbolNode) {
[all …]
Dkatex.min.js1symbolNode(e,o.height,o.depth,p,o.skew,l)}else{typeof console!=="undefined"&&console.warn("No char…
2 …</span>";return t}else{return s}};t.exports={span:s,documentFragment:l,symbolNode:u}},{"./unicodeR… property
/third_party/openGLES/specs/es/katex/
Dkatex.js1643 var symbolNode;
1649 symbolNode = new domTree.symbolNode(
1657 symbolNode = new domTree.symbolNode(value, 0, 0, 0, 0, classes);
1662 symbolNode.classes.push("mtight");
1665 symbolNode.style.color = options.getColor();
1669 return symbolNode;
1823 var fontSizeInner = makeSpan([], [new domTree.symbolNode("\u200b")]);
1952 ["baseline-fix"], [fontSizer, new domTree.symbolNode("\u200b")]);
2160 if (groups[i] instanceof domTree.symbolNode) {
2430 if (base instanceof domTree.symbolNode) {
[all …]
Dkatex.min.js1symbolNode(e,o.height,o.depth,p,o.skew,l)}else{typeof console!=="undefined"&&console.warn("No char…
2 …</span>";return t}else{return s}};t.exports={span:s,documentFragment:l,symbolNode:u}},{"./unicodeR… property
/third_party/glslang/glslang/MachineIndependent/
DlinkValidate.cpp1597 const TIntermSymbol& symbolNode = *linkerObjects[i]->getAsSymbolNode(); in userOutputUsed() local
1598 if (symbolNode.getQualifier().storage == EvqVaryingOut && in userOutputUsed()
1599 symbolNode.getName().compare(0, 3, "gl_") != 0 && in userOutputUsed()
1600 inIoAccessed(symbolNode.getName())) { in userOutputUsed()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp1376 const TIntermSymbol& symbolNode = *base->getAsSymbolNode(); in flattenAccess() local
1377 … TIntermTyped* flattened = flattenAccess(symbolNode.getId(), member, base->getQualifier().storage, in flattenAccess()
1378 dereferencedType, symbolNode.getFlattenSubset()); in flattenAccess()
2868 const TIntermSymbol* symbolNode = node->getAsSymbolNode(); in handleAssign() local
2869 if (symbolNode != nullptr) in handleAssign()
2870 return symbolNode; in handleAssign()
9878 …const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) { in addPatchConstantInvocation() argument
9891 if (symbolNode != nullptr) in addPatchConstantInvocation()
9892 *symbolNode = intermediate.addSymbol(variable); in addPatchConstantInvocation()

12