/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteTexelFetchOffset.cpp | 97 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()
|
D | RewriteRowMajorMatrices.cpp | 178 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 …]
|
D | RewriteCubeMapSamplersAs2DArray.cpp | 232 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()
|
D | RewriteAtomicCounters.cpp | 198 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration() 288 TIntermTyped *param = (*node->getSequence())[0]->getAsTyped(); in convertBuiltinFunction()
|
D | RemoveAtomicCounterBuiltins.cpp | 22 TIntermTyped *variable = sequence.front()->getAsTyped(); in IsAtomicCounterDecl()
|
D | SeparateDeclarations.cpp | 60 replacementDeclaration->appendDeclarator(sequence->at(ii)->getAsTyped()); in visitDeclaration()
|
D | ForcePrecisionQualifier.cpp | 48 TIntermTyped *variable = sequence.front()->getAsTyped(); in visitDeclaration()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 27 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/ |
D | FunctionLookup.cpp | 85 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()
|
D | VersionGLSL.cpp | 95 if (sequence.front()->getAsTyped()->getType().isInvariant()) in visitDeclaration() 141 TIntermTyped *typed = sequence.front()->getAsTyped(); in visitAggregate()
|
D | IntermNode.cpp | 303 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 …]
|
D | FlagStd140Structs.cpp | 53 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); in visitDeclaration()
|
D | OutputHLSL.cpp | 58 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 …]
|
D | OutputSPIRV.cpp | 1131 const TType &arg0Type = arguments[0]->getAsTyped()->getType(); in createConstructor() 1269 const TType &arg0Type = node->getChildNode(0)->getAsTyped()->getType(); in createConstructorVectorFromMatrix() 1443 const TType ¶meterType = (*node->getSequence())[0]->getAsTyped()->getType(); in createConstructorMatrixFromMatrix() 1563 ¶m, 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/ |
D | ShaderImage_test.cpp | 39 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/ |
D | hlslParseHelper.cpp | 155 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/ |
D | RewriteR32fImages.cpp | 89 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/ |
D | FixTypeConstructors.cpp | 43 TIntermTyped *targ = arg->getAsTyped(); in visitAggregate() 57 TIntermTyped *targ = lastArg->getAsTyped(); in visitAggregate()
|
D | RewriteOutArgs.cpp | 73 TIntermTyped *tyNode = node.getAsTyped(); in GetVariable() 176 TIntermTyped *arg = args[i]->getAsTyped(); in visitAggregatePost()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 1037 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 …]
|
D | ParseHelper.cpp | 737 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/ |
D | RewriteExpressionsWithShaderStorageBlock.cpp | 105 TIntermTyped *typedArg = arg->getAsTyped(); in HasSSBOAsFunctionArgument() 274 IsInShaderStorageBlock((*node->getSequence())[0]->getAsTyped())) in visitAggregate() 290 TIntermTyped *ssboArgument = (*originalArguments)[i]->getAsTyped(); in visitAggregate()
|
D | SeparateArrayConstructorStatements.cpp | 26 TIntermTyped *argTyped = arg->getAsTyped(); in SplitConstructorArgs()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | intermediate.h | 277 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()
|
D | OutputASM.cpp | 1344 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 …]
|