Home | History | Annotate | Download | only in glsl

Lines Matching refs:Interpolation

14                                                    Interpolation interpolation) {
18 this->addVarying(input.name(), &v, interpolation);
23 static bool use_flat_interpolation(GrGLSLVaryingHandler::Interpolation interpolation,
25 switch (interpolation) {
26 using Interpolation = GrGLSLVaryingHandler::Interpolation;
27 case Interpolation::kInterpolated:
29 case Interpolation::kCanBeFlat:
33 case Interpolation::kMustBeFlat:
37 SK_ABORT("Invalid interpolation");
42 Interpolation interpolation) {
43 SkASSERT(GrSLTypeIsFloatType(varying->type()) || Interpolation::kMustBeFlat == interpolation);
50 v.fIsFlat = use_flat_interpolation(interpolation, *fProgramBuilder->shaderCaps());