/third_party/skia/third_party/externals/tint/src/ast/ |
D | location_decoration.cc | 21 TINT_INSTANTIATE_TYPEINFO(tint::ast::LocationDecoration); 26 LocationDecoration::LocationDecoration(ProgramID pid, in LocationDecoration() function in tint::ast::LocationDecoration 31 LocationDecoration::~LocationDecoration() = default; 33 std::string LocationDecoration::Name() const { in Name() 37 const LocationDecoration* LocationDecoration::Clone(CloneContext* ctx) const { in Clone() 40 return ctx->dst->create<LocationDecoration>(src, value); in Clone()
|
D | location_decoration.h | 26 class LocationDecoration : public Castable<LocationDecoration, Decoration> { 32 LocationDecoration(ProgramID pid, const Source& src, uint32_t value); 33 ~LocationDecoration() override; 42 const LocationDecoration* Clone(CloneContext* ctx) const override;
|
D | variable_test.cc | 97 create<LocationDecoration>(1), in TEST_F() 103 EXPECT_TRUE(ast::HasDecoration<ast::LocationDecoration>(decorations)); in TEST_F() 107 auto* location = ast::GetDecoration<ast::LocationDecoration>(decorations); in TEST_F()
|
D | location_decoration_test.cc | 25 auto* d = create<LocationDecoration>(2); in TEST_F()
|
D | variable.h | 32 class LocationDecoration; variable
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | function.cc | 45 std::vector<std::pair<const Variable*, const ast::LocationDecoration*>> 47 std::vector<std::pair<const Variable*, const ast::LocationDecoration*>> ret; in TransitivelyReferencedLocationVariables() 51 if (auto* location = deco->As<ast::LocationDecoration>()) { in TransitivelyReferencedLocationVariables()
|
D | function.h | 32 class LocationDecoration; variable 178 std::vector<std::pair<const Variable*, const ast::LocationDecoration*>>
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_variable_decoration_list_test.cc | 35 ASSERT_TRUE(deco_0->Is<ast::LocationDecoration>()); in TEST_F() 36 EXPECT_EQ(deco_0->As<ast::LocationDecoration>()->value, 4u); in TEST_F()
|
D | parser_impl_function_header_test.cc | 59 auto* loc = f->return_type_decorations[0]->As<ast::LocationDecoration>(); in TEST_F() 88 auto* loc = f->return_type_decorations[0]->As<ast::LocationDecoration>(); in TEST_F()
|
D | parser_impl_param_list_test.cc | 125 EXPECT_TRUE(decos1[0]->Is<ast::LocationDecoration>()); in TEST_F() 126 EXPECT_EQ(decos1[0]->As<ast::LocationDecoration>()->value, 1u); in TEST_F()
|
D | parser_impl_variable_decoration_test.cc | 31 ASSERT_TRUE(var_deco->Is<ast::LocationDecoration>()); in TEST_F() 33 auto* loc = var_deco->As<ast::LocationDecoration>(); in TEST_F()
|
D | parser_impl_function_decl_test.cc | 197 auto* loc = ret_type_decorations[0]->As<ast::LocationDecoration>(); in TEST_F()
|
D | parser_impl.cc | 3004 return create<ast::LocationDecoration>(t.source(), val.value); in decoration()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | canonicalize_entry_point_io.cc | 44 auto* a_loc = ast::GetDecoration<ast::LocationDecoration>(a->decorations); in StructMemberComparator() 45 auto* b_loc = ast::GetDecoration<ast::LocationDecoration>(b->decorations); in StructMemberComparator() 68 ast::InvariantDecoration, ast::LocationDecoration>(); in IsShaderIODecoration() 168 ast::HasDecoration<ast::LocationDecoration>(attributes) && in AddInput() 227 ast::HasDecoration<ast::LocationDecoration>(attributes) && in AddOutput()
|
D | vertex_pulling.cc | 730 ast::GetDecoration<ast::LocationDecoration>(param->decorations)) { in ProcessNonStructParameter() 783 if (auto* location = ast::GetDecoration<ast::LocationDecoration>( in ProcessStructParameter()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver_validation.cc | 128 } else if (auto* location = deco->As<ast::LocationDecoration>()) { in deco_to_str() 483 ast::InvariantDecoration, ast::LocationDecoration>(); in ValidateGlobalVariable() 762 ast::LocationDecoration, in ValidateFunctionParameter() 1027 ast::LocationDecoration, ast::InterpolateDecoration, in ValidateFunction() 1115 } else if (auto* location = deco->As<ast::LocationDecoration>()) { in ValidateEntryPoint() 1171 pipeline_io_attribute->Is<ast::LocationDecoration>()) { in ValidateEntryPoint() 1194 !pipeline_io_attribute->Is<ast::LocationDecoration>()) { in ValidateEntryPoint() 2133 ast::LocationDecoration, // in ValidateStructure() 2149 } else if (auto* location = deco->As<ast::LocationDecoration>()) { in ValidateStructure() 2207 const ast::LocationDecoration* location, in ValidateLocationDecoration()
|
D | resolver.h | 258 bool ValidateLocationDecoration(const ast::LocationDecoration* location,
|
D | dependency_graph.cc | 408 ast::LocationDecoration, ast::OverrideDecoration, in TraverseDecoration()
|
/third_party/skia/third_party/externals/tint/src/ |
D | program_builder.h | 2324 const ast::LocationDecoration* Location(const Source& source, in Location() 2326 return create<ast::LocationDecoration>(source, location); in Location() 2332 const ast::LocationDecoration* Location(uint32_t location) { in Location() 2333 return create<ast::LocationDecoration>(source_, location); in Location()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl.cc | 652 } else if (auto* location = deco->As<ast::LocationDecoration>()) { in EmitDecorations()
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
D | inspector.cc | 618 auto* location = ast::GetDecoration<ast::LocationDecoration>(decorations); in AddEntryPointInOutVariables()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl.cc | 1762 if (deco->Is<ast::LocationDecoration>()) { in SetLocation() 1793 create<ast::LocationDecoration>(Source{}, deco[1])); in ConvertPipelineDecorations()
|
D | function.cc | 1067 if (auto* loc_deco = deco->As<ast::LocationDecoration>()) { in IncrementLocation() 1079 if (deco->Is<ast::LocationDecoration>()) { in GetLocation()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl.cc | 2527 } else if (auto* loc = deco->As<ast::LocationDecoration>()) { in EmitStructType()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.cc | 3549 if (auto* location = deco->As<ast::LocationDecoration>()) { in EmitStructType()
|