• Home
  • Raw
  • Download

Lines Matching full:pointer

44 		Pointer<Byte> cache = task + OFFSET(VertexTask,vertexCache);  in generate()
45 Pointer<Byte> vertexCache = cache + OFFSET(VertexCache,vertex); in generate()
46 Pointer<Byte> tagCache = cache + OFFSET(VertexCache,tag); in generate()
48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask,vertexCount)); in generate()
49 UInt primitiveNumber = *Pointer<UInt>(task + OFFSET(VertexTask, primitiveStart)); in generate()
52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate()
56 UInt index = *Pointer<UInt>(batch); in generate()
60 If(*Pointer<UInt>(tagCache + tagIndex) != indexQ) in generate()
62 *Pointer<UInt>(tagCache + tagIndex) = indexQ; in generate()
69 Pointer<Byte> cacheLine0 = vertexCache + tagIndex * UInt((int)sizeof(Vertex)); in generate()
74 Pointer<Byte> cacheLine = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
102 Pointer<Byte> input = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,input) + sizeof(void*) * i); in readInput()
103 UInt stride = *Pointer<UInt>(data + OFFSET(DrawData,stride) + sizeof(unsigned int) * i); in readInput()
120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); 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()
132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags()
135 …Vector4f VertexRoutine::readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, cons… in readStream()
141 Pointer<Byte> source0 = buffer + index * stride; in readStream()
142 Pointer<Byte> source1 = source0 + (!textureSampling ? stride : 0); in readStream()
143 Pointer<Byte> source2 = source1 + (!textureSampling ? stride : 0); in readStream()
144 Pointer<Byte> source3 = source2 + (!textureSampling ? stride : 0); in readStream()
160 v.x.x = *Pointer<Float>(source0); in readStream()
161 v.x.y = *Pointer<Float>(source1); in readStream()
162 v.x.z = *Pointer<Float>(source2); in readStream()
163 v.x.w = *Pointer<Float>(source3); in readStream()
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()
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()
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()
384 x = y = z = *Pointer<Int>(source0); in readStream()
394 x = y = z = *Pointer<Int>(source1); in readStream()
404 x = y = z = *Pointer<Int>(source2); in readStream()
414 x = y = z = *Pointer<Int>(source3); in readStream()
433 x = y = z = *Pointer<Int>(source0); in readStream()
443 x = y = z = *Pointer<Int>(source1); in readStream()
453 x = y = z = *Pointer<Int>(source2); in readStream()
463 x = y = z = *Pointer<Int>(source3); 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()
491 UShort x0 = *Pointer<UShort>(source0 + 0); in readStream()
492 UShort x1 = *Pointer<UShort>(source1 + 0); in readStream()
493 UShort x2 = *Pointer<UShort>(source2 + 0); in readStream()
494 UShort x3 = *Pointer<UShort>(source3 + 0); in readStream()
496 v.x.x = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(x0) * 4); in readStream()
497 v.x.y = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(x1) * 4); in readStream()
498 v.x.z = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(x2) * 4); in readStream()
499 v.x.w = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(x3) * 4); in readStream()
504 UShort y0 = *Pointer<UShort>(source0 + 2); in readStream()
505 UShort y1 = *Pointer<UShort>(source1 + 2); in readStream()
506 UShort y2 = *Pointer<UShort>(source2 + 2); in readStream()
507 UShort y3 = *Pointer<UShort>(source3 + 2); in readStream()
509 v.y.x = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(y0) * 4); in readStream()
510 v.y.y = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(y1) * 4); in readStream()
511 v.y.z = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(y2) * 4); in readStream()
512 v.y.w = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(y3) * 4); in readStream()
517 UShort z0 = *Pointer<UShort>(source0 + 4); in readStream()
518 UShort z1 = *Pointer<UShort>(source1 + 4); in readStream()
519 UShort z2 = *Pointer<UShort>(source2 + 4); in readStream()
520 UShort z3 = *Pointer<UShort>(source3 + 4); in readStream()
522 v.z.x = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(z0) * 4); in readStream()
523 v.z.y = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(z1) * 4); in readStream()
524 v.z.z = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(z2) * 4); in readStream()
525 v.z.w = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(z3) * 4); in readStream()
530 UShort w0 = *Pointer<UShort>(source0 + 6); in readStream()
531 UShort w1 = *Pointer<UShort>(source1 + 6); in readStream()
532 UShort w2 = *Pointer<UShort>(source2 + 6); in readStream()
533 UShort w3 = *Pointer<UShort>(source3 + 6); in readStream()
535 v.w.x = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(w0) * 4); in readStream()
536 v.w.y = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(w1) * 4); in readStream()
537 v.w.z = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(w2) * 4); in readStream()
538 v.w.w = *Pointer<Float>(constants + OFFSET(Constants,half2float) + Int(w3) * 4); in readStream()
544 v.x.x = *Pointer<Float>(source0); in readStream()
545 v.x.y = *Pointer<Float>(source1); in readStream()
546 v.x.z = *Pointer<Float>(source2); in readStream()
547 v.x.w = *Pointer<Float>(source3); in readStream()
553 src = Insert(src, *Pointer<Int>(source0), 0); in readStream()
554 src = Insert(src, *Pointer<Int>(source1), 1); in readStream()
555 src = Insert(src, *Pointer<Int>(source2), 2); in readStream()
556 src = Insert(src, *Pointer<Int>(source3), 3); in readStream()
575 src = Insert(src, *Pointer<Int>(source0), 0); in readStream()
576 src = Insert(src, *Pointer<Int>(source1), 1); in readStream()
577 src = Insert(src, *Pointer<Int>(source2), 2); in readStream()
578 src = Insert(src, *Pointer<Int>(source3), 3); 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()
617 void VertexRoutine::writeCache(Pointer<Byte> &cacheLine) in writeCache()
656 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0) = v.x.x; in writeCache()
657 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1) = v.x.y; in writeCache()
658 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2) = v.x.z; in writeCache()
659 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 3) = v.x.w; 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()
680 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 0) = (clipFlags >> 0) & 0x0… in writeCache()
681 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 1) = (clipFlags >> 8) & 0x0… in writeCache()
682 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 2) = (clipFlags >> 16) & 0x0… in writeCache()
683 …*Pointer<Int>(cacheLine + OFFSET(Vertex,clipFlags) + sizeof(Vertex) * 3) = (clipFlags >> 24) & 0x0… 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()
709 void VertexRoutine::writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cache) in writeVertex()
715 …*Pointer<Int4>(vertex + OFFSET(Vertex,v[i]), 16) = *Pointer<Int4>(cache + OFFSET(Vertex,v[i]), 16); in writeVertex()
719 *Pointer<Int4>(vertex + OFFSET(Vertex,X)) = *Pointer<Int4>(cache + OFFSET(Vertex,X)); in writeVertex()
720 …*Pointer<Int>(vertex + OFFSET(Vertex,clipFlags)) = *Pointer<Int>(cache + OFFSET(Vertex,clipFlags)); in writeVertex()
723 …void VertexRoutine::transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, co… in transformFeedback()
733 UInt reg = *Pointer<UInt>(data + OFFSET(DrawData, vs.reg[i])); in transformFeedback()
734 UInt row = *Pointer<UInt>(data + OFFSET(DrawData, vs.row[i])); in transformFeedback()
735 UInt col = *Pointer<UInt>(data + OFFSET(DrawData, vs.col[i])); in transformFeedback()
736 UInt str = *Pointer<UInt>(data + OFFSET(DrawData, vs.str[i])); in transformFeedback()
738Pointer<Byte> t = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, vs.t[i])) + (tOffset * str * siz… in transformFeedback()
739 Pointer<Byte> v = vertex + OFFSET(Vertex, v) + reg * sizeof(float); in transformFeedback()
749 *Pointer<Float>(t + rOffsetX + cOffset) = *Pointer<Float>(v + rOffset4 + cOffset); in transformFeedback()