Home
last modified time | relevance | path

Searched defs:VarOptionals (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/tint/src/
Dprogram_builder.h124 struct VarOptionals { struct
126 explicit VarOptionals(ARGS&&... args) { in VarOptionals() function
131 ast::StorageClass storage = ast::StorageClass::kNone;
132 ast::Access access = ast::Access::kUndefined;
133 const ast::Expression* constructor = nullptr;
134 ast::DecorationList decorations = {};
137 void Set(ast::StorageClass sc) { storage = sc; } in Set()
138 void Set(ast::Access ac) { access = ac; } in Set()
139 void Set(const ast::Expression* c) { constructor = c; } in Set()
140 void Set(const ast::DecorationList& l) { decorations = l; } in Set()
[all …]