Lines Matching full:clamp

450 // clamp builtins
453 /// \fn T clamp(T X, T Min, T Max)
456 /// \param X A value to clamp.
461 /// For values of -INF or INF, clamp will behave as expected.
466 half clamp(half, half, half);
469 half2 clamp(half2, half2, half2);
472 half3 clamp(half3, half3, half3);
475 half4 clamp(half4, half4, half4);
480 int16_t clamp(int16_t, int16_t, int16_t);
483 int16_t2 clamp(int16_t2, int16_t2, int16_t2);
486 int16_t3 clamp(int16_t3, int16_t3, int16_t3);
489 int16_t4 clamp(int16_t4, int16_t4, int16_t4);
493 uint16_t clamp(uint16_t, uint16_t, uint16_t);
496 uint16_t2 clamp(uint16_t2, uint16_t2, uint16_t2);
499 uint16_t3 clamp(uint16_t3, uint16_t3, uint16_t3);
502 uint16_t4 clamp(uint16_t4, uint16_t4, uint16_t4);
506 int clamp(int, int, int);
508 int2 clamp(int2, int2, int2);
510 int3 clamp(int3, int3, int3);
512 int4 clamp(int4, int4, int4);
515 uint clamp(uint, uint, uint);
517 uint2 clamp(uint2, uint2, uint2);
519 uint3 clamp(uint3, uint3, uint3);
521 uint4 clamp(uint4, uint4, uint4);
524 int64_t clamp(int64_t, int64_t, int64_t);
526 int64_t2 clamp(int64_t2, int64_t2, int64_t2);
528 int64_t3 clamp(int64_t3, int64_t3, int64_t3);
530 int64_t4 clamp(int64_t4, int64_t4, int64_t4);
533 uint64_t clamp(uint64_t, uint64_t, uint64_t);
535 uint64_t2 clamp(uint64_t2, uint64_t2, uint64_t2);
537 uint64_t3 clamp(uint64_t3, uint64_t3, uint64_t3);
539 uint64_t4 clamp(uint64_t4, uint64_t4, uint64_t4);
542 float clamp(float, float, float);
544 float2 clamp(float2, float2, float2);
546 float3 clamp(float3, float3, float3);
548 float4 clamp(float4, float4, float4);
551 double clamp(double, double, double);
553 double2 clamp(double2, double2, double2);
555 double3 clamp(double3, double3, double3);
557 double4 clamp(double4, double4, double4);