• Home
  • Raw
  • Download

Lines Matching refs:v1

87 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
89 r.x = fnc(v1.x, v2.x); \
90 r.y = fnc(v1.y, v2.y); \
93 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \
95 r.x = fnc(v1.x, v2.x); \
96 r.y = fnc(v1.y, v2.y); \
97 r.z = fnc(v1.z, v2.z); \
100 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \
102 r.x = fnc(v1.x, v2.x); \
103 r.y = fnc(v1.y, v2.y); \
104 r.z = fnc(v1.z, v2.z); \
105 r.w = fnc(v1.w, v2.w); \
110 extern float2 __attribute__((overloadable)) fnc(float2 v1, float v2) { \
112 r.x = fnc(v1.x, v2); \
113 r.y = fnc(v1.y, v2); \
116 extern float3 __attribute__((overloadable)) fnc(float3 v1, float v2) { \
118 r.x = fnc(v1.x, v2); \
119 r.y = fnc(v1.y, v2); \
120 r.z = fnc(v1.z, v2); \
123 extern float4 __attribute__((overloadable)) fnc(float4 v1, float v2) { \
125 r.x = fnc(v1.x, v2); \
126 r.y = fnc(v1.y, v2); \
127 r.z = fnc(v1.z, v2); \
128 r.w = fnc(v1.w, v2); \
133 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \
135 r.x = fnc(v1.x, v2.x); \
136 r.y = fnc(v1.y, v2.y); \
139 extern float3 __attribute__((overloadable)) fnc(float3 v1, int3 v2) { \
141 r.x = fnc(v1.x, v2.x); \
142 r.y = fnc(v1.y, v2.y); \
143 r.z = fnc(v1.z, v2.z); \
146 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2) { \
148 r.x = fnc(v1.x, v2.x); \
149 r.y = fnc(v1.y, v2.y); \
150 r.z = fnc(v1.z, v2.z); \
151 r.w = fnc(v1.w, v2.w); \
156 extern float2 __attribute__((overloadable)) fnc(float2 v1, int v2) { \
158 r.x = fnc(v1.x, v2); \
159 r.y = fnc(v1.y, v2); \
162 extern float3 __attribute__((overloadable)) fnc(float3 v1, int v2) { \
164 r.x = fnc(v1.x, v2); \
165 r.y = fnc(v1.y, v2); \
166 r.z = fnc(v1.z, v2); \
169 extern float4 __attribute__((overloadable)) fnc(float4 v1, int v2) { \
171 r.x = fnc(v1.x, v2); \
172 r.y = fnc(v1.y, v2); \
173 r.z = fnc(v1.z, v2); \
174 r.w = fnc(v1.w, v2); \
180 fnc(float2 v1, float2 *v2) { \
183 r.x = fnc(v1.x, &t[0]); \
184 r.y = fnc(v1.y, &t[1]); \
190 fnc(float3 v1, float3 *v2) { \
193 r.x = fnc(v1.x, &t[0]); \
194 r.y = fnc(v1.y, &t[1]); \
195 r.z = fnc(v1.z, &t[2]); \
202 fnc(float4 v1, float4 *v2) { \
205 r.x = fnc(v1.x, &t[0]); \
206 r.y = fnc(v1.y, &t[1]); \
207 r.z = fnc(v1.z, &t[2]); \
208 r.w = fnc(v1.w, &t[3]); \
217 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \
220 r.x = fnc(v1.x, &t[0]); \
221 r.y = fnc(v1.y, &t[1]); \
226 extern float3 __attribute__((overloadable)) fnc(float3 v1, int3 *v2) { \
229 r.x = fnc(v1.x, &t[0]); \
230 r.y = fnc(v1.y, &t[1]); \
231 r.z = fnc(v1.z, &t[2]); \
237 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2) { \
240 r.x = fnc(v1.x, &t[0]); \
241 r.y = fnc(v1.y, &t[1]); \
242 r.z = fnc(v1.z, &t[2]); \
243 r.w = fnc(v1.w, &t[3]); \
253 fnc(float2 v1, float2 v2, float2 v3) { \
255 r.x = fnc(v1.x, v2.x, v3.x); \
256 r.y = fnc(v1.y, v2.y, v3.y); \
260 fnc(float3 v1, float3 v2, float3 v3) { \
262 r.x = fnc(v1.x, v2.x, v3.x); \
263 r.y = fnc(v1.y, v2.y, v3.y); \
264 r.z = fnc(v1.z, v2.z, v3.z); \
268 fnc(float4 v1, float4 v2, float4 v3) { \
270 r.x = fnc(v1.x, v2.x, v3.x); \
271 r.y = fnc(v1.y, v2.y, v3.y); \
272 r.z = fnc(v1.z, v2.z, v3.z); \
273 r.w = fnc(v1.w, v2.w, v3.w); \
279 fnc(float2 v1, float2 v2, int2 *v3) { \
282 r.x = fnc(v1.x, v2.x, &t[0]); \
283 r.y = fnc(v1.y, v2.y, &t[1]); \
289 fnc(float3 v1, float3 v2, int3 *v3) { \
292 r.x = fnc(v1.x, v2.x, &t[0]); \
293 r.y = fnc(v1.y, v2.y, &t[1]); \
294 r.z = fnc(v1.z, v2.z, &t[2]); \
301 fnc(float4 v1, float4 v2, int4 *v3) { \
304 r.x = fnc(v1.x, v2.x, &t[0]); \
305 r.y = fnc(v1.y, v2.y, &t[1]); \
306 r.z = fnc(v1.z, v2.z, &t[2]); \
307 r.w = fnc(v1.w, v2.w, &t[3]); \
701 fnc(type v1, type v2) { \
705 fnc(type##2 v1, type##2 v2) { \
707 r.x = fnc(v1.x, v2.x); \
708 r.y = fnc(v1.y, v2.y); \
712 fnc(type##3 v1, type##3 v2) { \
714 r.x = fnc(v1.x, v2.x); \
715 r.y = fnc(v1.y, v2.y); \
716 r.z = fnc(v1.z, v2.z); \
720 fnc(type##4 v1, type##4 v2) { \
722 r.x = fnc(v1.x, v2.x); \
723 r.y = fnc(v1.y, v2.y); \
724 r.z = fnc(v1.z, v2.z); \
725 r.w = fnc(v1.w, v2.w); \
741 IN_FUNC_IN_IN_BODY(min, (v1 < v2 ? v1 : v2)) in UIN_FUNC_IN()
744 IN_FUNC_IN_IN_BODY(max, (v1 > v2 ? v1 : v2)) in UIN_FUNC_IN()