Lines Matching refs:codeAppendf
24 fragBuilder->codeAppendf("%s.a = max(max(%s.r, %s.g), %s.b);", in adjust_for_lcd_coverage()
52 fragBuilder->codeAppendf("if (all(lessThanEqual(%s.rgb, half3(0)))) {" in emitCode()
74 fragBuilder->codeAppendf("half2 _dstTexCoord = (half2(sk_FragCoord.xy) - %s) * %s;", in emitCode()
81 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode()
85 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode()
97 fragBuilder->codeAppendf("half4 %s;", outColor); in emitCode()
109 fragBuilder->codeAppendf("%s = %s;", args.fOutputPrimary, outColor); in emitCode()
123 x->codeAppendf("%s = %s.%s;", outColor, outColor, swizzle.asString().c_str()); in emitWriteSwizzle()
125 x->codeAppendf("%s = %s.%s;", outColorSecondary, outColorSecondary, in emitWriteSwizzle()
156 fragBuilder->codeAppendf("half3 lerpRGB = mix(%s.aaa, %s.aaa, %s.rgb);", in DefaultCoverageModulation()
159 fragBuilder->codeAppendf("%s = %s * %s + (half4(1.0) - %s) * %s;", in DefaultCoverageModulation()
162 fragBuilder->codeAppendf("%s.a = max(max(lerpRGB.r, lerpRGB.b), lerpRGB.g);", outColor); in DefaultCoverageModulation()