Lines Matching refs:rsq
313 Float4 rsq; in reciprocalSquareRoot() local
317 rsq = Float4(1.0f) / Sqrt(abs); in reciprocalSquareRoot()
321 rsq = RcpSqrt_pp(abs); in reciprocalSquareRoot()
325 rsq = rsq * (Float4(3.0f) - rsq * rsq * abs) * Float4(0.5f); in reciprocalSquareRoot()
330 rsq = Min(rsq, Float4((float&)big)); in reciprocalSquareRoot()
332 return rsq; in reciprocalSquareRoot()
849 Float4 rsq = reciprocalSquareRoot(src.x, true, pp); in rsqx() local
851 dst.x = rsq; in rsqx()
852 dst.y = rsq; in rsqx()
853 dst.z = rsq; in rsqx()
854 dst.w = rsq; in rsqx()
865 void ShaderCore::rsq(Vector4f &dst, const Vector4f &src, bool pp) in rsq() function in sw::ShaderCore
1469 Float4 rsq = reciprocalSquareRoot(dot, false, pp); in nrm2() local
1471 dst.x = src.x * rsq; in nrm2()
1472 dst.y = src.y * rsq; in nrm2()
1473 dst.z = src.z * rsq; in nrm2()
1474 dst.w = src.w * rsq; in nrm2()
1480 Float4 rsq = reciprocalSquareRoot(dot, false, pp); in nrm3() local
1482 dst.x = src.x * rsq; in nrm3()
1483 dst.y = src.y * rsq; in nrm3()
1484 dst.z = src.z * rsq; in nrm3()
1485 dst.w = src.w * rsq; in nrm3()
1491 Float4 rsq = reciprocalSquareRoot(dot, false, pp); in nrm4() local
1493 dst.x = src.x * rsq; in nrm4()
1494 dst.y = src.y * rsq; in nrm4()
1495 dst.z = src.z * rsq; in nrm4()
1496 dst.w = src.w * rsq; in nrm4()