Home
last modified time | relevance | path

Searched refs:PathItem (Results 1 – 1 of 1) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp73 struct PathItem struct
82 PathItem(const TField &field) : field(&field), type(Type::Field) {} in PathItem() function
83 PathItem(int index) : index(index), type(Type::Index) {} in PathItem() function
84 PathItem(unsigned index) : PathItem(static_cast<int>(index)) {} in PathItem() argument
85 PathItem(FlattenArray flatten) : type(Type::FlattenArray) {} in PathItem() argument
97 const std::vector<PathItem> &path) in BuildPathAccess()
100 for (const PathItem &item : path) in BuildPathAccess()
104 case PathItem::Type::Field: in BuildPathAccess()
107 case PathItem::Type::Index: in BuildPathAccess()
110 case PathItem::Type::FlattenArray: in BuildPathAccess()
[all …]