Lines Matching refs:codeAppend
200 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
248 fragBuilder->codeAppend("float2 dxy = max(float2(dxy0.x, max(dxy0.y, dy1)), 0.0);"); in emitCode()
257 fragBuilder->codeAppend("float2 dxy = max(float2(max(dxy0.x, dx1), dxy0.y), 0.0);"); in emitCode()
266 fragBuilder->codeAppend("float2 dxy = max(float2(dxy1.x, max(dy0, dxy1.y)), 0.0);"); in emitCode()
275 fragBuilder->codeAppend("float2 dxy = max(float2(max(dx0, dxy1.x), dxy1.y), 0.0);"); in emitCode()
284 fragBuilder->codeAppend("alpha = 1.0 - alpha;"); in emitCode()
552 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
571 fragBuilder->codeAppend("float2 dxy = max(max(dxy0, dxy1), 0.0);"); in emitCode()
584 fragBuilder->codeAppend("half implicit = half(dot(Z, dxy) - 1.0);"); in emitCode()
586 fragBuilder->codeAppend("half grad_dot = half(4.0 * dot(Z, Z));"); in emitCode()
588 fragBuilder->codeAppend("grad_dot = max(grad_dot, 1.0e-4);"); in emitCode()
589 fragBuilder->codeAppend("half approx_dist = implicit * half(inversesqrt(grad_dot));"); in emitCode()
595 fragBuilder->codeAppend("half alpha = clamp(0.5 - approx_dist, 0.0, 1.0);"); in emitCode()
597 fragBuilder->codeAppend("half alpha = clamp(0.5 + approx_dist, 0.0, 1.0);"); in emitCode()