• Home
  • Raw
  • Download

Lines Matching refs:high

85 static inline int4 clamp(int4 amount, int low, int high) {  in CVT_FUNC()
87 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in CVT_FUNC()
88 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in CVT_FUNC()
89 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); in CVT_FUNC()
90 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); in CVT_FUNC()
94 static inline float4 clamp(float4 amount, float low, float high) { in clamp() argument
96 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
97 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
98 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); in clamp()
99 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); in clamp()
103 static inline int2 clamp(int2 amount, int low, int high) { in clamp() argument
105 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
106 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
110 static inline float2 clamp(float2 amount, float low, float high) { in clamp() argument
112 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
113 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
117 static inline int clamp(int amount, int low, int high) { in clamp() argument
118 return amount < low ? low : (amount > high ? high : amount); in clamp()
121 static inline float clamp(float amount, float low, float high) { in clamp() argument
122 return amount < low ? low : (amount > high ? high : amount); in clamp()