MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / load_all

Method load_all

external/basisu/encoder/cppspmd_sse.h:609–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607 }
608
609 CPPSPMD_FORCE_INLINE vfloat load_all(const float_vref& src)
610 {
611 CPPSPMD_ALIGN(16) int vindex[4];
612 _mm_store_si128((__m128i *)vindex, src.m_vindex);
613
614 CPPSPMD_ALIGN(16) float loaded[4];
615
616 for (int i = 0; i < 4; i++)
617 loaded[i] = src.m_pValue[vindex[i]];
618 return vfloat{ _mm_load_ps((const float*)loaded) };
619 }
620
621 // Linear ref to ints
622 struct int_lref

Callers

nothing calls this directly

Calls 8

insert_xFunction · 0.85
extract_xFunction · 0.85
insert_yFunction · 0.85
extract_yFunction · 0.85
insert_zFunction · 0.85
extract_zFunction · 0.85
insert_wFunction · 0.85
extract_wFunction · 0.85

Tested by

no test coverage detected