MCPcopy Create free account
hub / github.com/defold/defold / lerp

Function lerp

engine/dlib/src/basis/encoder/cppspmd_sse.h:1571–1571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1569}
1570
1571CPPSPMD_FORCE_INLINE vfloat lerp(const vfloat &x, const vfloat &y, const vfloat &s) { return vfma(y - x, s, x); }
1572
1573CPPSPMD_FORCE_INLINE lint operator+(int a, const lint& b) { return lint{ _mm_add_epi32(_mm_set1_epi32(a), b.m_value) }; }
1574CPPSPMD_FORCE_INLINE lint operator+(const lint& a, int b) { return lint{ _mm_add_epi32(a.m_value, _mm_set1_epi32(b)) }; }

Callers 6

compute_pca_from_covarFunction · 0.70
pack_eac_a8Function · 0.70
find_next_entryMethod · 0.70
pick_sideMethod · 0.70
process_frontendMethod · 0.70
uastc_pack_eac_a8Function · 0.70

Calls 1

vfmaFunction · 0.85

Tested by

no test coverage detected