Home
last modified time | relevance | path

Searched refs:getAsTyped (Results 1 – 25 of 71) sorted by relevance

123

/external/angle/src/compiler/translator/tree_ops/
DRewriteTexelFetchOffset.cpp97 bool is2DArray = sequence->at(1)->getAsTyped()->getNominalSize() == 3 && in visitAggregate()
98 sequence->at(3)->getAsTyped()->getNominalSize() == 2; in visitAggregate()
109 TIntermTyped *texCoordNode = sequence->at(1)->getAsTyped(); in visitAggregate()
114 ASSERT(sequence->at(3)->getAsTyped()); in visitAggregate()
120 constructOffsetIvecArguments->push_back(sequence->at(3)->getAsTyped()); in visitAggregate()
131 offsetNode = sequence->at(3)->getAsTyped(); in visitAggregate()
DRemovePow.cpp57 TIntermTyped *x = node->getSequence()->at(0)->getAsTyped(); in visitAggregate()
58 TIntermTyped *y = node->getSequence()->at(1)->getAsTyped(); in visitAggregate()
DRewriteRowMajorMatrices.cpp177 TIntermTyped *rhs = indices->front()->getAsTyped(); in ReplicateIndexNode()
257 TIntermTyped *firstElement = mReadTransformConstructorArgs.front()->getAsTyped(); in constructReadTransformExpression()
439 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
560 TIntermTyped *variableNode = sequence.front()->getAsTyped(); in convertInterfaceBlock()
887 TIntermTyped *ancestor = getAncestorNode(accessorIndex)->getAsTyped(); in transformExpression()
1056 CreateTempVariable(mSymbolTable, &originalExpression->getAsTyped()->getType()); in transformExpression()
1230 TIntermTyped *primaryIndexAsTyped = primaryIndex->getAsTyped(); in transformReadExpression()
1236 TIntermTyped *secondaryIndexAsTyped = secondaryIndex->getAsTyped(); in transformReadExpression()
1249 return transposedColumn.front()->getAsTyped(); in transformReadExpression()
1348 TIntermTyped *primaryIndexAsTyped = primaryIndex->getAsTyped(); in transformWriteExpression()
[all …]
DRewriteExpressionsWithShaderStorageBlock.cpp105 TIntermTyped *typedArg = arg->getAsTyped(); in HasSSBOAsFunctionArgument()
274 IsInShaderStorageBlock((*node->getSequence())[0]->getAsTyped())) in visitAggregate()
290 TIntermTyped *ssboArgument = (*originalArguments)[i]->getAsTyped(); in visitAggregate()
DRewriteCubeMapSamplersAs2DArray.cpp228 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
894 dPdx = (*arguments)[2]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
895 dPdy = (*arguments)[3]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
922 (*arguments)[1]->getAsTyped()->deepCopy(), dPdx, dPdy, dUVdx, dUVdy); in convertBuiltinFunction()
927 (*arguments)[1]->getAsTyped()->deepCopy(), dUVdx, dUVdy); in convertBuiltinFunction()
937 TIntermTyped *bias = (*arguments)[2]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
966 substituteArguments->push_back((*arguments)[argIndex]->getAsTyped()->deepCopy()); in convertBuiltinFunction()
DRemoveAtomicCounterBuiltins.cpp22 TIntermTyped *variable = sequence.front()->getAsTyped(); in IsAtomicCounterDecl()
DRewriteStructSamplersOld.cpp113 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration()
643 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in getNameFromIndex()
659 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in visitStructParam()
666 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in visitNonStructParam()
DSeparateArrayConstructorStatements.cpp26 TIntermTyped *argTyped = arg->getAsTyped(); in SplitConstructorArgs()
DSeparateDeclarations.cpp60 replacementDeclaration->appendDeclarator(sequence->at(ii)->getAsTyped()); in visitDeclaration()
DRewriteStructSamplers.cpp209 const TType &type = node->getAsTyped()->getType(); in GenerateFunctionFromArguments()
333 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration()
935 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in getNameFromIndex()
947 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in visitSamplerInStructParam()
988 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in visitStructParam()
995 TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); in visitNonStructParam()
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp27 TIntermTyped *node = sequence[ii]->getAsTyped(); in ContainsMatrixNode()
38 TIntermTyped *node = sequence[ii]->getAsTyped(); in ContainsVectorNode()
184 if (node->getSequence()->front()->getAsTyped()->getType().isStructureContainingArrays()) in match()
192 if (declarator->getAsTyped()->isArray()) in match()
200 TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); in match()
/external/angle/src/compiler/translator/
DFunctionLookup.cpp85 newName += argument->getAsTyped()->getType().getMangledName(); in GetMangledName()
99 TBasicType argType = argument->getAsTyped()->getType().getBasicType(); in GetMangledNames()
122 TType type = argument->getAsTyped()->getType(); in GetMangledNames()
130 newName += argument->getAsTyped()->getType().getMangledName(); in GetMangledNames()
DVersionGLSL.cpp95 if (sequence.front()->getAsTyped()->getType().isInvariant()) in visitDeclaration()
141 TIntermTyped *typed = sequence.front()->getAsTyped(); in visitAggregate()
DIntermNode.cpp308 ASSERT(original->getAsTyped()->getType() == replacement->getAsTyped()->getType()); in replaceChildNode()
349 ASSERT(original->getAsTyped()->getType() == replacement->getAsTyped()->getType()); in replaceChildNode()
602 TIntermTyped *typedArg = arg->getAsTyped(); in areChildrenConstQualified()
624 TIntermTyped *typed = (*childIter)->getAsTyped(); in setPrecisionFromChildren()
647 mType.setPrecision(mArguments[0]->getAsTyped()->getPrecision()); in setPrecisionForSpecialBuiltInOp()
651 mType.setPrecision(GetHigherPrecision(mArguments[0]->getAsTyped()->getPrecision(), in setPrecisionForSpecialBuiltInOp()
652 mArguments[1]->getAsTyped()->getPrecision())); in setPrecisionForSpecialBuiltInOp()
673 TIntermTyped *typed = arg->getAsTyped(); in setBuiltInFunctionPrecision()
711 if (!constructorArg->getAsTyped()->hasConstantValue()) in hasConstantValue()
731 size_t elementSize = mArguments.front()->getAsTyped()->getType().getObjectSize(); in getConstantValue()
[all …]
DFlagStd140Structs.cpp53 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); in visitDeclaration()
DOutputHLSL.cpp58 TIntermTyped *variable = (*sequence)[0]->getAsTyped(); in IsDeclarationWrittenOut()
149 return !IsInShaderStorageBlock((*aggregateNode->getSequence())[0]->getAsTyped()); in IsAtomicFunctionForSharedVariableDirectAssign()
2063 const TStructure *s = nodeBinary->getLeft()->getAsTyped()->getType().getStruct(); in samplerNamePrefixFromStruct()
2240 TIntermTyped *declarator = (*sequence)[0]->getAsTyped(); in visitDeclaration()
2387 TType type = (*arguments)[0]->getAsTyped()->getType(); in visitAggregate()
2403 TBasicType samplerType = (*arguments)[0]->getAsTyped()->getType().getBasicType(); in visitAggregate()
2407 coords = (*arguments)[1]->getAsTyped()->getNominalSize(); in visitAggregate()
2417 TIntermTyped *typedArg = (*arg)->getAsTyped(); in visitAggregate()
2509 TIntermTyped *lastParamNode = (*(node->getSequence()))[2]->getAsTyped(); in visitAggregate()
2613 TIntermTyped *memNode = (*node->getSequence())[0]->getAsTyped(); in visitAggregate()
[all …]
/external/angle/src/tests/compiler_tests/
DShaderImage_test.cpp39 const TIntermTyped *storeArgument1Typed = (*storeArguments)[0]->getAsTyped(); in CheckImageStoreCall()
42 const TIntermTyped *storeArgument2Typed = (*storeArguments)[1]->getAsTyped(); in CheckImageStoreCall()
46 const TIntermTyped *storeArgument3Typed = (*storeArguments)[2]->getAsTyped(); in CheckImageStoreCall()
66 const TIntermTyped *loadArgument1Typed = (*loadArguments)[0]->getAsTyped(); in CheckImageLoadCall()
69 const TIntermTyped *loadArgument2Typed = (*loadArguments)[1]->getAsTyped(); in CheckImageLoadCall()
/external/angle/third_party/glslang/src/hlsl/
DhlslParseHelper.cpp155 if (node == nullptr || node->getAsTyped() == nullptr) in shouldConvertLValue()
228 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck()
375 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue()
376 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue()
3070 TIntermTyped* matrix = left->getAsBinaryNode()->getLeft()->getAsTyped(); in handleAssignToMatrixSwizzle()
3311 bufferObj = argAggregate->getSequence()[0]->getAsTyped(); in decomposeStructBufferMethods()
3345 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3377 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3444 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3445 TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped(); // value in decomposeStructBufferMethods()
[all …]
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp155 if (node == nullptr || node->getAsTyped() == nullptr) in shouldConvertLValue()
228 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck()
375 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue()
376 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue()
3070 TIntermTyped* matrix = left->getAsBinaryNode()->getLeft()->getAsTyped(); in handleAssignToMatrixSwizzle()
3311 bufferObj = argAggregate->getSequence()[0]->getAsTyped(); in decomposeStructBufferMethods()
3345 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3377 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3444 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3445 TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped(); // value in decomposeStructBufferMethods()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp1037 objectSize = children[0]->getAsTyped()->getType().getVectorSize() * in fold()
1038 children[1]->getAsTyped()->getType().getVectorSize(); in fold()
1042 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1043 children[1]->getAsTyped()->getType().getVectorSize()); in fold()
1047 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1048 children[2]->getAsTyped()->getType().getVectorSize()); in fold()
1063 int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1066 arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1069 arg2comp = std::min(comp, children[2]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1087 switch(children[0]->getAsTyped()->getBasicType()) { in fold()
[all …]
DParseHelper.cpp729 rValueErrorCheck(loc, str, left->getAsTyped()); in handleBinaryMath()
730 rValueErrorCheck(loc, str, right->getAsTyped()); in handleBinaryMath()
1178 if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped())) in handleFunctionCall()
1181 const TType& argType = arg->getAsTyped()->getType(); in handleFunctionCall()
1214 if (builtIn && arg->getAsTyped()->getType().contains16BitFloat()) in handleFunctionCall()
1216 if (builtIn && arg->getAsTyped()->getType().contains16BitInt()) in handleFunctionCall()
1218 if (builtIn && arg->getAsTyped()->getType().contains8BitInt()) in handleFunctionCall()
1274 if (result->getAsTyped()->getType().isCoopMat() && in handleFunctionCall()
1275 !result->getAsTyped()->getType().isParameterized()) { in handleFunctionCall()
1278 … result->setType(result->getAsAggregate()->getSequence()[2]->getAsTyped()->getType()); in handleFunctionCall()
[all …]
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DConstant.cpp1037 objectSize = children[0]->getAsTyped()->getType().getVectorSize() * in fold()
1038 children[1]->getAsTyped()->getType().getVectorSize(); in fold()
1042 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1043 children[1]->getAsTyped()->getType().getVectorSize()); in fold()
1047 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1048 children[2]->getAsTyped()->getType().getVectorSize()); in fold()
1063 int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1066 arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1069 arg2comp = std::min(comp, children[2]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1087 switch(children[0]->getAsTyped()->getBasicType()) { in fold()
[all …]
DParseHelper.cpp719 rValueErrorCheck(loc, str, left->getAsTyped()); in handleBinaryMath()
720 rValueErrorCheck(loc, str, right->getAsTyped()); in handleBinaryMath()
1157 if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped())) in handleFunctionCall()
1160 const TType& argType = arg->getAsTyped()->getType(); in handleFunctionCall()
1193 if (builtIn && arg->getAsTyped()->getType().contains16BitFloat()) in handleFunctionCall()
1195 if (builtIn && arg->getAsTyped()->getType().contains16BitInt()) in handleFunctionCall()
1197 if (builtIn && arg->getAsTyped()->getType().contains8BitInt()) in handleFunctionCall()
1253 if (result->getAsTyped()->getType().isCoopMat() && in handleFunctionCall()
1254 !result->getAsTyped()->getType().isParameterized()) { in handleFunctionCall()
1257 … result->setType(result->getAsAggregate()->getSequence()[2]->getAsTyped()->getType()); in handleFunctionCall()
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dintermediate.h277 virtual TIntermTyped* getAsTyped() { return 0; } in getAsTyped() function
308 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() function
558 if(!node->getAsTyped() || node->getAsTyped()->getQualifier() != EvqConstExpr) in setType()
DOutputASM.cpp1344 TIntermTyped *in = arguments[i]->getAsTyped(); in visitAggregate()
1365 TIntermTyped *argument = arguments[i]->getAsTyped(); in visitAggregate()
1366 TIntermTyped *out = arg[i]->getAsTyped(); in visitAggregate()
1378 TIntermTyped *s = arg[0]->getAsTyped(); in visitAggregate()
1379 TIntermTyped *t = arg[1]->getAsTyped(); in visitAggregate()
1505 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate()
1563 TIntermTyped *arg0 = arg[0]->getAsTyped(); in visitAggregate()
1593 TIntermTyped *argi = arg[n]->getAsTyped(); in visitAggregate()
1621 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate()
1646 TIntermTyped *argi = arg[i]->getAsTyped(); in visitAggregate()
[all …]

123