Home | History | Annotate | Download | only in gpu

Lines Matching full:invlen

293             fragBuilder->codeAppend("float invlen = inversesqrt(grad_dot);");
294 fragBuilder->codeAppend("float edgeAlpha = clamp(0.5-test*invlen, 0.0, 1.0);");
303 fragBuilder->codeAppend("invlen = inversesqrt(dot(grad, grad));");
304 fragBuilder->codeAppend("edgeAlpha *= clamp(0.5+test*invlen, 0.0, 1.0);");
477 fragBuilder->codeAppend("float invlen = inversesqrt(grad_dot);");
480 fragBuilder->codeAppend("float edgeAlpha = clamp(1.0-test*invlen, 0.0, 1.0);");
481 fragBuilder->codeAppend("edgeAlpha *= clamp(1.0+test*invlen, 0.0, 1.0);");
483 fragBuilder->codeAppend("float edgeAlpha = clamp(0.5-test*invlen, 0.0, 1.0);");
496 fragBuilder->codeAppend("invlen = inversesqrt(dot(grad, grad));");
497 fragBuilder->codeAppend("edgeAlpha *= clamp(0.5+test*invlen, 0.0, 1.0);");