Home
last modified time | relevance | path

Searched refs:getAsTyped (Results 1 – 25 of 89) 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 …]
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()
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()
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()
/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/third_party/vulkan-deps/glslang/src/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/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DConstant.cpp1036 objectSize = children[0]->getAsTyped()->getType().getVectorSize() * in fold()
1037 children[1]->getAsTyped()->getType().getVectorSize(); in fold()
1041 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1042 children[1]->getAsTyped()->getType().getVectorSize()); in fold()
1046 objectSize = std::max(children[0]->getAsTyped()->getType().getVectorSize(), in fold()
1047 children[2]->getAsTyped()->getType().getVectorSize()); in fold()
1062 int arg0comp = std::min(comp, children[0]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1065 arg1comp = std::min(comp, children[1]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1068 arg2comp = std::min(comp, children[2]->getAsTyped()->getType().getVectorSize() - 1); in fold()
1086 switch(children[0]->getAsTyped()->getBasicType()) { in fold()
[all …]
DParseHelper.cpp839 rValueErrorCheck(loc, str, left->getAsTyped()); in handleBinaryMath()
840 rValueErrorCheck(loc, str, right->getAsTyped()); in handleBinaryMath()
1318 if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped())) in handleFunctionCall()
1323 if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) { in handleFunctionCall()
1330 const TType& argType = arg->getAsTyped()->getType(); in handleFunctionCall()
1363 if (builtIn && arg->getAsTyped()->getType().contains16BitFloat()) in handleFunctionCall()
1365 if (builtIn && arg->getAsTyped()->getType().contains16BitInt()) in handleFunctionCall()
1367 if (builtIn && arg->getAsTyped()->getType().contains8BitInt()) in handleFunctionCall()
1428 if (result->getAsTyped()->getType().isCoopMat() && in handleFunctionCall()
1429 !result->getAsTyped()->getType().isParameterized()) { 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()

1234