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

Function operator+

Source/astcenc_vecmathlib_none_4.h:444–450  ·  view source on GitHub ↗

* @brief Overload: vector by vector addition. */

Source from the content-addressed store, hash-verified

442 * @brief Overload: vector by vector addition.
443 */
444ASTCENC_SIMD_INLINE vint4 operator+(vint4 a, vint4 b)
445{
446 return vint4(a.m[0] + b.m[0],
447 a.m[1] + b.m[1],
448 a.m[2] + b.m[2],
449 a.m[3] + b.m[3]);
450}
451
452/**
453 * @brief Overload: vector by vector subtraction.

Callers

nothing calls this directly

Calls 2

vint4Class · 0.70
vfloat4Class · 0.70

Tested by

no test coverage detected