Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp2477 TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, const TSourceLoc &loc… in addIndexExpression() argument
2481 if(!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression()
2483 if(baseExpression->getAsSymbolNode()) in addIndexExpression()
2486 baseExpression->getAsSymbolNode()->getSymbol().c_str()); in addIndexExpression()
2509 …if(baseExpression->getType().getQualifier() == EvqConstExpr && baseExpression->getAsConstantUnion(… in addIndexExpression()
2511 if(baseExpression->isArray()) in addIndexExpression()
2514 indexedExpression = addConstArrayNode(index, baseExpression, location); in addIndexExpression()
2516 else if(baseExpression->isVector()) in addIndexExpression()
2522 indexedExpression = addConstVectorNode(fields, baseExpression, location); in addIndexExpression()
2524 else if(baseExpression->isMatrix()) in addIndexExpression()
[all …]
DParseHelper.h202 …TIntermTyped *addIndexExpression(TIntermTyped *baseExpression, const TSourceLoc& location, TInterm…
203 …TIntermTyped* addFieldSelectionExpression(TIntermTyped *baseExpression, const TSourceLoc &dotLocat…
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp220 TransformArrayHelper(TIntermTyped *baseExpression) in TransformArrayHelper() argument
221 : mBaseExpression(baseExpression), in TransformArrayHelper()
222 mBaseExpressionType(baseExpression->getType()), in TransformArrayHelper()
859 TIntermTyped *baseExpression = in transformExpression() local
935 baseExpression = in transformExpression()
936 ReplicateIndexNode(mSymbolTable, ancestor, baseExpression, &indices); in transformExpression()
984 baseExpression = new TIntermUnary(EOpArrayLength, baseExpression, nullptr); in transformExpression()
990 queueReplacementWithParent(accessor, originalExpression, baseExpression, in transformExpression()
999 ASSERT(structure != nullptr || baseExpression->getType().isMatrix()); in transformExpression()
1016 baseExpression, primaryIndex, &secondaryIndices, structure, &prependStatements); in transformExpression()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp4695 TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, in addIndexExpression() argument
4699 if (!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression()
4701 if (baseExpression->getAsSymbolNode()) in addIndexExpression()
4704 baseExpression->getAsSymbolNode()->getName()); in addIndexExpression()
4714 if (baseExpression->getQualifier() == EvqPerVertexIn) in addIndexExpression()
4737 if (baseExpression->isInterfaceBlock()) in addIndexExpression()
4739 switch (baseExpression->getQualifier()) in addIndexExpression()
4760 if (!IsShaderIoBlock(baseExpression->getQualifier()) && in addIndexExpression()
4761 baseExpression->getQualifier() != EvqPatchIn && in addIndexExpression()
4762 baseExpression->getQualifier() != EvqPatchOut) in addIndexExpression()
[all …]
DParseContext.h328 TIntermTyped *addIndexExpression(TIntermTyped *baseExpression,
331 TIntermTyped *addFieldSelectionExpression(TIntermTyped *baseExpression,