Searched refs:circleParams (Results 1 – 1 of 1) sorted by relevance
843 GrGLSLVertToFrag circleParams(kVec2f_GrSLType); in onEmitCode() local844 varyingHandler->addVarying("CircleParams", &circleParams); in onEmitCode()845 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.inCircleParams()->fName); in onEmitCode()868 fragBuilder->codeAppendf("vec2 center = vec2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()871 fragBuilder->codeAppendf("float diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()876 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()