Home | History | Annotate | Download | only in cpu_ref

Lines Matching refs:high

106 static inline int4 clamp(int4 amount, int low, int high) {
108 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x);
109 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y);
110 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z);
111 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w);
115 static inline float4 clamp(float4 amount, float low, float high) {
117 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x);
118 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y);
119 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z);
120 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w);