Lines Matching refs:codeAppendf
24 fragBuilder->codeAppendf("%s.a = max(max(%s.r, %s.g), %s.b);", in adjust_for_lcd_coverage()
55 fragBuilder->codeAppendf("if (all(lessThanEqual(%s.rgb, half3(0)))) {" in emitCode()
73 fragBuilder->codeAppendf("half2 _dstTexCoord = (sk_FragCoord.xy - %s) * %s;", in emitCode()
80 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode()
92 fragBuilder->codeAppendf("half4 %s;", outColor); in emitCode()
104 fragBuilder->codeAppendf("%s = %s;", args.fOutputPrimary, outColor); in emitCode()
137 fragBuilder->codeAppendf("%s *= %s;", outColor, srcCoverage); in DefaultCoverageModulation()
138 fragBuilder->codeAppendf("%s = %s;", outColorSecondary, srcCoverage); in DefaultCoverageModulation()
140 fragBuilder->codeAppendf("%s = half4(1.0);", outColorSecondary); in DefaultCoverageModulation()
144 fragBuilder->codeAppendf("half lerpRed = mix(%s.a, %s.a, %s.r);", in DefaultCoverageModulation()
146 fragBuilder->codeAppendf("half lerpBlue = mix(%s.a, %s.a, %s.g);", in DefaultCoverageModulation()
148 fragBuilder->codeAppendf("half lerpGreen = mix(%s.a, %s.a, %s.b);", in DefaultCoverageModulation()
151 fragBuilder->codeAppendf("%s = %s * %s + (half4(1.0) - %s) * %s;", in DefaultCoverageModulation()
154 fragBuilder->codeAppendf("%s.a = max(max(lerpRed, lerpBlue), lerpGreen);", outColor); in DefaultCoverageModulation()