MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / gatherf

Function gatherf

Source/astcenc_vecmathlib_none_4.h:938–944  ·  view source on GitHub ↗

* @brief Load a vector of gathered results from an array; */

Source from the content-addressed store, hash-verified

936 * @brief Load a vector of gathered results from an array;
937 */
938ASTCENC_SIMD_INLINE vfloat4 gatherf(const float* base, vint4 indices)
939{
940 return vfloat4(base[indices.m[0]],
941 base[indices.m[1]],
942 base[indices.m[2]],
943 base[indices.m[3]]);
944}
945
946/**
947 * @brief Load a vector of gathered results from an array using byte indices from memory

Callers

nothing calls this directly

Calls 1

vfloat4Class · 0.70

Tested by

no test coverage detected