* @brief Return the min vector of a vector and a scalar. * * If either lane value is NaN, @c b will be returned for that lane. */
| 202 | * If either lane value is NaN, @c b will be returned for that lane. |
| 203 | */ |
| 204 | ASTCENC_SIMD_INLINE vfloat4 min(vfloat4 a, float b) |
| 205 | { |
| 206 | return min(a, vfloat4(b)); |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * @brief Return the max vector of a vector and a scalar. |