* @brief Return the max vector of a vector and a scalar. * * If either lane value is NaN, @c b will be returned for that lane. */
| 212 | * If either lane value is NaN, @c b will be returned for that lane. |
| 213 | */ |
| 214 | ASTCENC_SIMD_INLINE vfloat4 max(vfloat4 a, float b) |
| 215 | { |
| 216 | return max(a, vfloat4(b)); |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * @brief Return the clamped value between min and max. |
no test coverage detected