/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | Pipeline.h | 107 PipelineScoped<TStructure> fragmentIn; 108 PipelineScoped<TStructure> fragmentOut; 109 PipelineScoped<TStructure> vertexIn; 110 PipelineScoped<TStructure> vertexOut; 111 PipelineScoped<TStructure> userUniforms; 112 PipelineScoped<TStructure> angleUniforms; 113 PipelineScoped<TStructure> nonConstantGlobals; 114 PipelineScoped<TStructure> invocationVertexGlobals; 115 PipelineScoped<TStructure> invocationFragmentGlobals; 116 PipelineScoped<TStructure> uniformBuffers; [all …]
|
D | ToposortStructs.cpp | 31 void BuildGraphImpl(SymbolEnv &symbolEnv, Graph<const TStructure *> &g, const TStructure *s) in BuildGraphImpl() 38 Edges<const TStructure *> &es = g[s]; in BuildGraphImpl() 43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl() 47 Edges<const TStructure *> &ez = g[z]; in BuildGraphImpl() 53 Graph<const TStructure *> BuildGraph(SymbolEnv &symbolEnv, in BuildGraph() 54 const std::vector<const TStructure *> &structs) in BuildGraph() 56 Graph<const TStructure *> g; in BuildGraph() 57 for (const TStructure *s : structs) in BuildGraph() 130 const TStructure &aStructType) in CreateStructEqualityFunction() 208 const TStructure *structure; [all …]
|
D | SymbolEnv.h | 138 using AngleStructs = std::map<ImmutableString, TStructure *>; 139 using TextureStructs = std::map<TBasicType, TStructure *>; 157 const TStructure &remap(const TStructure &s) const; 160 const TStructure *remap(const TStructure *s) const; 175 const TStructure &newStructure(const Name &name, TFieldList &fields); 177 const TStructure &getTextureEnv(TBasicType samplerType); 178 const TStructure &getSamplerStruct(); 205 std::map<Name, const TStructure *> mNameToStruct; 212 std::unordered_map<TBasicType, const TStructure *> mTextureEnvs; 213 const TStructure *mSampler = nullptr;
|
D | ModifyStruct.h | 94 const TStructure *modifiedStruct = nullptr; 117 const ModifiedStructMachinery *find(const TStructure &s) const; 118 void insert(const TStructure &s, const ModifiedStructMachinery &machinery); 121 std::unordered_map<const TStructure *, ModifiedStructMachinery> originalToMachinery; 122 std::vector<const TStructure *> ordering; 131 const TStructure &originalStruct,
|
D | AstHelpers.h | 32 const TVariable &CreateStructTypeVariable(TSymbolTable &symbolTable, const TStructure &structure); 36 const TStructure &structure, 69 const TStructure &newReturn); 79 int GetFieldIndex(const TStructure &structure, const ImmutableString &fieldName); 138 bool HasMatrixField(const TStructure &structure); 141 bool HasArrayField(const TStructure &structure);
|
D | SymbolEnv.cpp | 40 using NameToStruct = std::map<Name, const TStructure *>; 56 const TStructure *s = type.getStruct(); in visitDeclarationPre() 59 const TStructure *&z = nameToStruct[name]; in visitDeclarationPre() 233 if (const TStructure *s = type.getStruct()) in fullName() 286 const TStructure &SymbolEnv::remap(const TStructure &s) const in remap() 294 const TStructure &z = *iter->second; in remap() 298 const TStructure *SymbolEnv::remap(const TStructure *s) const in remap() 375 const TStructure &SymbolEnv::newStructure(const Name &name, TFieldList &fields) in newStructure() 379 TStructure *&s = mAngleStructs[name.rawName()]; in newStructure() 381 s = new TStructure(&mSymbolTable, name.rawName(), &fields, name.symbolType()); in newStructure() [all …]
|
D | RewriteKeywords.cpp | 37 Remapping<TStructure> mStructures; 118 const TStructure *createRenamed(const TStructure &structure) in createRenamed() 121 new TStructure(&mSymbolTable, maybeCreateNewName(structure), in createRenamed() 133 if (const TStructure *structure = type.getStruct()) in createRenamed() 216 const TStructure *tryGetRenamed(const TStructure &structure) in tryGetRenamed() 320 bool needsRenaming(const TStructure &structure, bool recursive) const in needsRenaming() 328 if (const TStructure *structure = type.getStruct()) in needsRenaming()
|
D | NameEmbeddedUniformStructsMetal.cpp | 45 const TStructure *structure = type.getStruct(); in visitDeclaration() 67 const TStructure *oldStructure) in doReplacement() 70 TStructure *structure = new TStructure(mSymbolTable, kEmptyImmutableString, in doReplacement()
|
D | RewritePipelines.cpp | 39 PipelineScoped<TStructure> pipelineStruct; 114 const TStructure &pipelineStruct = [&]() -> const TStructure & { in exec() 207 const TStructure &createInternalPipelineStruct(TIntermBlock &root, TIntermSequence &outDeclSeq) in createInternalPipelineStruct() 221 const TStructure &textureEnv = mSymbolEnv.getTextureEnv(samplerType); in createInternalPipelineStruct() 265 auto &s = *new TStructure(&mSymbolTable, pipelineStructName.rawName(), &fields, in createInternalPipelineStruct() 278 PipelineScoped<TStructure> pipelineStruct) in CreatePipelineMainLocalVar() 334 const PipelineScoped<TStructure> mPipelineStruct; 345 PipelineScoped<TStructure> pipelineStruct, in PipelineFunctionEnv() 407 const TStructure *textureEnv = field->type()->getStruct(); in getUpdatedFunction() 467 const TStructure *externalEnv = externalType.getStruct(); in getUpdatedFunction() [all …]
|
D | AstHelpers.cpp | 40 const TStructure &structure) in CreateStructTypeVariable() 48 const TStructure &structure, in CreateInstanceVariable() 162 const TStructure &newReturn) in CloneFunctionAndChangeReturnType() 194 int sh::GetFieldIndex(const TStructure &structure, const ImmutableString &fieldName) in GetFieldIndex() 218 const TStructure *structure = object.getType().getStruct(); in AccessField() 231 const TStructure *structure = type.getStruct(); in AccessFieldByIndex() 397 bool sh::HasMatrixField(const TStructure &structure) in HasMatrixField() 410 bool sh::HasArrayField(const TStructure &structure) in HasArrayField()
|
D | SeparateCompoundStructDeclarations.cpp | 39 const TStructure *structure = type.getStruct(); in visitDeclaration() 45 const TStructure *structDefn = in visitDeclaration() 46 new TStructure(mSymbolTable, mIdGen.createNewName("__unnamed").rawName(), in visitDeclaration()
|
D | ModifyStruct.cpp | 30 const TStructure *s = ordering[index]; in at() 36 const ModifiedStructMachinery *ModifiedStructMachineries::find(const TStructure &s) const in find() 46 void ModifiedStructMachineries::insert(const TStructure &s, in insert() 175 void publish(const TStructure &originalStruct, const Name &modifiedStructName) in publish() 179 auto &modifiedStruct = *new TStructure(&symbolTable, modifiedStructName.rawName(), in publish() 358 bool recurse(const TStructure &structure, in recurse() 659 const TStructure *substructure = state.symbolEnv.remap(type.getStruct()); in InlineStruct() 691 const TStructure *substructure = state.symbolEnv.remap(type.getStruct()); in RecurseStruct() 1027 const TStructure &originalStruct, in TryCreateModifiedStruct()
|
D | ReduceInterfaceBlocks.cpp | 50 *new TStructure(&mSymbolTable, interfaceBlock->name(), in visitDeclarationPre() 69 *new TStructure(&mSymbolTable, interfaceBlock->name(), in visitDeclarationPre()
|
/external/angle/src/compiler/translator/ |
D | StructureHLSL.h | 56 TString addStructConstructor(const TStructure &structure); 59 static TString defineNameless(const TStructure &structure); 60 void ensureStructDefined(const TStructure &structure); 93 void storeStd140ElementIndex(const TStructure &structure, bool useHLSLRowMajorPacking); 94 TString defineQualified(const TStructure &structure, 98 DefinedStructs::iterator defineVariants(const TStructure &structure, const TString &name);
|
D | StructureHLSL.cpp | 23 TString Define(const TStructure &structure, in Define() 47 const TStructure *fieldStruct = fieldType.getStruct(); in Define() 241 const TStructure *structure = type.getStruct(); in postPaddingString() 288 TString StructureHLSL::defineQualified(const TStructure &structure, in defineQualified() 305 TString StructureHLSL::defineNameless(const TStructure &structure) in defineNameless() 310 StructureHLSL::DefinedStructs::iterator StructureHLSL::defineVariants(const TStructure &structure, in defineVariants() 360 void StructureHLSL::ensureStructDefined(const TStructure &structure) in ensureStructDefined() 373 TString StructureHLSL::addStructConstructor(const TStructure &structure) in addStructConstructor() 650 void StructureHLSL::storeStd140ElementIndex(const TStructure &structure, in storeStd140ElementIndex()
|
D | UtilsHLSL.h | 120 TString DecorateField(const ImmutableString &string, const TStructure &structure); 123 TString StructNameString(const TStructure &structure); 124 TString QualifiedStructNameString(const TStructure &structure,
|
D | Types.h | 24 class TStructure; variable 103 TType(const TStructure *userDef, bool isStructSpecifier); 256 const TStructure *getStruct() const { return mStructure; } in getStruct() 398 const TStructure *mStructure; 415 const TStructure *userDef; 432 void initializeStruct(const TStructure *aUserDef, in initializeStruct() 481 const TStructure *getUserDef() const { return typeSpecifierNonArray.userDef; } in getUserDef()
|
D | Symbol.cpp | 122 TStructure::TStructure(TSymbolTable *symbolTable, in TStructure() function in sh::TStructure 129 void TStructure::createSamplerSymbols(const char *namePrefix, in createSamplerSymbols() 151 void TStructure::setName(const ImmutableString &name) in setName()
|
D | Symbol.h | 163 class TStructure : public TSymbol, public TFieldListCollection 166 TStructure(TSymbolTable *symbolTable, 184 TStructure(const TSymbolUniqueId &id, in TStructure() function 197 TStructure(const TSymbolUniqueId &id, in TStructure() function
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteStructSamplers.cpp | 26 const TStructure *modified; 55 using StructureMap = angle::HashMap<const TStructure *, StructureData>; 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() 419 void stripStructSpecifierSamplers(const TStructure *structure, TIntermSequence *newSequence) in stripStructSpecifierSamplers() 445 const TStructure *fieldStruct = fieldType.getStruct(); in stripStructSpecifierSamplers() 448 const TStructure *modifiedStruct = mStructureMap[fieldStruct].modified; in stripStructSpecifierSamplers() 481 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers() [all …]
|
D | RewriteRowMajorMatrices.cpp | 29 TStructure *convertedStruct = nullptr; 450 const TStructure *structure = type.getStruct(); in visitDeclaration() 536 typedef angle::HashMap<const TStructure *, StructConversionData> StructMap; 694 void convertStruct(const TStructure *structure, TIntermSequence *newDeclarations) in convertStruct() 719 TStructure *newStruct = new TStructure(mSymbolTable, newStructTypeName->name(), newFields, in convertStruct() 746 const TStructure *fieldTypeStruct = fieldType->getStruct(); in convertField() 861 const TStructure *structure = nullptr; in transformExpression() 1160 const TStructure *structure, in transformReadExpression() 1259 const TStructure *structure, in transformWriteExpression() 1385 const TStructure *toFieldStruct = toFieldType->getStruct(); in getCopyStructFieldFunction() [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | SymbolTable.cpp | 108 bool TStructure::containsArrays() const in containsArrays() 119 bool TStructure::containsType(TBasicType type) const in containsType() 130 bool TStructure::containsSamplers() const in containsSamplers() 141 void TStructure::setMatrixPackingIfUnspecified(TLayoutMatrixPacking matrixPacking) in setMatrixPackingIfUnspecified() 175 int TStructure::calculateDeepestNesting() const in calculateDeepestNesting()
|
D | Types.h | 116 class TStructure : public TFieldListCollection 120 TStructure(const TString *name, TFieldList *fields) in POOL_ALLOCATOR_NEW_DELETE() 138 bool equals(const TStructure &other) const; 258 TType(TStructure* userDef, TPrecision p = EbpUndefined) : 452 TStructure* getStruct() const { return structure; } in getStruct() 453 void setStruct(TStructure* s) { structure = s; } in setStruct() 548 TStructure *structure = nullptr; // null unless this is a struct
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | RegenerateStructNames.cpp | 49 const TStructure *userType = type.getStruct(); in visitSymbol() 97 const_cast<TStructure *>(userType)->setName(tmp); in visitSymbol()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | SeparateStructFromUniformDeclarations.cpp | 63 const TStructure *structure = oldType.getStruct(); in doReplacement() 67 structure = new TStructure(mSymbolTable, kEmptyImmutableString, &structure->fields(), in doReplacement()
|