/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveUnreferencedVariables.cpp | 71 const auto *structure = type.getStruct(); in incrementStructTypeRefCount() 159 auto *structure = type.getStruct(); in decrementStructTypeRefCount() 180 unsigned int structId = declarator->getType().getStruct()->uniqueId().get(); in removeVariableDeclaration() 185 ASSERT(declarator->getAsBinaryNode()->getLeft()->getType().getStruct() == in removeVariableDeclaration() 186 declarator->getType().getStruct()); in removeVariableDeclaration() 187 ASSERT(declarator->getAsBinaryNode()->getRight()->getType().getStruct() == in removeVariableDeclaration() 188 declarator->getType().getStruct()); in removeVariableDeclaration()
|
D | RewriteStructSamplers.cpp | 78 const TStructure *structure = node->getLeft()->getType().getStruct(); in RewriteExpressionVisitBinaryHelper() 285 const TStructure *structure = indexNode->getLeft()->getType().getStruct(); in RewriteModifiedStructFieldSelectionExpression() 363 const TStructure *structure = type.getStruct(); in visitDeclaration() 370 const TStructure *structure = type.getStruct(); in visitDeclaration() 445 const TStructure *fieldStruct = fieldType.getStruct(); in stripStructSpecifierSamplers() 496 const TStructure *structure = type.getStruct(); in isRemovedStructType() 572 const TStructure *structure = fieldType.getStruct(); in extractFieldSamplers()
|
D | ForcePrecisionQualifier.cpp | 61 const TStructure *structure = type.getStruct(); in visitDeclaration()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | ToposortStructs.cpp | 43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl() 152 if (type.isVector() || type.isMatrix() || type.getStruct()) in CreateStructEqualityFunction() 226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure() 265 ASSERT(leftType.getStruct() == rightType.getStruct()); in visitBinary() 266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) in visitBinary() 287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
|
D | EmitMetal.cpp | 382 if ((argType0->getStruct() && argType1->getStruct()) && in GetOperatorString() 389 (argType0->getStruct() && argType1->getStruct()) || in GetOperatorString() 400 if ((argType0->getStruct() && argType1->getStruct()) && in GetOperatorString() 412 else if (argType0->getStruct() && argType1->getStruct()) in GetOperatorString() 883 const TStructure &structure = *type.getStruct(); in emitBareTypeName() 1165 const TStructure *structure = type.getStruct(); in emitUniformBufferDeclaration() 1185 const TStructure &structure = *type.getStruct(); in emitStructDeclaration() 1400 const TStructure *structure = type.getStruct(); in emitConstantUnion() 1477 const TFieldListCollection *fieldListCollection = fieldsType.getStruct(); in getDirectField() 1757 const TStructure *structure = returnType.getStruct(); in emitFunctionReturn() [all …]
|
D | ProgramPrelude.cpp | 3509 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator() 3525 else if (argType0->getStruct() && argType1->getStruct()) in visitOperator() 3534 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator() 3849 if (const TStructure *s = type.getStruct()) in visitVariable() 3964 const TStructure *s = type.getStruct(); in visitDeclaration()
|
D | TranslatorMetalUtils.cpp | 300 return HashName(type.getStruct(), hashFunction, nameMap); in GetMetalTypeName()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | InfoSink.cpp | 92 if (type.getStruct() != nullptr) in operator <<() 94 if (type.getStruct()->symbolType() == SymbolType::Empty) in operator <<() 100 *this << " '" << type.getStruct()->name() << "'"; in operator <<()
|
D | ValidateVaryingLocations.cpp | 35 if (fieldType->getStruct() != nullptr) in GetFieldLocationCount() 37 field_size = GetStructLocationCount(fieldType->getStruct()); in GetFieldLocationCount() 86 if (varyingType.getStruct() != nullptr) in GetLocationCount() 89 for (const TField *field : varyingType.getStruct()->fields()) in GetLocationCount() 92 ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); in GetLocationCount()
|
D | ValidateAST.cpp | 126 a.getStruct() == b.getStruct() && in IsSameType() 187 if (type.getStruct() == nullptr && type.getInterfaceBlock() == nullptr) in visitStructOrInterfaceBlockDeclaration() 234 structOrBlock = type.getStruct(); in visitStructOrInterfaceBlockDeclaration() 246 if (type.getStruct() == nullptr) in visitStructUsage() 253 const TStructure *structure = type.getStruct(); in visitStructUsage() 367 const TSymbol *symbol = expectedType.getStruct(); in validateExpressionTypeBinary() 554 const TStructure *structure = type.getStruct(); in getStructOrInterfaceBlock() 943 const TFieldListCollection *structOrBlock = type.getStruct(); in visitDeclaration()
|
D | StructureHLSL.cpp | 47 const TStructure *fieldStruct = fieldType.getStruct(); in Define() 241 const TStructure *structure = type.getStruct(); in postPaddingString() 320 ensureStructDefined(*fieldType->getStruct()); in defineVariants() 437 ASSERT(type.getStruct() == nullptr); in addBuiltInConstructor()
|
D | BuildSPIRV.cpp | 121 fieldType.getStruct() != nullptr ? GL_NONE : GLVariableType(fieldType); in ToShaderVariable() 123 var.fields.push_back(ToShaderVariable(fieldType.getStruct(), glType, in ToShaderVariable() 365 const bool isBlock = type.isInterfaceBlock() || type.getStruct(); in inferDefaults() 405 if (type.getStruct() != nullptr) in inferDefaults() 431 if (fieldType.getStruct() == nullptr) in onBlockFieldSelection() 545 if (type.getStruct() != nullptr) in getSpirvType() 547 spirvType.block = type.getStruct(); in getSpirvType() 566 if (type.getStruct() != nullptr) in getTypeData() 568 block = type.getStruct(); in getTypeData() 776 getSpirvTypeData(fieldSpirvType, fieldType.getStruct()).id; in declareType()
|
D | OutputHLSL.cpp | 216 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in needStructMapping() 220 if (field->type()->getStruct() == nullptr) in needStructMapping() 520 const TStructure &structure = *type.getStruct(); in structInitializerString() 603 "static " + Decorate(structType->getStruct()->name()) + " " + mappedName; in generateStructMapping() 1368 const TStructure &structure = *type.getStruct(); in outputEqual() 1407 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in ancestorEvaluatesToSamplerInStruct() 1712 const TStructure *structure = node->getLeft()->getType().getStruct(); in visitBinary() 2084 const TStructure *s = nodeBinary->getLeft()->getAsTyped()->getType().getStruct(); in samplerNamePrefixFromStruct() 3323 constructorName = mStructureHLSL->addStructConstructor(*node->getType().getStruct()); in outputConstructor() 3350 const TStructure *structure = type.getStruct(); in writeConstantUnion() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 68 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() function 116 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 1490 getStruct<MachO::encryption_info_command>(*this, Load.Ptr); in MachOObjectFile() 1501 getStruct<MachO::encryption_info_command_64>(*this, Load.Ptr); in MachOObjectFile() 1515 getStruct<MachO::sub_framework_command>(*this, Load.Ptr); in MachOObjectFile() 1528 getStruct<MachO::sub_umbrella_command>(*this, Load.Ptr); in MachOObjectFile() 1541 getStruct<MachO::sub_library_command>(*this, Load.Ptr); in MachOObjectFile() 1554 getStruct<MachO::sub_client_command>(*this, Load.Ptr); in MachOObjectFile() 1625 getStruct<MachO::symtab_command>(*this, SymtabLoadCmd); in MachOObjectFile() 1627 getStruct<MachO::dysymtab_command>(*this, DysymtabLoadCmd); in MachOObjectFile() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | SymbolTable.cpp | 43 structure = p.userDef->getStruct(); in TType() 100 if (!getStruct()) { in getStructSize() 105 return getStruct()->objectSize(); in getStructSize()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | FindPreciseNodes.cpp | 231 block = type.getStruct(); in GetObjectPreciseSubChainLength() 245 block = field->type()->getStruct(); in GetObjectPreciseSubChainLength() 288 block = object.variable->getType().getStruct(); in AddPreciseSubObjects() 294 block = block->fields()[accessChain[length]]->type()->getStruct(); in AddPreciseSubObjects() 586 node->getOp() == EOpConstruct && type.getStruct() != nullptr && !type.isArray(); in visitAggregate()
|
D | DriverUniform.cpp | 156 TType *emulatedDepthRangeDeclType = new TType(emulatedDepthRangeType->getStruct(), true); in addGraphicsDriverUniformsToShader() 202 fieldIndex = FindFieldIndex(mDriverUniforms->getType().getStruct()->fields(), fieldName); in createDriverUniformRef()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 74 const TStructure *structure = type.getStruct(); in IsSupportedTypeForStructuredBuffer() 83 if (!fieldType.isArray() && !fieldType.getStruct() && in IsSupportedTypeForStructuredBuffer() 133 const TStructure *structure = type->getStruct(); in FieldIsOrHasLargeArrayField()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 521 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes() 524 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes() 525 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes() 1252 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeLocationSize() 1309 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeUniformLocationSize() 1377 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeXfbSize() 1561 const TTypeList& memberList = *type.getStruct(); in getBaseAlignment() 1655 const TTypeList& memberList = *type.getStruct(); in getScalarAlignment() 1730 const TTypeList& memberList = *type.getStruct(); in getOffset() 1754 const TTypeList& memberList = *blockType.getStruct(); in getBlockSize()
|
D | SymbolTable.h | 187 memberExtensions->resize(type.getStruct()->size()); in setMemberExtensions() 365 const TTypeList& types = *anonContainer.getType().getStruct(); in getType() 372 const TTypeList& types = *anonContainer.getType().getStruct(); in getWritableType() 451 const TTypeList& types = *symbol.getAsVariable()->getType().getStruct(); in insertAnonymousMembers() 847 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
|
D | iomapper.cpp | 515 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 518 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation() 545 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 548 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 631 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 634 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 712 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 715 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
D | RewriteRowMajorMatrices.cpp | 450 const TStructure *structure = type.getStruct(); in visitDeclaration() 746 const TStructure *fieldTypeStruct = fieldType->getStruct(); in convertField() 939 structure = ancestorType.getStruct(); in transformExpression() 1375 ASSERT(fromFieldType->getStruct()); in getCopyStructFieldFunction() 1376 ASSERT(toFieldType->getStruct()); in getCopyStructFieldFunction() 1385 const TStructure *toFieldStruct = toFieldType->getStruct(); in getCopyStructFieldFunction() 1396 const TStructure *fromFieldStruct = fromFieldType->getStruct(); in getCopyStructFieldFunction() 1419 if (fromType.getStruct()) in addFieldCopy() 1479 bool isStructOrMatrix = fromFieldType->getStruct() || fromFieldType->isMatrix(); in declareStructCopy()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 177 auto it = ioTypeMap.find(memberType.getStruct()); in growGlobalUniformBlock() 677 node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type); in handleVariable() 688 … variable->getType().getBasicType() == EbtStruct) && variable->getType().getStruct() == nullptr) { in handleVariable() 1032 const TTypeList* fields = base->getType().getStruct(); in handleDotDereference() 1294 auto members = *type.getStruct(); in flattenStruct() 1548 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface() 1714 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition() 2303 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO() 2307 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO() 2316 ioTypeMap[type.getStruct()] = newLists; in remapEntryPointIO() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
D | RegenerateStructNames.cpp | 49 const TStructure *userType = type.getStruct(); in visitSymbol()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 441 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in computeStd140BaseAlignment() 571 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in computeStd140Layout() 755 …for (StructType::ConstIterator iter = type.getStruct().begin(); iter != type.getStruct().end(); ++… in collectUniqueBasicTypes() 884 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration() 894 generateLocalDeclaration(src, type.getStruct(), indentLevel+1); in generateDeclaration() 1045 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in generateCompareSrc()
|