• Home
  • Raw
  • Download

Lines Matching refs:codeAppendf

172                 vertBuilder->codeAppendf("%s = (1.0 - %s.w) / 2.0;", capRadius.vsOut(),  in onEmitCode()
177 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
219 fragBuilder->codeAppendf( in onEmitCode()
229 fragBuilder->codeAppendf("half4 %s = half4(edgeAlpha);", args.fOutputCoverage); in onEmitCode()
341 vertBuilder->codeAppendf("float4 dashParams = %s;", bcscgp.fInDashParams.name()); in onEmitCode()
396 vertBuilder->codeAppendf("%s = half4(wrapDashes);", wrapDashes.vsOut()); in onEmitCode()
397 vertBuilder->codeAppendf("%s = lastIntervalLength;", lastIntervalLength.vsOut()); in onEmitCode()
398 fragBuilder->codeAppendf("half4 wrapDashes = %s;", wrapDashes.fsIn()); in onEmitCode()
399 fragBuilder->codeAppendf("half lastIntervalLength = %s;", lastIntervalLength.fsIn()); in onEmitCode()
402 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
455 fragBuilder->codeAppendf(R"( in onEmitCode()
468 fragBuilder->codeAppendf(R"( in onEmitCode()
481 fragBuilder->codeAppendf(R"( in onEmitCode()
489 fragBuilder->codeAppendf("half4 %s = half4(edgeAlpha);", args.fOutputCoverage); in onEmitCode()
589 vertBuilder->codeAppendf("%s = %s;", ellipseOffsets.vsOut(), in onEmitCode()
594 vertBuilder->codeAppendf("%s = %s;", ellipseRadii.vsOut(), egp.fInEllipseRadii.name()); in onEmitCode()
598 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
623 fragBuilder->codeAppendf("float2 offset = %s.xy;", ellipseOffsets.fsIn()); in onEmitCode()
625 fragBuilder->codeAppendf("offset *= %s.xy;", ellipseRadii.fsIn()); in onEmitCode()
629 fragBuilder->codeAppendf("float2 grad = 2.0*offset*(%s.z*%s.xy);", in onEmitCode()
632 fragBuilder->codeAppendf("float2 grad = 2.0*offset*%s.xy;", ellipseRadii.fsIn()); in onEmitCode()
643 fragBuilder->codeAppendf("float invlen = %s.z*inversesqrt(grad_dot);", in onEmitCode()
652 fragBuilder->codeAppendf("offset = %s.xy*%s.zw;", ellipseOffsets.fsIn(), in onEmitCode()
656 fragBuilder->codeAppendf("grad = 2.0*offset*(%s.z*%s.zw);", in onEmitCode()
659 fragBuilder->codeAppendf("grad = 2.0*offset*%s.zw;", ellipseRadii.fsIn()); in onEmitCode()
666 fragBuilder->codeAppendf("invlen = %s.z*inversesqrt(grad_dot);", in onEmitCode()
674 fragBuilder->codeAppendf("half4 %s = half4(half(edgeAlpha));", args.fOutputCoverage); in onEmitCode()
789 vertBuilder->codeAppendf("%s = %s;", offsets0.vsOut(), diegp.fInEllipseOffsets0.name()); in onEmitCode()
793 vertBuilder->codeAppendf("%s = %s;", offsets1.vsOut(), diegp.fInEllipseOffsets1.name()); in onEmitCode()
796 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
811 fragBuilder->codeAppendf("float2 scaledOffset = %s.xy;", offsets0.fsIn()); in onEmitCode()
813 fragBuilder->codeAppendf("float2 duvdx = dFdx(%s.xy);", offsets0.fsIn()); in onEmitCode()
814 fragBuilder->codeAppendf("float2 duvdy = dFdy(%s.xy);", offsets0.fsIn()); in onEmitCode()
815 fragBuilder->codeAppendf( in onEmitCode()
820 fragBuilder->codeAppendf("grad *= %s.z;", offsets0.fsIn()); in onEmitCode()
832 fragBuilder->codeAppendf("invlen *= %s.z;", offsets0.fsIn()); in onEmitCode()
844 fragBuilder->codeAppendf("scaledOffset = %s.xy;", offsets1.fsIn()); in onEmitCode()
846 fragBuilder->codeAppendf("duvdx = float2(dFdx(%s));", offsets1.fsIn()); in onEmitCode()
847 fragBuilder->codeAppendf("duvdy = float2(dFdy(%s));", offsets1.fsIn()); in onEmitCode()
848 fragBuilder->codeAppendf( in onEmitCode()
853 fragBuilder->codeAppendf("grad *= %s.z;", offsets0.fsIn()); in onEmitCode()
861 fragBuilder->codeAppendf("invlen *= %s.z;", offsets0.fsIn()); in onEmitCode()
866 fragBuilder->codeAppendf("half4 %s = half4(half(edgeAlpha));", args.fOutputCoverage); in onEmitCode()