Lines Matching refs:res
59 Float4 res = new Float4(); in add() local
60 res.x = a.x + b.x; in add()
61 res.y = a.y + b.y; in add()
62 res.z = a.z + b.z; in add()
63 res.w = a.w + b.w; in add()
65 return res; in add()
100 Float4 res = new Float4(); in add() local
101 res.x = a.x + b; in add()
102 res.y = a.y + b; in add()
103 res.z = a.z + b; in add()
104 res.w = a.w + b; in add()
106 return res; in add()
141 Float4 res = new Float4(); in sub() local
142 res.x = a.x - b; in sub()
143 res.y = a.y - b; in sub()
144 res.z = a.z - b; in sub()
145 res.w = a.w - b; in sub()
147 return res; in sub()
158 Float4 res = new Float4(); in sub() local
159 res.x = a.x - b.x; in sub()
160 res.y = a.y - b.y; in sub()
161 res.z = a.z - b.z; in sub()
162 res.w = a.w - b.w; in sub()
164 return res; in sub()
199 Float4 res = new Float4(); in mul() local
200 res.x = a.x * b.x; in mul()
201 res.y = a.y * b.y; in mul()
202 res.z = a.z * b.z; in mul()
203 res.w = a.w * b.w; in mul()
205 return res; in mul()
216 Float4 res = new Float4(); in mul() local
217 res.x = a.x * b; in mul()
218 res.y = a.y * b; in mul()
219 res.z = a.z * b; in mul()
220 res.w = a.w * b; in mul()
222 return res; in mul()
257 Float4 res = new Float4(); in div() local
258 res.x = a.x / b; in div()
259 res.y = a.y / b; in div()
260 res.z = a.z / b; in div()
261 res.w = a.w / b; in div()
263 return res; in div()
274 Float4 res = new Float4(); in div() local
275 res.x = a.x / b.x; in div()
276 res.y = a.y / b.y; in div()
277 res.z = a.z / b.z; in div()
278 res.w = a.w / b.w; in div()
280 return res; in div()