• 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; \
590 extern float2 __attribute__((overloadable)) mad(float2 a, float2 b, float2 c) { in mad()
645 extern float2 __attribute__((overloadable)) powr(float2 v, float2 p) { in powr()
735 extern float2 __attribute__((overloadable)) sqrt(float2);
752 extern float2 __attribute__((overloadable)) sincos(float2 v, float2 *cosptr) { in sincos()
942 extern float2 __attribute__((overloadable)) degrees(float2 radians) { in degrees()
955 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { in mix()
964 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { in mix()
977 extern float2 __attribute__((overloadable)) radians(float2 degrees) { in radians()
990 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step()
991 float2 r; in step()
1011 extern float2 __attribute__((overloadable)) step(float2 edge, float v) { in step()
1012 float2 r; in step()
1032 extern float2 __attribute__((overloadable)) step(float edge, float2 v) { in step()
1033 float2 r; in step()
1088 extern float __attribute__((overloadable)) dot(float2 lhs, float2 rhs) { in dot()
1101 extern float __attribute__((overloadable)) length(float2 v) { in length()
1114 extern float __attribute__((overloadable)) length(float2 v);
1123 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { in distance()
1145 extern float2 __attribute__((overloadable)) normalize(float2 v) { in normalize()
1166 extern float __attribute__((overloadable)) fast_length(float2 v) { in fast_length()
1179 extern float __attribute__((overloadable)) fast_distance(float2 lhs, float2 rhs) { in fast_distance()
1204 extern float2 __attribute__((overloadable)) fast_normalize(float2 v) { in fast_normalize()
1275 extern float2 __attribute__((overloadable)) native_exp2(float2 v) { in native_exp2()
1278 float2 r = (v - convert_float2(x)); in native_exp2()
1282 float2 fo = (float2)(x << (int2)23); in native_exp2()
1285 float2 r2 = r*r; in native_exp2()
1286 float2 adj = 1.f + r + (r2 * 0.5f) + (r2*r * 0.166666f) + (r2*r2 * 0.0416666f); in native_exp2()
1315 extern float2 __attribute__((overloadable)) native_exp(float2 v) { in native_exp()
1328 extern float2 __attribute__((overloadable)) native_exp10(float2 v) { in native_exp10()
1360 extern float2 __attribute__((overloadable)) native_log2(float2 v) { in native_log2()
1361 float2 v2 = {native_log2(v.x), native_log2(v.y)}; in native_log2()
1376 extern float2 __attribute__((overloadable)) native_log(float2 v) { in native_log()
1389 extern float2 __attribute__((overloadable)) native_log10(float2 v) { in native_log10()
1405 extern float2 __attribute__((overloadable)) native_powr(float2 v, float2 y) { in native_powr()
1406 float2 v2 = native_log2(v); in native_powr()
1579 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1585 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 v2) { return fn(v1, v2);} \
1591 float2 __attribute__((overloadable)) native_##fn(float2 v1, float2 *v2) { return fn(v1, v2);} \
1597 float2 __attribute__((overloadable)) native_##fn(float2 v1, int2 v2) { return fn(v1, v2);} \
1636 float2 __attribute__((overloadable)) native_normalize(float2 v) { return fast_normalize(v);} in native_normalize()
1641 float __attribute__((overloadable)) native_distance(float2 v1, float2 v2) { return fast_distance(v1… in native_distance()
1646 float __attribute__((overloadable)) native_length(float2 v) { return fast_length(v);} in native_length()
1651 float2 __attribute__((overloadable)) native_divide(float2 v1, float2 v2) { return v1 / v2;} in native_divide()
1656 float2 __attribute__((overloadable)) native_recip(float2 v) { return ((float2)1.f) / v;} in native_recip()