Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/tree_ops/
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 …]
/external/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…
/external/angle/src/compiler/translator/
DParseContext.cpp4635 TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, in addIndexExpression() argument
4639 if (!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression()
4641 if (baseExpression->getAsSymbolNode()) in addIndexExpression()
4644 baseExpression->getAsSymbolNode()->getName()); in addIndexExpression()
4654 if (baseExpression->getQualifier() == EvqPerVertexIn) in addIndexExpression()
4677 if (baseExpression->isInterfaceBlock()) in addIndexExpression()
4679 switch (baseExpression->getQualifier()) in addIndexExpression()
4700 if (!IsShaderIoBlock(baseExpression->getQualifier()) && in addIndexExpression()
4701 baseExpression->getQualifier() != EvqPatchIn && in addIndexExpression()
4702 baseExpression->getQualifier() != EvqPatchOut) in addIndexExpression()
[all …]
DParseContext.h324 TIntermTyped *addIndexExpression(TIntermTyped *baseExpression,
327 TIntermTyped *addFieldSelectionExpression(TIntermTyped *baseExpression,