Searched refs:circleParams (Results 1 – 1 of 1) sorted by relevance
871 GrGLVertToFrag circleParams(kVec2f_GrSLType); in onEmitCode() local872 args.fPB->addVarying("CircleParams", &circleParams); in onEmitCode()873 vsBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.inCircleParams()->fName); in onEmitCode()891 fsBuilder->codeAppendf("vec2 center = vec2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()894 fsBuilder->codeAppendf("float diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()899 fsBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()