• Home
  • Raw
  • Download

Lines Matching refs:codeAppendf

868     vsBuilder->codeAppendf("%s = %s;", dashParams.vsOut(), dce.inDashParams()->fName);  in onEmitCode()
873 vsBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.inCircleParams()->fName); in onEmitCode()
887 fsBuilder->codeAppendf("float xShifted = %s.x - floor(%s.x / %s.z) * %s.z;", in onEmitCode()
890 fsBuilder->codeAppendf("vec2 fragPosShifted = vec2(xShifted, %s.y);", dashParams.fsIn()); 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()
898 fsBuilder->codeAppendf("float alpha = 1.0;"); in onEmitCode()
899 fsBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()
901 fsBuilder->codeAppendf("%s = vec4(alpha);", args.fOutputCoverage); in onEmitCode()
1090 vsBuilder->codeAppendf("%s = %s;", inDashParams.vsOut(), de.inDashParams()->fName); in onEmitCode()
1096 vsBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.inRectParams()->fName); in onEmitCode()
1110 fsBuilder->codeAppendf("float xShifted = %s.x - floor(%s.x / %s.z) * %s.z;", in onEmitCode()
1113 fsBuilder->codeAppendf("vec2 fragPosShifted = vec2(xShifted, %s.y);", inDashParams.fsIn()); in onEmitCode()
1118 fsBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode()
1119 fsBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode()
1120 fsBuilder->codeAppendf("ySub = min(fragPosShifted.y - %s.y, 0.0);", inRectParams.fsIn()); in onEmitCode()
1121 fsBuilder->codeAppendf("ySub += min(%s.w - fragPosShifted.y, 0.0);", inRectParams.fsIn()); in onEmitCode()
1124 fsBuilder->codeAppendf("float alpha = (1.0 + max(xSub, -1.0)) * (1.0 + max(ySub, -1.0));"); in onEmitCode()
1129 fsBuilder->codeAppendf("xSub = min(fragPosShifted.x - %s.x, 0.0);", inRectParams.fsIn()); in onEmitCode()
1130 fsBuilder->codeAppendf("xSub += min(%s.z - fragPosShifted.x, 0.0);", inRectParams.fsIn()); in onEmitCode()
1132 fsBuilder->codeAppendf("float alpha = (1.0 + max(xSub, -1.0));"); in onEmitCode()
1135 fsBuilder->codeAppendf("float alpha = 1.0;"); in onEmitCode()
1136 fsBuilder->codeAppendf("alpha *= (fragPosShifted.x - %s.x) > -0.5 ? 1.0 : 0.0;", in onEmitCode()
1138 fsBuilder->codeAppendf("alpha *= (%s.z - fragPosShifted.x) >= -0.5 ? 1.0 : 0.0;", in onEmitCode()
1141 fsBuilder->codeAppendf("%s = vec4(alpha);", args.fOutputCoverage); in onEmitCode()