Home
last modified time | relevance | path

Searched refs:rcpLength (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimdlib.hpp281 Float rcpLength = vec4_rcp_length_ps(v); in vec4_normalize_ps() local
283 r[0] = SIMD::mul_ps(v[0], rcpLength); in vec4_normalize_ps()
284 r[1] = SIMD::mul_ps(v[1], rcpLength); in vec4_normalize_ps()
285 r[2] = SIMD::mul_ps(v[2], rcpLength); in vec4_normalize_ps()
286 r[3] = SIMD::mul_ps(v[3], rcpLength); in vec4_normalize_ps()
/external/swiftshader/src/Shader/
DVertexPipeline.cpp928 Float4 rcpLength = RcpSqrt_pp(dot3(src, src)); in normalize() local
930 dst.x = src.x * rcpLength; in normalize()
931 dst.y = src.y * rcpLength; in normalize()
932 dst.z = src.z * rcpLength; in normalize()