Lines Matching refs:codeAppend
202 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
250 fragBuilder->codeAppend("float2 dxy = max(float2(dxy0.x, max(dxy0.y, dy1)), 0.0);"); in emitCode()
259 fragBuilder->codeAppend("float2 dxy = max(float2(max(dxy0.x, dx1), dxy0.y), 0.0);"); in emitCode()
268 fragBuilder->codeAppend("float2 dxy = max(float2(dxy1.x, max(dy0, dxy1.y)), 0.0);"); in emitCode()
277 fragBuilder->codeAppend("float2 dxy = max(float2(max(dx0, dxy1.x), dxy1.y), 0.0);"); in emitCode()
286 fragBuilder->codeAppend("alpha = 1.0 - alpha;"); in emitCode()
567 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
586 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
599 fragBuilder->codeAppend("half implicit = half(dot(Z, dxy) - 1.0);"); in emitCode()
601 fragBuilder->codeAppend("half grad_dot = half(4.0 * dot(Z, Z));"); in emitCode()
603 fragBuilder->codeAppend("grad_dot = max(grad_dot, 1.0e-4);"); in emitCode()
604 fragBuilder->codeAppend("half approx_dist = implicit * half(inversesqrt(grad_dot));"); in emitCode()
610 fragBuilder->codeAppend("half alpha = clamp(0.5 - approx_dist, 0.0, 1.0);"); in emitCode()
612 fragBuilder->codeAppend("half alpha = clamp(0.5 + approx_dist, 0.0, 1.0);"); in emitCode()