Lines Matching refs:codeAppendf
79 fragBuilder->codeAppendf("half4 %s;\n", args.fOutputColor); in onEmitCode()
110 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); in onEmitCode()
119 fragBuilder->codeAppendf("distance -= %s;", distanceAdjustUniName); in onEmitCode()
130 fragBuilder->codeAppendf( in onEmitCode()
133 fragBuilder->codeAppendf( in onEmitCode()
144 fragBuilder->codeAppendf("half st_grad_len = length(half2(dFdy(%s)));", st.fsIn()); in onEmitCode()
146 fragBuilder->codeAppendf("half st_grad_len = length(half2(dFdx(%s)));", st.fsIn()); in onEmitCode()
164 fragBuilder->codeAppendf("half2 Jdx = half2(dFdx(%s));", st.fsIn()); in onEmitCode()
165 fragBuilder->codeAppendf("half2 Jdy = half2(dFdy(%s));", st.fsIn()); in onEmitCode()
185 fragBuilder->codeAppendf("half4 %s = half4(val);", args.fOutputCoverage); in onEmitCode()
368 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode()
395 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); in onEmitCode()
415 fragBuilder->codeAppendf( in onEmitCode()
418 fragBuilder->codeAppendf( in onEmitCode()
428 fragBuilder->codeAppendf("half st_grad_len = half(length(dFdy(%s)));", st.fsIn()); in onEmitCode()
430 fragBuilder->codeAppendf("half st_grad_len = half(length(dFdx(%s)));", st.fsIn()); in onEmitCode()
448 fragBuilder->codeAppendf("half2 Jdx = half2(dFdx(%s));", st.fsIn()); in onEmitCode()
449 fragBuilder->codeAppendf("half2 Jdy = half2(dFdy(%s));", st.fsIn()); in onEmitCode()
466 fragBuilder->codeAppendf("half4 %s = half4(val);", args.fOutputCoverage); in onEmitCode()
627 fragBuilder->codeAppendf("half4 %s;\n", args.fOutputColor); in onEmitCode()
654 vertBuilder->codeAppendf("%s = -%s.x/3.0;", delta.vsOut(), atlasDimensionsInvName); in onEmitCode()
656 vertBuilder->codeAppendf("%s = %s.x/3.0;", delta.vsOut(), atlasDimensionsInvName); in onEmitCode()
667 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); in onEmitCode()
671 fragBuilder->codeAppendf("half st_grad_len = half(abs(dFdy(%s.y)));", st.fsIn()); in onEmitCode()
673 fragBuilder->codeAppendf("half st_grad_len = half(abs(dFdx(%s.x)));", st.fsIn()); in onEmitCode()
675 fragBuilder->codeAppendf("half2 offset = half2(half(st_grad_len*%s), 0.0);", in onEmitCode()
683 fragBuilder->codeAppendf("half2 st_grad = half2(dFdy(%s));", st.fsIn()); in onEmitCode()
684 fragBuilder->codeAppendf("half2 offset = half2(%s*float2(st_grad.y, -st_grad.x));", in onEmitCode()
687 fragBuilder->codeAppendf("half2 st_grad = half2(dFdx(%s));", st.fsIn()); in onEmitCode()
688 fragBuilder->codeAppendf("half2 offset = half(%s)*st_grad;", delta.fsIn()); in onEmitCode()
692 fragBuilder->codeAppendf("half2 st = half2(%s);\n", st.fsIn()); in onEmitCode()
696 fragBuilder->codeAppendf("half2 offset = half2(half(%s))*Jdx;", delta.fsIn()); in onEmitCode()
726 fragBuilder->codeAppendf("distance -= %s;", distanceAdjustUniName); in onEmitCode()
766 fragBuilder->codeAppendf("half4 %s = " in onEmitCode()
770 fragBuilder->codeAppendf( in onEmitCode()