• Home
  • Raw
  • Download

Lines Matching refs:high

92 inline int4 clamp(int4 amount, int low, int high) {  in clamp()  argument
94 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
95 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
96 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); in clamp()
97 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); in clamp()
101 inline float4 clamp(float4 amount, float low, float high) { in clamp() argument
103 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
104 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
105 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); in clamp()
106 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); in clamp()
110 inline int2 clamp(int2 amount, int low, int 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 inline float2 clamp(float2 amount, float low, float high) { in clamp() argument
119 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); in clamp()
120 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp()
124 inline int clamp(int amount, int low, int high) { in clamp() argument
125 return amount < low ? low : (amount > high ? high : amount); in clamp()
128 inline float clamp(float amount, float low, float high) { in clamp() argument
129 return amount < low ? low : (amount > high ? high : amount); in clamp()