Home
last modified time | relevance | path

Searched refs:LocationDecoration (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/ast/
Dlocation_decoration.cc21 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()
Dlocation_decoration.h26 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;
Dvariable_test.cc97 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()
Dlocation_decoration_test.cc25 auto* d = create<LocationDecoration>(2); in TEST_F()
Dvariable.h32 class LocationDecoration; variable
/third_party/skia/third_party/externals/tint/src/sem/
Dfunction.cc45 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()
Dfunction.h32 class LocationDecoration; variable
178 std::vector<std::pair<const Variable*, const ast::LocationDecoration*>>
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_variable_decoration_list_test.cc35 ASSERT_TRUE(deco_0->Is<ast::LocationDecoration>()); in TEST_F()
36 EXPECT_EQ(deco_0->As<ast::LocationDecoration>()->value, 4u); in TEST_F()
Dparser_impl_function_header_test.cc59 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()
Dparser_impl_param_list_test.cc125 EXPECT_TRUE(decos1[0]->Is<ast::LocationDecoration>()); in TEST_F()
126 EXPECT_EQ(decos1[0]->As<ast::LocationDecoration>()->value, 1u); in TEST_F()
Dparser_impl_variable_decoration_test.cc31 ASSERT_TRUE(var_deco->Is<ast::LocationDecoration>()); in TEST_F()
33 auto* loc = var_deco->As<ast::LocationDecoration>(); in TEST_F()
Dparser_impl_function_decl_test.cc197 auto* loc = ret_type_decorations[0]->As<ast::LocationDecoration>(); in TEST_F()
Dparser_impl.cc3004 return create<ast::LocationDecoration>(t.source(), val.value); in decoration()
/third_party/skia/third_party/externals/tint/src/transform/
Dcanonicalize_entry_point_io.cc44 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()
Dvertex_pulling.cc730 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/
Dresolver_validation.cc128 } 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()
Dresolver.h258 bool ValidateLocationDecoration(const ast::LocationDecoration* location,
Ddependency_graph.cc408 ast::LocationDecoration, ast::OverrideDecoration, in TraverseDecoration()
/third_party/skia/third_party/externals/tint/src/
Dprogram_builder.h2324 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/
Dgenerator_impl.cc652 } else if (auto* location = deco->As<ast::LocationDecoration>()) { in EmitDecorations()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector.cc618 auto* location = ast::GetDecoration<ast::LocationDecoration>(decorations); in AddEntryPointInOutVariables()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc1762 if (deco->Is<ast::LocationDecoration>()) { in SetLocation()
1793 create<ast::LocationDecoration>(Source{}, deco[1])); in ConvertPipelineDecorations()
Dfunction.cc1067 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/
Dgenerator_impl.cc2527 } else if (auto* loc = deco->As<ast::LocationDecoration>()) { in EmitStructType()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc3549 if (auto* location = deco->As<ast::LocationDecoration>()) { in EmitStructType()

12