* @brief Return a integer value for a float vector, using truncation. */
| 940 | * @brief Return a integer value for a float vector, using truncation. |
| 941 | */ |
| 942 | ASTCENC_SIMD_INLINE vint4 float_to_int(vfloat4 a) |
| 943 | { |
| 944 | return vint4(_mm_cvttps_epi32(a.m)); |
| 945 | } |
| 946 | |
| 947 | /** |
| 948 | * @brief Return a integer value for a float vector, using round-to-nearest. |