Home
last modified time | relevance | path

Searched refs:InterpolationSampling (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/inspector/
Dentry_point.cc39 InterpolationSampling ASTToInspectorInterpolationSampling( in ASTToInspectorInterpolationSampling()
40 ast::InterpolationSampling sampling) { in ASTToInspectorInterpolationSampling()
42 case ast::InterpolationSampling::kNone: in ASTToInspectorInterpolationSampling()
43 return InterpolationSampling::kNone; in ASTToInspectorInterpolationSampling()
44 case ast::InterpolationSampling::kCenter: in ASTToInspectorInterpolationSampling()
45 return InterpolationSampling::kCenter; in ASTToInspectorInterpolationSampling()
46 case ast::InterpolationSampling::kCentroid: in ASTToInspectorInterpolationSampling()
47 return InterpolationSampling::kCentroid; in ASTToInspectorInterpolationSampling()
48 case ast::InterpolationSampling::kSample: in ASTToInspectorInterpolationSampling()
49 return InterpolationSampling::kSample; in ASTToInspectorInterpolationSampling()
[all …]
Dentry_point.h49 enum class InterpolationSampling { enum
73 InterpolationSampling interpolation_sampling =
74 InterpolationSampling::kUnknown;
87 InterpolationSampling ASTToInspectorInterpolationSampling(
88 ast::InterpolationSampling sampling);
Dinspector_test.cc58 ast::InterpolationSampling in_sampling;
60 inspector::InterpolationSampling out_sampling;
952 EXPECT_EQ(InterpolationSampling::kCenter, in TEST_F()
985 ast::InterpolationSampling::kCenter,
986 InterpolationType::kPerspective, InterpolationSampling::kCenter},
989 ast::InterpolationSampling::kCentroid,
990 InterpolationType::kPerspective, InterpolationSampling::kCentroid},
993 ast::InterpolationSampling::kSample,
994 InterpolationType::kPerspective, InterpolationSampling::kSample},
997 ast::InterpolationSampling::kNone, InterpolationType::kPerspective,
[all …]
Dinspector.cc103 std::tuple<InterpolationType, InterpolationSampling> CalculateInterpolationData( in CalculateInterpolationData()
109 return {InterpolationType::kFlat, InterpolationSampling::kNone}; in CalculateInterpolationData()
113 return {InterpolationType::kPerspective, InterpolationSampling::kCenter}; in CalculateInterpolationData()
119 sampling == ast::InterpolationSampling::kNone) { in CalculateInterpolationData()
120 sampling = ast::InterpolationSampling::kCenter; in CalculateInterpolationData()
/third_party/skia/third_party/externals/tint/src/ast/
Dinterpolate_decoration.cc29 InterpolationSampling smpl) in InterpolateDecoration()
63 std::ostream& operator<<(std::ostream& out, InterpolationSampling sampling) { in operator <<()
65 case InterpolationSampling::kNone: { in operator <<()
69 case InterpolationSampling::kCenter: { in operator <<()
73 case InterpolationSampling::kCentroid: { in operator <<()
77 case InterpolationSampling::kSample: { in operator <<()
Dinterpolate_decoration.h30 enum class InterpolationSampling { kNone = -1, kCenter, kCentroid, kSample }; enum
44 InterpolationSampling sampling);
60 const InterpolationSampling sampling;
71 std::ostream& operator<<(std::ostream& out, InterpolationSampling sampling);
Dinterpolate_decoration_test.cc27 InterpolationSampling::kCenter); in TEST_F()
29 EXPECT_EQ(InterpolationSampling::kCenter, d->sampling); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPipelineValidationTests.cpp1335 enum class InterpolationSampling : uint8_t { in TEST_F() enum
1344 constexpr std::array<const char*, static_cast<size_t>(InterpolationSampling::Count)> in TEST_F()
1349 InterpolationSampling interpolationSampling; in TEST_F()
1354 {InterpolationType::None, InterpolationSampling::None}, in TEST_F()
1355 {InterpolationType::Flat, InterpolationSampling::None}, in TEST_F()
1356 {InterpolationType::Linear, InterpolationSampling::None}, in TEST_F()
1357 {InterpolationType::Linear, InterpolationSampling::Center}, in TEST_F()
1358 {InterpolationType::Linear, InterpolationSampling::Centroid}, in TEST_F()
1359 {InterpolationType::Linear, InterpolationSampling::Sample}, in TEST_F()
1360 {InterpolationType::Perspective, InterpolationSampling::None}, in TEST_F()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Ddecoration_validation_test.cc103 ast::InterpolationSampling::kCenter)}; in createDecorations()
1255 ast::InterpolationSampling sampling;
1339 ast::InterpolationSampling::kNone, true},
1341 ast::InterpolationSampling::kCenter, true},
1343 ast::InterpolationSampling::kCentroid, true},
1345 ast::InterpolationSampling::kSample, true},
1347 ast::InterpolationSampling::kNone, true},
1349 ast::InterpolationSampling::kCenter, true},
1351 ast::InterpolationSampling::kCentroid, true},
1353 ast::InterpolationSampling::kSample, true},
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp382 ResultOrError<InterpolationSampling> TintInterpolationSamplingToInterpolationSamplingType( in TintInterpolationSamplingToInterpolationSamplingType()
383 tint::inspector::InterpolationSampling type) { in TintInterpolationSamplingToInterpolationSamplingType()
385 case tint::inspector::InterpolationSampling::kNone: in TintInterpolationSamplingToInterpolationSamplingType()
386 return InterpolationSampling::None; in TintInterpolationSamplingToInterpolationSamplingType()
387 case tint::inspector::InterpolationSampling::kCenter: in TintInterpolationSamplingToInterpolationSamplingType()
388 return InterpolationSampling::Center; in TintInterpolationSamplingToInterpolationSamplingType()
389 case tint::inspector::InterpolationSampling::kCentroid: in TintInterpolationSamplingToInterpolationSamplingType()
390 return InterpolationSampling::Centroid; in TintInterpolationSamplingToInterpolationSamplingType()
391 case tint::inspector::InterpolationSampling::kSample: in TintInterpolationSamplingToInterpolationSamplingType()
392 return InterpolationSampling::Sample; in TintInterpolationSamplingToInterpolationSamplingType()
[all …]
DShaderModule.h67 enum class InterpolationSampling { enum
195 InterpolationSampling interpolationSampling;
DRenderPipeline.cpp92 InterpolationSampling value, in AbslFormatConvert()
96 case InterpolationSampling::None: in AbslFormatConvert()
99 case InterpolationSampling::Center: in AbslFormatConvert()
102 case InterpolationSampling::Centroid: in AbslFormatConvert()
105 case InterpolationSampling::Sample: in AbslFormatConvert()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_variable_decoration_test.cc189 EXPECT_EQ(interp->sampling, ast::InterpolationSampling::kNone); in TEST_F()
205 EXPECT_EQ(interp->sampling, ast::InterpolationSampling::kCenter); in TEST_F()
221 EXPECT_EQ(interp->sampling, ast::InterpolationSampling::kCentroid); in TEST_F()
237 EXPECT_EQ(interp->sampling, ast::InterpolationSampling::kSample); in TEST_F()
Dparser_impl.cc3033 ast::InterpolationSampling sampling = ast::InterpolationSampling::kNone; in decoration()
3051 sampling = ast::InterpolationSampling::kCenter; in decoration()
3053 sampling = ast::InterpolationSampling::kCentroid; in decoration()
3055 sampling = ast::InterpolationSampling::kSample; in decoration()
/third_party/skia/third_party/externals/tint/src/transform/
Dcanonicalize_entry_point_io.cc172 ast::InterpolationType::kFlat, ast::InterpolationSampling::kNone)); in AddInput()
231 ast::InterpolationType::kFlat, ast::InterpolationSampling::kNone)); in AddOutput()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.h370 ast::InterpolationSampling sampling) const;
Dgenerator_impl.cc1651 ast::InterpolationSampling sampling) const { in interpolation_to_attribute()
1654 case ast::InterpolationSampling::kCenter: in interpolation_to_attribute()
1657 case ast::InterpolationSampling::kCentroid: in interpolation_to_attribute()
1660 case ast::InterpolationSampling::kSample: in interpolation_to_attribute()
1663 case ast::InterpolationSampling::kNone: in interpolation_to_attribute()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.h398 ast::InterpolationSampling sampling) const;
Dgenerator_impl.cc1770 ast::InterpolationSampling sampling) const { in interpolation_to_modifiers()
1784 case ast::InterpolationSampling::kCentroid: in interpolation_to_modifiers()
1787 case ast::InterpolationSampling::kSample: in interpolation_to_modifiers()
1790 case ast::InterpolationSampling::kCenter: in interpolation_to_modifiers()
1791 case ast::InterpolationSampling::kNone: in interpolation_to_modifiers()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.h462 ast::InterpolationSampling sampling) const;
Dgenerator_impl.cc2869 ast::InterpolationSampling sampling) const { in interpolation_to_modifiers()
2883 case ast::InterpolationSampling::kCentroid: in interpolation_to_modifiers()
2886 case ast::InterpolationSampling::kSample: in interpolation_to_modifiers()
2889 case ast::InterpolationSampling::kCenter: in interpolation_to_modifiers()
2890 case ast::InterpolationSampling::kNone: in interpolation_to_modifiers()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc1782 ast::InterpolationSampling sampling = ast::InterpolationSampling::kNone; in ConvertPipelineDecorations()
1811 sampling = ast::InterpolationSampling::kCentroid; in ConvertPipelineDecorations()
1819 sampling = ast::InterpolationSampling::kSample; in ConvertPipelineDecorations()
1828 sampling == ast::InterpolationSampling::kNone) { in ConvertPipelineDecorations()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.h236 ast::InterpolationSampling sampling);
Dbuilder.cc4288 ast::InterpolationSampling sampling) { in AddInterpolationDecorations()
4302 case ast::InterpolationSampling::kCentroid: in AddInterpolationDecorations()
4306 case ast::InterpolationSampling::kSample: in AddInterpolationDecorations()
4311 case ast::InterpolationSampling::kCenter: in AddInterpolationDecorations()
4312 case ast::InterpolationSampling::kNone: in AddInterpolationDecorations()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc658 if (interpolate->sampling != ast::InterpolationSampling::kNone) { in EmitDecorations()

12