/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 | RemovePow.cpp | 57 TIntermTyped *x = node->getSequence()->at(0)->getAsTyped(); in visitAggregate() 58 TIntermTyped *y = node->getSequence()->at(1)->getAsTyped(); in visitAggregate()
|
D | RewriteRowMajorMatrices.cpp | 177 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 …]
|
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 | RewriteCubeMapSamplersAs2DArray.cpp | 228 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()
|
D | RemoveAtomicCounterBuiltins.cpp | 22 TIntermTyped *variable = sequence.front()->getAsTyped(); in IsAtomicCounterDecl()
|
D | RewriteStructSamplersOld.cpp | 113 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()
|
D | SeparateArrayConstructorStatements.cpp | 26 TIntermTyped *argTyped = arg->getAsTyped(); in SplitConstructorArgs()
|
D | SeparateDeclarations.cpp | 60 replacementDeclaration->appendDeclarator(sequence->at(ii)->getAsTyped()); in visitDeclaration()
|
D | RewriteStructSamplers.cpp | 209 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/ |
D | IntermNodePatternMatcher.cpp | 27 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/ |
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 | 308 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 …]
|
D | FlagStd140Structs.cpp | 53 TIntermTyped *declarator = node->getSequence()->back()->getAsTyped(); in visitDeclaration()
|
D | OutputHLSL.cpp | 58 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/ |
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/angle/third_party/glslang/src/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() 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/ |
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() 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/ |
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 | 729 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/ |
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 | 719 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/ |
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 …]
|