• Home
  • Raw
  • Download

Lines Matching refs:float2

4 extern float2 __attribute__((overloadable)) convert_float2(int2 c);
8 extern int2 __attribute__((overloadable)) convert_int2(float2 c);
14 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2);
19 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2);
26 extern float2 __attribute__((overloadable)) fnc(float2 v) { \
27 float2 r; \
49 extern int2 __attribute__((overloadable)) fnc(float2 v) { \
72 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
73 float2 r; \
95 extern float2 __attribute__((overloadable)) fnc(float2 v1, float v2) { \
96 float2 r; \
118 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \
119 float2 r; \
141 extern float2 __attribute__((overloadable)) fnc(float2 v1, int v2) { \
142 float2 r; \
164 extern float2 __attribute__((overloadable)) \
165 fnc(float2 v1, float2 *v2) { \
166 float2 r; \
202 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \
203 float2 r; \
237 extern float2 __attribute__((overloadable)) \
238 fnc(float2 v1, float2 v2, float2 v3) { \
239 float2 r; \
263 extern float2 __attribute__((overloadable)) \
264 fnc(float2 v1, float2 v2, int2 *v3) { \
265 float2 r; \
593 extern float2 __attribute__((overloadable)) mad(float2 a, float2 b, float2 c) { in mad()
648 extern float2 __attribute__((overloadable)) powr(float2 v, float2 p) { in powr()
738 extern float2 __attribute__((overloadable)) sqrt(float2);
755 extern float2 __attribute__((overloadable)) sincos(float2 v, float2 *cosptr) { in sincos()
945 extern float2 __attribute__((overloadable)) degrees(float2 radians) { in degrees()
958 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { in mix()
967 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { in mix()
980 extern float2 __attribute__((overloadable)) radians(float2 degrees) { in radians()
993 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step()
994 float2 r; in step()
1014 extern float2 __attribute__((overloadable)) step(float2 edge, float v) { in step()
1015 float2 r; in step()
1035 extern float2 __attribute__((overloadable)) step(float edge, float2 v) { in step()
1036 float2 r; in step()
1091 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { in dot()
1104 extern float __attribute__((overloadable)) length(float2 v) { in length()
1117 extern float __attribute__((overloadable)) length(float2 v);
1126 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { in distance()
1148 extern float2 __attribute__((overloadable)) normalize(float2 v) { in normalize()
1169 extern float __attribute__((overloadable)) fast_length(float2 v) { in fast_length()
1182 extern float __attribute__((overloadable)) fast_distance(float2 lhs, float2 rhs) { in fast_distance()
1207 extern float2 __attribute__((overloadable)) fast_normalize(float2 v) { in fast_normalize()
1278 extern float2 __attribute__((overloadable)) native_exp2(float2 v) { in native_exp2()
1281 float2 r = (v - convert_float2(x)); in native_exp2()
1285 float2 fo = (float2)(x << (int2)23); in native_exp2()
1288 float2 r2 = r*r; in native_exp2()
1289 float2 adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2()
1318 extern float2 __attribute__((overloadable)) native_exp(float2 v) { in native_exp()
1331 extern float2 __attribute__((overloadable)) native_exp10(float2 v) { in native_exp10()
1363 extern float2 __attribute__((overloadable)) native_log2(float2 v) { in native_log2()
1364 float2 v2 = {native_log2(v.x), native_log2(v.y)}; in native_log2()
1379 extern float2 __attribute__((overloadable)) native_log(float2 v) { in native_log()
1392 extern float2 __attribute__((overloadable)) native_log10(float2 v) { in native_log10()
1408 extern float2 __attribute__((overloadable)) native_powr(float2 v, float2 y) { in native_powr()
1409 float2 v2 = native_log2(v); in native_powr()
1582 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1588 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 v2) { return fn(v1, v2);} \
1594 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 *v2) { return fn(v1, v2);} \
1600 float2 __attribute__((overloadable)) native_##fn(float2 v1, int2 v2) { return fn(v1, v2);} \
1639 float2 __attribute__((overloadable)) native_normalize(float2 v) { return fast_normalize(v);} in native_normalize()
1644 float __attribute__((overloadable)) native_distance(float2 v1, float2 v2) { return fast_distance(v1… in native_distance()
1649 float __attribute__((overloadable)) native_length(float2 v) { return fast_length(v);} in native_length()
1654 float2 __attribute__((overloadable)) native_divide(float2 v1, float2 v2) { return v1 / v2;} in native_divide()
1659 float2 __attribute__((overloadable)) native_recip(float2 v) { return ((float2)1.f) / v;} in native_recip()