/third_party/skia/third_party/externals/tint/src/inspector/ |
D | entry_point.cc | 39 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 …]
|
D | entry_point.h | 49 enum class InterpolationSampling { enum 73 InterpolationSampling interpolation_sampling = 74 InterpolationSampling::kUnknown; 87 InterpolationSampling ASTToInspectorInterpolationSampling( 88 ast::InterpolationSampling sampling);
|
D | inspector_test.cc | 58 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 …]
|
D | inspector.cc | 103 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/ |
D | interpolate_decoration.cc | 29 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 <<()
|
D | interpolate_decoration.h | 30 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);
|
D | interpolate_decoration_test.cc | 27 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/ |
D | RenderPipelineValidationTests.cpp | 1335 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/ |
D | decoration_validation_test.cc | 103 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/ |
D | ShaderModule.cpp | 382 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 …]
|
D | ShaderModule.h | 67 enum class InterpolationSampling { enum 195 InterpolationSampling interpolationSampling;
|
D | RenderPipeline.cpp | 92 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/ |
D | parser_impl_variable_decoration_test.cc | 189 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()
|
D | parser_impl.cc | 3033 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/ |
D | canonicalize_entry_point_io.cc | 172 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/ |
D | generator_impl.h | 370 ast::InterpolationSampling sampling) const;
|
D | generator_impl.cc | 1651 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/ |
D | generator_impl.h | 398 ast::InterpolationSampling sampling) const;
|
D | generator_impl.cc | 1770 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/ |
D | generator_impl.h | 462 ast::InterpolationSampling sampling) const;
|
D | generator_impl.cc | 2869 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/ |
D | parser_impl.cc | 1782 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/ |
D | builder.h | 236 ast::InterpolationSampling sampling);
|
D | builder.cc | 4288 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/ |
D | generator_impl.cc | 658 if (interpolate->sampling != ast::InterpolationSampling::kNone) { in EmitDecorations()
|