/third_party/skia/third_party/externals/tint/src/inspector/ |
D | entry_point.cc | 25 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()
|
D | entry_point.h | 46 enum class InterpolationType { kUnknown = -1, kPerspective, kLinear, kFlat }; enum 71 InterpolationType interpolation_type = InterpolationType::kUnknown; 80 InterpolationType ASTToInspectorInterpolationType( 81 ast::InterpolationType ast_type);
|
D | inspector_test.cc | 57 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 …]
|
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() 118 if (interpolation_type != ast::InterpolationType::kFlat && in CalculateInterpolationData()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | interpolate_decoration.cc | 28 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 <<()
|
D | interpolate_decoration.h | 27 enum class InterpolationType { kPerspective, kLinear, kFlat }; enum 43 InterpolationType type, 57 const InterpolationType type; 66 std::ostream& operator<<(std::ostream& out, InterpolationType type);
|
D | interpolate_decoration_test.cc | 26 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/ |
D | ShaderVars.h | 27 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/ |
D | RenderPipelineValidationTests.cpp | 1328 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/ |
D | decoration_validation_test.cc | 102 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/ |
D | util.h | 62 InterpolationType GetInterpolationType(TQualifier qualifier); 63 InterpolationType GetFieldInterpolationType(TQualifier qualifier);
|
D | ShaderLang.cpp | 1015 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()
|
D | ShaderVars.cpp | 21 InterpolationType GetNonAuxiliaryInterpolationType(InterpolationType interpolation) in GetNonAuxiliaryInterpolationType() 29 bool InterpolationTypesMatch(InterpolationType a, InterpolationType b) in InterpolationTypesMatch()
|
D | util.cpp | 556 InterpolationType GetInterpolationType(TQualifier qualifier) in GetInterpolationType() 602 InterpolationType GetFieldInterpolationType(TQualifier qualifier) in GetFieldInterpolationType()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | VaryingPacking.h | 68 sh::InterpolationType interpolationIn); 71 sh::InterpolationType interpolationIn, 137 sh::InterpolationType interpolation;
|
D | VaryingPacking.cpp | 214 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/ |
D | parser_impl_variable_decoration_test.cc | 188 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/ |
D | ShaderModule.h | 61 enum class InterpolationType { enum 194 InterpolationType interpolationType;
|
D | ShaderModule.cpp | 366 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()
|
D | RenderPipeline.cpp | 72 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/ |
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 | 369 ast::InterpolationType type,
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl.h | 397 ast::InterpolationType type,
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.h | 461 ast::InterpolationType type,
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl.cc | 1781 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()
|