Lines Matching refs:codeAppendf
76 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs().name()); in onEmitCode()
80 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
123 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
124 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); in onEmitCode()
125 fragBuilder->codeAppendf("%s = 2.0 * %s.x * %s.x - %s.y * %s.z - %s.z * %s.y;", in onEmitCode()
130 fragBuilder->codeAppendf("%s = 2.0 * %s.x * %s.x - %s.y * %s.z - %s.z * %s.y;", in onEmitCode()
135 fragBuilder->codeAppendf("%s = float2(%s, %s);", gF.c_str(), dfdx.c_str(), in onEmitCode()
137 fragBuilder->codeAppendf("%s = sqrt(dot(%s, %s));", in onEmitCode()
139 fragBuilder->codeAppendf("%s = %s.x*%s.x - %s.y*%s.z;", in onEmitCode()
141 fragBuilder->codeAppendf("%s = abs(%s);", func.c_str(), func.c_str()); in onEmitCode()
142 fragBuilder->codeAppendf("%s = half(%s / %s);", in onEmitCode()
144 fragBuilder->codeAppendf("%s = max(1.0 - %s, 0.0);", in onEmitCode()
157 fragBuilder->codeAppendf("half4 %s = half4(half(%s) * %s);", in onEmitCode()
160 fragBuilder->codeAppendf("half4 %s = half4(%s);", args.fOutputCoverage, edgeAlpha.c_str()); in onEmitCode()
287 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inHairQuadEdge().name()); in onEmitCode()
291 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
312 fragBuilder->codeAppendf("half edgeAlpha;"); in onEmitCode()
314 fragBuilder->codeAppendf("half2 duvdx = half2(dFdx(%s.xy));", v.fsIn()); in onEmitCode()
315 fragBuilder->codeAppendf("half2 duvdy = half2(dFdy(%s.xy));", v.fsIn()); in onEmitCode()
316 fragBuilder->codeAppendf("half2 gF = half2(2.0 * %s.x * duvdx.x - duvdx.y," in onEmitCode()
319 fragBuilder->codeAppendf("edgeAlpha = half(%s.x * %s.x - %s.y);", in onEmitCode()
333 fragBuilder->codeAppendf("half4 %s = half4(%s * edgeAlpha);", args.fOutputCoverage, in onEmitCode()
336 fragBuilder->codeAppendf("half4 %s = half4(edgeAlpha);", args.fOutputCoverage); in onEmitCode()