MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / VecSmearZ

Function VecSmearZ

TSSimd.h:387–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 }
386
387 inline vec_float VecSmearZ(const vec_float& v)
388 {
389 #if defined(TERATHON_SSE)
390
391 return (_mm_shuffle_ps(v, v, _MM_SHUFFLE(2, 2, 2, 2)));
392
393 #elif defined(TERATHON_NEON)
394
395 return (vdupq_n_f32(vgetq_lane_f32(v, 2)));
396
397 #endif
398 }
399
400 inline vec_float VecSmearW(const vec_float& v)
401 {

Callers 8

VecCmpltAny3DFunction · 0.85
VecCmpgtAny3DFunction · 0.85
VecHorizontalSum3DFunction · 0.85
VecDot3DFunction · 0.85
VecDot4DFunction · 0.85
VecPlaneDotPoint3DFunction · 0.85
VecTransformVector3DFunction · 0.85
VecTransformPoint3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected