Home
last modified time | relevance | path

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

1234

/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()
DRewriteRowMajorMatrices.cpp178 TIntermTyped *rhs = indices->front()->getAsTyped(); in ReplicateIndexNode()
258 TIntermTyped *firstElement = mReadTransformConstructorArgs.front()->getAsTyped(); in constructReadTransformExpression()
443 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
564 TIntermTyped *variableNode = sequence.front()->getAsTyped(); in convertInterfaceBlock()
886 TIntermTyped *ancestor = getAncestorNode(accessorIndex)->getAsTyped(); in transformExpression()
1055 CreateTempVariable(mSymbolTable, &originalExpression->getAsTyped()->getType()); in transformExpression()
1229 TIntermTyped *primaryIndexAsTyped = primaryIndex->getAsTyped(); in transformReadExpression()
1235 TIntermTyped *secondaryIndexAsTyped = secondaryIndex->getAsTyped(); in transformReadExpression()
1248 return transposedColumn.front()->getAsTyped(); in transformReadExpression()
1347 TIntermTyped *primaryIndexAsTyped = primaryIndex->getAsTyped(); in transformWriteExpression()
[all …]
DRewriteCubeMapSamplersAs2DArray.cpp232 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
854 dPdx = (*arguments)[2]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
855 dPdy = (*arguments)[3]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
882 (*arguments)[1]->getAsTyped()->deepCopy(), dPdx, dPdy, dUVdx, dUVdy); in convertBuiltinFunction()
887 (*arguments)[1]->getAsTyped()->deepCopy(), dUVdx, dUVdy); in convertBuiltinFunction()
897 TIntermTyped *bias = (*arguments)[2]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
926 substituteArguments.push_back((*arguments)[argIndex]->getAsTyped()->deepCopy()); in convertBuiltinFunction()
DRewriteAtomicCounters.cpp198 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
288 TIntermTyped *param = (*node->getSequence())[0]->getAsTyped(); in convertBuiltinFunction()
DRemoveAtomicCounterBuiltins.cpp22 TIntermTyped *variable = sequence.front()->getAsTyped(); in IsAtomicCounterDecl()
DSeparateDeclarations.cpp60 replacementDeclaration->appendDeclarator(sequence->at(ii)->getAsTyped()); in visitDeclaration()
DForcePrecisionQualifier.cpp48 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp27 TIntermTyped *node = sequence[ii]->getAsTyped(); in ContainsMatrixNode()
38 TIntermTyped *node = sequence[ii]->getAsTyped(); in ContainsVectorNode()
187 if (node->getSequence()->front()->getAsTyped()->getType().isStructureContainingArrays()) in match()
195 if (declarator->getAsTyped()->isArray()) in match()
203 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.cpp303 ASSERT(original->getAsTyped()->getType() == replacement->getAsTyped()->getType()); in replaceChildNode()
344 ASSERT(original->getAsTyped()->getType() == replacement->getAsTyped()->getType()); in replaceChildNode()
653 TIntermTyped *typedArg = arg->getAsTyped(); in areChildrenConstQualified()
675 TIntermTyped *typed = (*childIter)->getAsTyped(); in setPrecisionFromChildren()
697 mType.setPrecision(mArguments[0]->getAsTyped()->getPrecision()); in setPrecisionForSpecialBuiltInOp()
701 mType.setPrecision(GetHigherPrecision(mArguments[0]->getAsTyped()->getPrecision(), in setPrecisionForSpecialBuiltInOp()
702 mArguments[1]->getAsTyped()->getPrecision())); in setPrecisionForSpecialBuiltInOp()
723 TIntermTyped *typed = arg->getAsTyped(); in setBuiltInFunctionPrecision()
764 if (!constructorArg->getAsTyped()->hasConstantValue()) in hasConstantValue()
780 if (!constructorArg->getAsTyped()->isConstantNullValue()) in isConstantNullValue()
[all …]
DFlagStd140Structs.cpp53 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); in visitDeclaration()
DOutputHLSL.cpp58 TIntermTyped *variable = (*sequence)[0]->getAsTyped(); in IsDeclarationWrittenOut()
152 return !IsInShaderStorageBlock((*aggregateNode->getSequence())[0]->getAsTyped()); in IsAtomicFunctionForSharedVariableDirectAssign()
2077 const TStructure *s = nodeBinary->getLeft()->getAsTyped()->getType().getStruct(); in samplerNamePrefixFromStruct()
2254 TIntermTyped *declarator = (*sequence)[0]->getAsTyped(); in visitDeclaration()
2401 TType type = (*arguments)[0]->getAsTyped()->getType(); in visitAggregate()
2417 TBasicType samplerType = (*arguments)[0]->getAsTyped()->getType().getBasicType(); in visitAggregate()
2421 coords = (*arguments)[1]->getAsTyped()->getNominalSize(); in visitAggregate()
2431 TIntermTyped *typedArg = (*arg)->getAsTyped(); in visitAggregate()
2523 TIntermTyped *lastParamNode = (*(node->getSequence()))[2]->getAsTyped(); in visitAggregate()
2657 TIntermTyped *memNode = (*node->getSequence())[0]->getAsTyped(); in visitAggregate()
[all …]
DOutputSPIRV.cpp1131 const TType &arg0Type = arguments[0]->getAsTyped()->getType(); in createConstructor()
1269 const TType &arg0Type = node->getChildNode(0)->getAsTyped()->getType(); in createConstructorVectorFromMatrix()
1443 const TType &parameterType = (*node->getSequence())[0]->getAsTyped()->getType(); in createConstructorMatrixFromMatrix()
1563 &param, node->getChildNode(paramIndex)->getAsTyped()->getType(), nullptr); in loadAllParams()
1590 const TType &argumentType = argument->getAsTyped()->getType(); in extractComponents()
1872 return node->getChildNode(1)->getAsTyped()->hasSideEffects(); in IsShortCircuitNeeded()
1932 TIntermTyped *firstChild = node->getChildNode(0)->getAsTyped(); in visitOperator()
2078 binarySwapOperands = node->getChildNode(1)->getAsTyped()->getType().isVector(); in visitOperator()
2272 if (node->getChildNode(childCount - 1)->getAsTyped()->getType().getBasicType() == in visitOperator()
2598 const TType &leftType = node->getChildNode(0)->getAsTyped()->getType(); in visitOperator()
[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/deqp-deps/glslang/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()
3154 TIntermTyped* matrix = left->getAsBinaryNode()->getLeft()->getAsTyped(); in handleAssignToMatrixSwizzle()
3395 bufferObj = argAggregate->getSequence()[0]->getAsTyped(); in decomposeStructBufferMethods()
3429 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3461 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3528 … TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped()); // index in decomposeStructBufferMethods()
3529 TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped(); // value in decomposeStructBufferMethods()
[all …]
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp89 TIntermTyped *rewritten = block.getChildNode(0)->getAsTyped(); in RewriteExpression()
134 TIntermTyped *imageExpression = (*arguments)[0]->getAsTyped(); in RewriteBuiltinFunctionCall()
190 TIntermTyped *arg = (*arguments)[argIndex]->getAsTyped(); in RewriteBuiltinFunctionCall()
205 TIntermTyped *data = substituteArguments.back()->getAsTyped(); in RewriteBuiltinFunctionCall()
271 TIntermTyped *declVariable = sequence.front()->getAsTyped(); in visitDeclaration()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DFixTypeConstructors.cpp43 TIntermTyped *targ = arg->getAsTyped(); in visitAggregate()
57 TIntermTyped *targ = lastArg->getAsTyped(); in visitAggregate()
DRewriteOutArgs.cpp73 TIntermTyped *tyNode = node.getAsTyped(); in GetVariable()
176 TIntermTyped *arg = args[i]->getAsTyped(); in visitAggregatePost()
/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.cpp737 rValueErrorCheck(loc, str, left->getAsTyped()); in handleBinaryMath()
738 rValueErrorCheck(loc, str, right->getAsTyped()); in handleBinaryMath()
1189 if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped())) in handleFunctionCall()
1192 const TType& argType = arg->getAsTyped()->getType(); in handleFunctionCall()
1225 if (builtIn && arg->getAsTyped()->getType().contains16BitFloat()) in handleFunctionCall()
1227 if (builtIn && arg->getAsTyped()->getType().contains16BitInt()) in handleFunctionCall()
1229 if (builtIn && arg->getAsTyped()->getType().contains8BitInt()) in handleFunctionCall()
1285 if (result->getAsTyped()->getType().isCoopMat() && in handleFunctionCall()
1286 !result->getAsTyped()->getType().isParameterized()) { in handleFunctionCall()
1289 … result->setType(result->getAsAggregate()->getSequence()[2]->getAsTyped()->getType()); in handleFunctionCall()
[all …]
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteExpressionsWithShaderStorageBlock.cpp105 TIntermTyped *typedArg = arg->getAsTyped(); in HasSSBOAsFunctionArgument()
274 IsInShaderStorageBlock((*node->getSequence())[0]->getAsTyped())) in visitAggregate()
290 TIntermTyped *ssboArgument = (*originalArguments)[i]->getAsTyped(); in visitAggregate()
DSeparateArrayConstructorStatements.cpp26 TIntermTyped *argTyped = arg->getAsTyped(); in SplitConstructorArgs()
/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 …]

1234