Home
last modified time | relevance | path

Searched refs:InterpolationType (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/inspector/
Dentry_point.cc25 InterpolationType ASTToInspectorInterpolationType( in ASTToInspectorInterpolationType()
26 ast::InterpolationType ast_type) { in ASTToInspectorInterpolationType()
28 case ast::InterpolationType::kPerspective: in ASTToInspectorInterpolationType()
29 return InterpolationType::kPerspective; in ASTToInspectorInterpolationType()
30 case ast::InterpolationType::kLinear: in ASTToInspectorInterpolationType()
31 return InterpolationType::kLinear; in ASTToInspectorInterpolationType()
32 case ast::InterpolationType::kFlat: in ASTToInspectorInterpolationType()
33 return InterpolationType::kFlat; in ASTToInspectorInterpolationType()
36 return InterpolationType::kUnknown; in ASTToInspectorInterpolationType()
Dentry_point.h46 enum class InterpolationType { kUnknown = -1, kPerspective, kLinear, kFlat }; enum
71 InterpolationType interpolation_type = InterpolationType::kUnknown;
80 InterpolationType ASTToInspectorInterpolationType(
81 ast::InterpolationType ast_type);
Dinspector_test.cc57 ast::InterpolationType in_type;
59 inspector::InterpolationType out_type;
950 EXPECT_EQ(InterpolationType::kPerspective, in TEST_F()
984 ast::InterpolationType::kPerspective,
986 InterpolationType::kPerspective, InterpolationSampling::kCenter},
988 ast::InterpolationType::kPerspective,
990 InterpolationType::kPerspective, InterpolationSampling::kCentroid},
992 ast::InterpolationType::kPerspective,
994 InterpolationType::kPerspective, InterpolationSampling::kSample},
996 ast::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()
118 if (interpolation_type != ast::InterpolationType::kFlat && in CalculateInterpolationData()
/third_party/skia/third_party/externals/tint/src/ast/
Dinterpolate_decoration.cc28 InterpolationType ty, in InterpolateDecoration()
45 std::ostream& operator<<(std::ostream& out, InterpolationType type) { in operator <<()
47 case InterpolationType::kPerspective: { in operator <<()
51 case InterpolationType::kLinear: { in operator <<()
55 case InterpolationType::kFlat: { in operator <<()
Dinterpolate_decoration.h27 enum class InterpolationType { kPerspective, kLinear, kFlat }; enum
43 InterpolationType type,
57 const InterpolationType type;
66 std::ostream& operator<<(std::ostream& out, InterpolationType type);
Dinterpolate_decoration_test.cc26 auto* d = create<InterpolateDecoration>(InterpolationType::kLinear, in TEST_F()
28 EXPECT_EQ(InterpolationType::kLinear, d->type); in TEST_F()
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderVars.h27 enum InterpolationType enum
36 const char *InterpolationTypeToString(InterpolationType type);
39 bool InterpolationTypesMatch(InterpolationType a, InterpolationType b);
233 InterpolationType interpolation;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPipelineValidationTests.cpp1328 enum class InterpolationType : uint8_t { in TEST_F() enum
1342 constexpr std::array<const char*, static_cast<size_t>(InterpolationType::Count)> in TEST_F()
1348 InterpolationType interpolationType; 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.cc102 return {builder.Interpolate(source, ast::InterpolationType::kLinear, in createDecorations()
1254 ast::InterpolationType type;
1294 if (params.type != ast::InterpolationType::kFlat) { in TEST_P()
1320 if (params.type != ast::InterpolationType::kFlat) { in TEST_P()
1338 testing::Values(Params{ast::InterpolationType::kPerspective,
1340 Params{ast::InterpolationType::kPerspective,
1342 Params{ast::InterpolationType::kPerspective,
1344 Params{ast::InterpolationType::kPerspective,
1346 Params{ast::InterpolationType::kLinear,
1348 Params{ast::InterpolationType::kLinear,
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dutil.h62 InterpolationType GetInterpolationType(TQualifier qualifier);
63 InterpolationType GetFieldInterpolationType(TQualifier qualifier);
DShaderLang.cpp1015 const char *InterpolationTypeToString(InterpolationType type) in InterpolationTypeToString()
1019 case InterpolationType::INTERPOLATION_SMOOTH: in InterpolationTypeToString()
1021 case InterpolationType::INTERPOLATION_CENTROID: in InterpolationTypeToString()
1023 case InterpolationType::INTERPOLATION_SAMPLE: in InterpolationTypeToString()
1025 case InterpolationType::INTERPOLATION_FLAT: in InterpolationTypeToString()
1027 case InterpolationType::INTERPOLATION_NOPERSPECTIVE: in InterpolationTypeToString()
DShaderVars.cpp21 InterpolationType GetNonAuxiliaryInterpolationType(InterpolationType interpolation) in GetNonAuxiliaryInterpolationType()
29 bool InterpolationTypesMatch(InterpolationType a, InterpolationType b) in InterpolationTypesMatch()
Dutil.cpp556 InterpolationType GetInterpolationType(TQualifier qualifier) in GetInterpolationType()
602 InterpolationType GetFieldInterpolationType(TQualifier qualifier) in GetFieldInterpolationType()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVaryingPacking.h68 sh::InterpolationType interpolationIn);
71 sh::InterpolationType interpolationIn,
137 sh::InterpolationType interpolation;
DVaryingPacking.cpp214 sh::InterpolationType interpolationIn) in PackedVarying()
225 sh::InterpolationType interpolationIn, in PackedVarying()
527 sh::InterpolationType interpolation = input ? input->interpolation : output->interpolation; in collectUserVarying()
555 sh::InterpolationType interpolation = input ? input->interpolation : output->interpolation; in collectUserVaryingField()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_variable_decoration_test.cc188 EXPECT_EQ(interp->type, ast::InterpolationType::kFlat); in TEST_F()
204 EXPECT_EQ(interp->type, ast::InterpolationType::kPerspective); in TEST_F()
220 EXPECT_EQ(interp->type, ast::InterpolationType::kPerspective); in TEST_F()
236 EXPECT_EQ(interp->type, ast::InterpolationType::kLinear); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.h61 enum class InterpolationType { enum
194 InterpolationType interpolationType;
DShaderModule.cpp366 ResultOrError<InterpolationType> TintInterpolationTypeToInterpolationType( in TintInterpolationTypeToInterpolationType()
367 tint::inspector::InterpolationType type) { in TintInterpolationTypeToInterpolationType()
369 case tint::inspector::InterpolationType::kPerspective: in TintInterpolationTypeToInterpolationType()
370 return InterpolationType::Perspective; in TintInterpolationTypeToInterpolationType()
371 case tint::inspector::InterpolationType::kLinear: in TintInterpolationTypeToInterpolationType()
372 return InterpolationType::Linear; in TintInterpolationTypeToInterpolationType()
373 case tint::inspector::InterpolationType::kFlat: in TintInterpolationTypeToInterpolationType()
374 return InterpolationType::Flat; in TintInterpolationTypeToInterpolationType()
375 case tint::inspector::InterpolationType::kUnknown: in TintInterpolationTypeToInterpolationType()
DRenderPipeline.cpp72 InterpolationType value, in AbslFormatConvert()
76 case InterpolationType::Perspective: in AbslFormatConvert()
79 case InterpolationType::Linear: in AbslFormatConvert()
82 case InterpolationType::Flat: in AbslFormatConvert()
/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.h369 ast::InterpolationType type,
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.h397 ast::InterpolationType type,
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.h461 ast::InterpolationType type,
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc1781 ast::InterpolationType type = ast::InterpolationType::kPerspective; in ConvertPipelineDecorations()
1796 type = ast::InterpolationType::kFlat; in ConvertPipelineDecorations()
1803 type = ast::InterpolationType::kLinear; in ConvertPipelineDecorations()
1827 if (type == ast::InterpolationType::kPerspective && in ConvertPipelineDecorations()

12