/third_party/skia/third_party/externals/tint/src/ast/ |
D | intrinsic_texture_helper_test.cc | 34 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 …]
|
D | sampler_test.cc | 26 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()
|
D | sampler.h | 26 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;
|
D | sampler.cc | 24 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()
|
D | intrinsic_texture_helper_test.h | 193 ast::SamplerKind, 245 ast::SamplerKind const sampler_kind = ast::SamplerKind::kSampler;
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | sampler_type_test.cc | 26 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()
|
D | sampler_type.h | 31 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_;
|
D | sampler_type.cc | 24 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()
|
D | function.cc | 109 return TransitivelyReferencedSamplerVariablesImpl(ast::SamplerKind::kSampler); in TransitivelyReferencedSamplerVariables() 115 ast::SamplerKind::kComparisonSampler); in TransitivelyReferencedComparisonSamplerVariables() 152 ast::SamplerKind kind) const { in TransitivelyReferencedSamplerVariablesImpl()
|
D | function.h | 251 ast::SamplerKind kind) const;
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_type_test.cc | 40 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()
|
D | parser_type.h | 297 explicit Sampler(ast::SamplerKind k); 313 ast::SamplerKind const kind; 570 const spirv::Sampler* Sampler(ast::SamplerKind k);
|
D | parser_type.cc | 197 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/ |
D | test_inspector_builder.h | 379 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/ |
D | generator_impl_global_decl_test.cc | 104 Global("s", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
|
D | generator_impl_variable_test.cc | 100 auto* v = Global("a", ty.sampler(ast::SamplerKind::kSampler), in TEST_F()
|
D | generator_impl_type_test.cc | 529 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/ |
D | decoration_validation_test.cc | 501 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()
|
D | var_let_validation_test.cc | 289 Global("s", ty.sampler(ast::SamplerKind::kSampler), GroupAndBinding(0, 0)); in TEST_F()
|
D | assignment_validation_test.cc | 379 Global("smp", ty.sampler(ast::SamplerKind::kSampler), GroupAndBinding(0, 1)); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder_type_test.cc | 958 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/ |
D | intrinsic_table.cc | 487 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/ |
D | generator_impl_type_test.cc | 279 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/ |
D | generator_impl_type_test.cc | 298 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/ |
D | generator_impl_type_test.cc | 732 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kSampler); in TEST_F() 742 auto* sampler = create<sem::Sampler>(ast::SamplerKind::kComparisonSampler); in TEST_F()
|