• Home
  • Raw
  • Download

Lines Matching refs:Float4

118 		Int4 minZ = CmpNLE(Float4(0.0f), o[pos].z);  in computeClipFlags()
127 Int4 finiteX = CmpLE(Abs(o[pos].x), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
128 Int4 finiteY = CmpLE(Abs(o[pos].y), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
129 Int4 finiteZ = CmpLE(Abs(o[pos].z), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
167 v.x = *Pointer<Float4>(source0); in readStream()
168 v.y = *Pointer<Float4>(source1); in readStream()
169 v.z = *Pointer<Float4>(source2); in readStream()
170 v.w = *Pointer<Float4>(source3); in readStream()
178 if(stream.count >= 1) v.x = As<Float4>(Int4(v.x)); in readStream()
179 if(stream.count >= 2) v.x = As<Float4>(Int4(v.y)); in readStream()
180 if(stream.count >= 3) v.x = As<Float4>(Int4(v.z)); in readStream()
181 if(stream.count >= 4) v.x = As<Float4>(Int4(v.w)); in readStream()
184 if(stream.count >= 1) v.x = As<Float4>(UInt4(v.x)); in readStream()
185 if(stream.count >= 2) v.x = As<Float4>(UInt4(v.y)); in readStream()
186 if(stream.count >= 3) v.x = As<Float4>(UInt4(v.z)); in readStream()
187 if(stream.count >= 4) v.x = As<Float4>(UInt4(v.w)); in readStream()
198 v.x = Float4(*Pointer<Byte4>(source0)); in readStream()
199 v.y = Float4(*Pointer<Byte4>(source1)); in readStream()
200 v.z = Float4(*Pointer<Byte4>(source2)); in readStream()
201 v.w = Float4(*Pointer<Byte4>(source3)); in readStream()
207 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
208 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
209 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
210 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
215 v.x = As<Float4>(Int4(*Pointer<Byte4>(source0))); in readStream()
216 v.y = As<Float4>(Int4(*Pointer<Byte4>(source1))); in readStream()
217 v.z = As<Float4>(Int4(*Pointer<Byte4>(source2))); in readStream()
218 v.w = As<Float4>(Int4(*Pointer<Byte4>(source3))); in readStream()
226 v.x = Float4(*Pointer<SByte4>(source0)); in readStream()
227 v.y = Float4(*Pointer<SByte4>(source1)); in readStream()
228 v.z = Float4(*Pointer<SByte4>(source2)); in readStream()
229 v.w = Float4(*Pointer<SByte4>(source3)); in readStream()
235 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleSByte)); in readStream()
236 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleSByte)); in readStream()
237 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleSByte)); in readStream()
238 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleSByte)); in readStream()
243 v.x = As<Float4>(Int4(*Pointer<SByte4>(source0))); in readStream()
244 v.y = As<Float4>(Int4(*Pointer<SByte4>(source1))); in readStream()
245 v.z = As<Float4>(Int4(*Pointer<SByte4>(source2))); in readStream()
246 v.w = As<Float4>(Int4(*Pointer<SByte4>(source3))); in readStream()
253 …v.x = Float4(*Pointer<Byte4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream()
254 …v.y = Float4(*Pointer<Byte4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream()
255 …v.z = Float4(*Pointer<Byte4>(source2)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream()
256 …v.w = Float4(*Pointer<Byte4>(source3)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte… in readStream()
261 Float4 t = v.x; in readStream()
269 v.x = Float4(*Pointer<Short4>(source0)); in readStream()
270 v.y = Float4(*Pointer<Short4>(source1)); in readStream()
271 v.z = Float4(*Pointer<Short4>(source2)); in readStream()
272 v.w = Float4(*Pointer<Short4>(source3)); in readStream()
278 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
279 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
280 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
281 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
286 v.x = As<Float4>(Int4(*Pointer<Short4>(source0))); in readStream()
287 v.y = As<Float4>(Int4(*Pointer<Short4>(source1))); in readStream()
288 v.z = As<Float4>(Int4(*Pointer<Short4>(source2))); in readStream()
289 v.w = As<Float4>(Int4(*Pointer<Short4>(source3))); in readStream()
297 v.x = Float4(*Pointer<UShort4>(source0)); in readStream()
298 v.y = Float4(*Pointer<UShort4>(source1)); in readStream()
299 v.z = Float4(*Pointer<UShort4>(source2)); in readStream()
300 v.w = Float4(*Pointer<UShort4>(source3)); in readStream()
306 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
307 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
308 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
309 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
314 v.x = As<Float4>(Int4(*Pointer<UShort4>(source0))); in readStream()
315 v.y = As<Float4>(Int4(*Pointer<UShort4>(source1))); in readStream()
316 v.z = As<Float4>(Int4(*Pointer<UShort4>(source2))); in readStream()
317 v.w = As<Float4>(Int4(*Pointer<UShort4>(source3))); in readStream()
325 v.x = Float4(*Pointer<Int4>(source0)); in readStream()
326 v.y = Float4(*Pointer<Int4>(source1)); in readStream()
327 v.z = Float4(*Pointer<Int4>(source2)); in readStream()
328 v.w = Float4(*Pointer<Int4>(source3)); in readStream()
334 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleInt)); in readStream()
335 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleInt)); in readStream()
336 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleInt)); in readStream()
337 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleInt)); in readStream()
342 v.x = *Pointer<Float4>(source0); in readStream()
343 v.y = *Pointer<Float4>(source1); in readStream()
344 v.z = *Pointer<Float4>(source2); in readStream()
345 v.w = *Pointer<Float4>(source3); in readStream()
353 v.x = Float4(*Pointer<UInt4>(source0)); in readStream()
354 v.y = Float4(*Pointer<UInt4>(source1)); in readStream()
355 v.z = Float4(*Pointer<UInt4>(source2)); in readStream()
356 v.w = Float4(*Pointer<UInt4>(source3)); in readStream()
362 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUInt)); in readStream()
363 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUInt)); in readStream()
364 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUInt)); in readStream()
365 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUInt)); in readStream()
370 v.x = *Pointer<Float4>(source0); in readStream()
371 v.y = *Pointer<Float4>(source1); in readStream()
372 v.z = *Pointer<Float4>(source2); in readStream()
373 v.w = *Pointer<Float4>(source3); in readStream()
423 v.y *= Float4(1.0f / 0x00000400); in readStream()
424 v.z *= Float4(1.0f / 0x00100000); in readStream()
472 v.x *= Float4(1.0f / 0x00400000 / 511.0f); in readStream()
473 v.y *= Float4(1.0f / 0x00400000 / 511.0f); in readStream()
474 v.z *= Float4(1.0f / 0x00400000 / 511.0f); in readStream()
479 …v.x = Float4(*Pointer<Int4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleFixed… in readStream()
480 …v.y = Float4(*Pointer<Int4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleFixed… in readStream()
481 …v.z = Float4(*Pointer<Int4>(source2)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleFixed… in readStream()
482 …v.w = Float4(*Pointer<Int4>(source3)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleFixed… in readStream()
558 v.x = Float4((src << 22) >> 22); in readStream()
559 v.y = Float4((src << 12) >> 22); in readStream()
560 v.z = Float4((src << 02) >> 22); in readStream()
561 v.w = Float4(src >> 30); in readStream()
565 v.x = Max(v.x * Float4(1.0f / 0x1FF), Float4(-1.0f)); in readStream()
566 v.y = Max(v.y * Float4(1.0f / 0x1FF), Float4(-1.0f)); in readStream()
567 v.z = Max(v.z * Float4(1.0f / 0x1FF), Float4(-1.0f)); in readStream()
568 v.w = Max(v.w, Float4(-1.0f)); in readStream()
580 v.x = Float4(src & Int4(0x3FF)); in readStream()
581 v.y = Float4((src >> 10) & Int4(0x3FF)); in readStream()
582 v.z = Float4((src >> 20) & Int4(0x3FF)); in readStream()
583 v.w = Float4((src >> 30) & Int4(0x3)); in readStream()
587 v.x *= Float4(1.0f / 0x3FF); in readStream()
588 v.y *= Float4(1.0f / 0x3FF); in readStream()
589 v.z *= Float4(1.0f / 0x3FF); in readStream()
590 v.w *= Float4(1.0f / 0x3); in readStream()
598 if(stream.count < 1) v.x = Float4(0.0f); in readStream()
599 if(stream.count < 2) v.y = Float4(0.0f); in readStream()
600 if(stream.count < 3) v.z = Float4(0.0f); in readStream()
601 if(stream.count < 4) v.w = isNativeFloatAttrib ? As<Float4>(Float4(1.0f)) : As<Float4>(Int4(0)); in readStream()
612 o[pos].x = o[pos].x + *Pointer<Float4>(data + OFFSET(DrawData,halfPixelX)) * o[pos].w; in postTransform()
613 o[pos].y = o[pos].y + *Pointer<Float4>(data + OFFSET(DrawData,halfPixelY)) * o[pos].w; in postTransform()
632 v.x = Max(v.x, Float4(0.0f)); in writeCache()
633 v.x = Min(v.x, Float4(1.0f)); in writeCache()
638 v.y = Max(v.y, Float4(0.0f)); in writeCache()
639 v.y = Min(v.y, Float4(1.0f)); in writeCache()
644 v.z = Max(v.z, Float4(0.0f)); in writeCache()
645 v.z = Min(v.z, Float4(1.0f)); in writeCache()
650 v.w = Max(v.w, Float4(0.0f)); in writeCache()
651 v.w = Min(v.w, Float4(1.0f)); in writeCache()
672 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0, 16) = v.x; in writeCache()
673 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1, 16) = v.y; in writeCache()
674 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2, 16) = v.z; in writeCache()
675 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 3, 16) = v.w; in writeCache()
693Float4 w = As<Float4>(As<Int4>(v.w) | (As<Int4>(CmpEQ(v.w, Float4(0.0f))) & As<Int4>(Float4(1.0f))… in writeCache()
694 Float4 rhw = Float4(1.0f) / w; in writeCache()
696 …v.x = As<Float4>(RoundInt(*Pointer<Float4>(data + OFFSET(DrawData,X0x16)) + v.x * rhw * *Pointer<F… in writeCache()
697 …v.y = As<Float4>(RoundInt(*Pointer<Float4>(data + OFFSET(DrawData,Y0x16)) + v.y * rhw * *Pointer<F… in writeCache()
703 *Pointer<Float4>(cacheLine + OFFSET(Vertex,X) + sizeof(Vertex) * 0, 16) = v.x; in writeCache()
704 *Pointer<Float4>(cacheLine + OFFSET(Vertex,X) + sizeof(Vertex) * 1, 16) = v.y; in writeCache()
705 *Pointer<Float4>(cacheLine + OFFSET(Vertex,X) + sizeof(Vertex) * 2, 16) = v.z; in writeCache()
706 *Pointer<Float4>(cacheLine + OFFSET(Vertex,X) + sizeof(Vertex) * 3, 16) = v.w; in writeCache()