Lines Matching refs:float2

3 extern float2 __attribute__((overloadable)) convert_float2(int2 c);
7 extern int2 __attribute__((overloadable)) convert_int2(float2 c);
13 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2);
18 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2);
25 extern float2 __attribute__((overloadable)) fnc(float2 v) { \
26 float2 r; \
48 extern int2 __attribute__((overloadable)) fnc(float2 v) { \
71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
72 float2 r; \
94 extern float2 __attribute__((overloadable)) fnc(float2 v1, float v2) { \
95 float2 r; \
117 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \
118 float2 r; \
140 extern float2 __attribute__((overloadable)) fnc(float2 v1, int v2) { \
141 float2 r; \
163 extern float2 __attribute__((overloadable)) \
164 fnc(float2 v1, float2 *v2) { \
165 float2 r; \
201 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \
202 float2 r; \
236 extern float2 __attribute__((overloadable)) \
237 fnc(float2 v1, float2 v2, float2 v3) { \
238 float2 r; \
262 extern float2 __attribute__((overloadable)) \
263 fnc(float2 v1, float2 v2, int2 *v3) { \
264 float2 r; \
490 extern float2 __attribute__((overloadable)) mad(float2 a, float2 b, float2 c) { in mad()
530 extern float2 __attribute__((overloadable)) powr(float2 v, float2 p) { in powr()
594 extern float2 __attribute__((overloadable)) sqrt(float2);
608 extern float2 __attribute__((overloadable)) sincos(float2 v, float2 *cosptr) { in sincos()
783 extern float2 __attribute__((overloadable)) degrees(float2 radians) { in degrees()
796 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { in mix()
805 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { in mix()
818 extern float2 __attribute__((overloadable)) radians(float2 degrees) { in radians()
831 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step()
832 float2 r; in step()
852 extern float2 __attribute__((overloadable)) step(float2 edge, float v) { in step()
853 float2 r; in step()
873 extern float2 __attribute__((overloadable)) step(float edge, float2 v) { in step()
874 float2 r; in step()
896 extern float2 __attribute__((overloadable)) smoothstep(float2, float2, float2);
899 extern float2 __attribute__((overloadable)) smoothstep(float, float, float2);
934 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { in dot()
947 extern float __attribute__((overloadable)) length(float2 v) { in length()
960 extern float __attribute__((overloadable)) length(float2 v);
969 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { in distance()
991 extern float2 __attribute__((overloadable)) normalize(float2 v) { in normalize()
1012 extern float __attribute__((overloadable)) fast_length(float2 v) { in fast_length()
1025 extern float __attribute__((overloadable)) fast_distance(float2 lhs, float2 rhs) { in fast_distance()
1050 extern float2 __attribute__((overloadable)) fast_normalize(float2 v) { in fast_normalize()
1121 extern float2 __attribute__((overloadable)) native_exp2(float2 v) { in native_exp2()
1124 float2 r = (v - convert_float2(x)); in native_exp2()
1128 float2 fo = (float2)(x << (int2)23); in native_exp2()
1131 float2 r2 = r*r; in native_exp2()
1132 float2 adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2()
1161 extern float2 __attribute__((overloadable)) native_exp(float2 v) { in native_exp()
1174 extern float2 __attribute__((overloadable)) native_exp10(float2 v) { in native_exp10()
1206 extern float2 __attribute__((overloadable)) native_log2(float2 v) { in native_log2()
1207 float2 v2 = {native_log2(v.x), native_log2(v.y)}; in native_log2()
1222 extern float2 __attribute__((overloadable)) native_log(float2 v) { in native_log()
1235 extern float2 __attribute__((overloadable)) native_log10(float2 v) { in native_log10()
1251 extern float2 __attribute__((overloadable)) native_powr(float2 v, float2 y) { in native_powr()
1252 float2 v2 = native_log2(v); in native_powr()
1425 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1431 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 v2) { return fn(v1, v2);} \
1437 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 *v2) { return fn(v1, v2);} \
1443 float2 __attribute__((overloadable)) native_##fn(float2 v1, int2 v2) { return fn(v1, v2);} \
1482 float2 __attribute__((overloadable)) native_normalize(float2 v) { return fast_normalize(v);} in native_normalize()
1487 float __attribute__((overloadable)) native_distance(float2 v1, float2 v2) { return fast_distance(v1… in native_distance()
1492 float __attribute__((overloadable)) native_length(float2 v) { return fast_length(v);} in native_length()
1497 float2 __attribute__((overloadable)) native_divide(float2 v1, float2 v2) { return v1 / v2;} in native_divide()
1502 float2 __attribute__((overloadable)) native_recip(float2 v) { return ((float2)1.f) / v;} in native_recip()