Home
last modified time | relevance | path

Searched refs:SamplerKind (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/ast/
Dintrinsic_texture_helper_test.cc34 ast::SamplerKind sk, in TextureOverloadCase()
206 ast::SamplerKind::kSampler, in ValidCases()
216 ast::SamplerKind::kSampler, in ValidCases()
227 ast::SamplerKind::kSampler, in ValidCases()
237 ast::SamplerKind::kSampler, in ValidCases()
248 ast::SamplerKind::kSampler, in ValidCases()
258 ast::SamplerKind::kSampler, in ValidCases()
269 ast::SamplerKind::kSampler, in ValidCases()
279 ast::SamplerKind::kSampler, in ValidCases()
290 ast::SamplerKind::kSampler, in ValidCases()
[all …]
Dsampler_test.cc26 auto* s = create<Sampler>(SamplerKind::kSampler); in TEST_F()
27 EXPECT_EQ(s->kind, SamplerKind::kSampler); in TEST_F()
31 auto* s = create<Sampler>(SamplerKind::kComparisonSampler); in TEST_F()
32 EXPECT_EQ(s->kind, SamplerKind::kComparisonSampler); in TEST_F()
37 auto* s = create<Sampler>(SamplerKind::kSampler); in TEST_F()
42 auto* s = create<Sampler>(SamplerKind::kComparisonSampler); in TEST_F()
Dsampler.h26 enum class SamplerKind { enum
36 std::ostream& operator<<(std::ostream& out, SamplerKind kind);
45 Sampler(ProgramID pid, const Source& src, SamplerKind kind);
51 bool IsComparison() const { return kind == SamplerKind::kComparisonSampler; } in IsComparison()
64 const SamplerKind kind;
Dsampler.cc24 std::ostream& operator<<(std::ostream& out, SamplerKind kind) { in operator <<()
26 case SamplerKind::kSampler: in operator <<()
29 case SamplerKind::kComparisonSampler: in operator <<()
36 Sampler::Sampler(ProgramID pid, const Source& src, SamplerKind k) in Sampler()
44 return kind == SamplerKind::kSampler ? "sampler" : "sampler_comparison"; in FriendlyName()
Dintrinsic_texture_helper_test.h193 ast::SamplerKind,
245 ast::SamplerKind const sampler_kind = ast::SamplerKind::kSampler;
/third_party/skia/third_party/externals/tint/src/sem/
Dsampler_type_test.cc26 Sampler s{ast::SamplerKind::kSampler}; in TEST_F()
27 EXPECT_EQ(s.kind(), ast::SamplerKind::kSampler); in TEST_F()
31 Sampler s{ast::SamplerKind::kComparisonSampler}; in TEST_F()
32 EXPECT_EQ(s.kind(), ast::SamplerKind::kComparisonSampler); in TEST_F()
37 Sampler s{ast::SamplerKind::kSampler}; in TEST_F()
42 Sampler s{ast::SamplerKind::kComparisonSampler}; in TEST_F()
47 Sampler s{ast::SamplerKind::kSampler}; in TEST_F()
52 Sampler s{ast::SamplerKind::kComparisonSampler}; in TEST_F()
Dsampler_type.h31 explicit Sampler(ast::SamplerKind kind);
37 ast::SamplerKind kind() const { return kind_; } in kind()
41 return kind_ == ast::SamplerKind::kComparisonSampler; in IsComparison()
53 ast::SamplerKind const kind_;
Dsampler_type.cc24 Sampler::Sampler(ast::SamplerKind kind) : kind_(kind) {} in Sampler()
32 (kind_ == ast::SamplerKind::kSampler ? "sampler" : "comparison"); in type_name()
36 return kind_ == ast::SamplerKind::kSampler ? "sampler" : "sampler_comparison"; in FriendlyName()
Dfunction.cc109 return TransitivelyReferencedSamplerVariablesImpl(ast::SamplerKind::kSampler); in TransitivelyReferencedSamplerVariables()
115 ast::SamplerKind::kComparisonSampler); in TransitivelyReferencedComparisonSamplerVariables()
152 ast::SamplerKind kind) const { in TransitivelyReferencedSamplerVariablesImpl()
Dfunction.h251 ast::SamplerKind kind) const;
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_type_test.cc40 EXPECT_EQ(ty.Sampler(ast::SamplerKind::kSampler), in TEST()
41 ty.Sampler(ast::SamplerKind::kSampler)); in TEST()
73 EXPECT_NE(ty.Sampler(ast::SamplerKind::kSampler), in TEST()
74 ty.Sampler(ast::SamplerKind::kComparisonSampler)); in TEST()
Dparser_type.h297 explicit Sampler(ast::SamplerKind k);
313 ast::SamplerKind const kind;
570 const spirv::Sampler* Sampler(ast::SamplerKind k);
Dparser_type.cc197 Sampler::Sampler(ast::SamplerKind k) : kind(k) {} in Sampler()
301 std::unordered_map<ast::SamplerKind, const spirv::Sampler*> samplers_;
495 const spirv::Sampler* TypeManager::Sampler(ast::SamplerKind kind) { in Sampler()
600 case ast::SamplerKind::kSampler: in String()
602 case ast::SamplerKind::kComparisonSampler: in String()
/third_party/skia/third_party/externals/tint/src/inspector/
Dtest_inspector_builder.h379 return ty.sampler(ast::SamplerKind::kSampler); in sampler_type()
384 return ty.sampler(ast::SamplerKind::kComparisonSampler); in comparison_sampler_type()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_global_decl_test.cc104 Global("s", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
Dgenerator_impl_variable_test.cc100 auto* v = Global("a", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
Dgenerator_impl_type_test.cc529 auto* sampler = ty.sampler(ast::SamplerKind::kSampler); in TEST_F()
540 auto* sampler = ty.sampler(ast::SamplerKind::kComparisonSampler); in TEST_F()
/third_party/skia/third_party/externals/tint/src/resolver/
Ddecoration_validation_test.cc501 auto* s = Param("s", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
721 Global("a", ty.sampler(ast::SamplerKind::kSampler), in TEST_P()
761 Global("a", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
1039 Global(Source{{12, 34}}, "G", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
1049 Global(Source{{12, 34}}, "G", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
1062 Global(Source{{12, 34}}, "G", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
Dvar_let_validation_test.cc289 Global("s", ty.sampler(ast::SamplerKind::kSampler), GroupAndBinding(0, 0)); in TEST_F()
Dassignment_validation_test.cc379 Global("smp", ty.sampler(ast::SamplerKind::kSampler), GroupAndBinding(0, 1)); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_type_test.cc958 sem::Sampler sampler(ast::SamplerKind::kSampler); in TEST_F()
968 sem::Sampler sampler(ast::SamplerKind::kComparisonSampler); in TEST_F()
978 sem::Sampler comp_sampler(ast::SamplerKind::kComparisonSampler); in TEST_F()
979 sem::Sampler sampler(ast::SamplerKind::kSampler); in TEST_F()
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table.cc487 return s->kind() == ast::SamplerKind::kSampler; in match_sampler()
492 return state.builder.create<sem::Sampler>(ast::SamplerKind::kSampler); in build_sampler()
500 return s->kind() == ast::SamplerKind::kComparisonSampler; in match_sampler_comparison()
506 ast::SamplerKind::kComparisonSampler); in build_sampler_comparison()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_type_test.cc279 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kSampler); in TEST_F()
290 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kComparisonSampler); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_type_test.cc298 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kSampler); in TEST_F()
310 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kComparisonSampler); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_type_test.cc732 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kSampler); in TEST_F()
742 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kComparisonSampler); in TEST_F()

12