Lines Matching full:pointer
40 Function<Int(Pointer<Byte>, Pointer<Byte>, Pointer<Byte>, Pointer<Byte>)> function; in generate()
42 Pointer<Byte> primitive(function.Arg<0>()); in generate()
43 Pointer<Byte> tri(function.Arg<1>()); in generate()
44 Pointer<Byte> polygon(function.Arg<2>()); in generate()
45 Pointer<Byte> data(function.Arg<3>()); in generate()
47 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData,constants)); in generate()
61 Pointer<Byte> v0 = tri + V0; in generate()
62 Pointer<Byte> v1 = tri + V1; in generate()
63 Pointer<Byte> v2 = tri + V2; in generate()
68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
69 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
70 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
72 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
73 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
74 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
96 Int w0w1w2 = *Pointer<Int>(v0 + pos * 16 + 12) ^ in generate()
97 *Pointer<Int>(v1 + pos * 16 + 12) ^ in generate()
98 *Pointer<Int>(v2 + pos * 16 + 12); in generate()
117 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
118 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
122 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00,… in generate()
123 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0x… in generate()
129 *Pointer<Float>(primitive + OFFSET(Primitive,area)) = 0.5f * A; in generate()
136 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
137 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
141 Int n = *Pointer<Int>(polygon + OFFSET(Polygon,n)); in generate()
142 Int m = *Pointer<Int>(polygon + OFFSET(Polygon,i)); in generate()
146 Pointer<Byte> V = polygon + OFFSET(Polygon,P) + m * sizeof(void*) * 16; in generate()
152 Pointer<Float4> p = *Pointer<Pointer<Float4> >(V + i * sizeof(void*)); in generate()
153 Float4 v = *Pointer<Float4>(p, 16); in generate()
158 …X[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,X0x16)) + v.x * rhw * *Pointer<Float>(data … in generate()
159 …Y[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,Y0x16)) + v.y * rhw * *Pointer<Float>(data … in generate()
192 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in generate()
193 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
217 Xq[i] = Xq[i] + *Pointer<Int>(constants + OFFSET(Constants,Xf) + q * sizeof(int)); in generate()
218 Yq[i] = Yq[i] + *Pointer<Int>(constants + OFFSET(Constants,Yf) + q * sizeof(int)); in generate()
225 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
226 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
230 Int xMin = *Pointer<Int>(data + OFFSET(DrawData, scissorX0)); in generate()
231 Int xMax = *Pointer<Int>(data + OFFSET(DrawData, scissorX1)); in generate()
236 *Pointer<Short>(leftEdge + y * sizeof(Primitive::Span)) = x; in generate()
237 *Pointer<Short>(rightEdge + y * sizeof(Primitive::Span)) = x; in generate()
259 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
264 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
274 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
275 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
276 …*Pointer<Short>(leftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1)… in generate()
277 …*Pointer<Short>(rightEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1… in generate()
281 *Pointer<Int>(primitive + OFFSET(Primitive,yMin)) = yMin; in generate()
282 *Pointer<Int>(primitive + OFFSET(Primitive,yMax)) = yMax; in generate()
287 Float y0 = *Pointer<Float>(v0 + pos * 16 + 4); in generate()
288 Float y1 = *Pointer<Float>(v1 + pos * 16 + 4); in generate()
289 Float y2 = *Pointer<Float>(v2 + pos * 16 + 4); in generate()
300 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
301 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
302 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
310 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
311 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
312 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
321 Float rhw0 = *Pointer<Float>(v0 + OFFSET(Vertex,W)); in generate()
323 Int X0 = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
324 Int X1 = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
325 Int X2 = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
327 Int Y0 = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
328 Int Y1 = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
329 Int Y2 = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
357 *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16) = xQuad; in generate()
358 *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16) = yQuad; in generate()
397 *Pointer<Float4>(primitive + OFFSET(Primitive,w.A), 16) = A; in generate()
398 *Pointer<Float4>(primitive + OFFSET(Primitive,w.B), 16) = B; in generate()
399 *Pointer<Float4>(primitive + OFFSET(Primitive,w.C), 16) = C; in generate()
404 Float z0 = *Pointer<Float>(v0 + OFFSET(Vertex,Z)); in generate()
405 Float z1 = *Pointer<Float>(v1 + OFFSET(Vertex,Z)); in generate()
406 Float z2 = *Pointer<Float>(v2 + OFFSET(Vertex,Z)); in generate()
422 Float D = *Pointer<Float>(data + OFFSET(DrawData,depthRange)) / (x1 * y2 - x2 * y1); in generate()
436 *Pointer<Float4>(primitive + OFFSET(Primitive,z.A), 16) = A; in generate()
437 *Pointer<Float4>(primitive + OFFSET(Primitive,z.B), 16) = B; in generate()
444 bias *= *Pointer<Float>(data + OFFSET(DrawData,slopeDepthBias)); in generate()
454 …C = Float4(c * *Pointer<Float>(data + OFFSET(DrawData,depthRange)) + *Pointer<Float>(data + OFFSET… in generate()
456 *Pointer<Float4>(primitive + OFFSET(Primitive,z.C), 16) = C; in generate()
485 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin… in setupGradient()
493 i.x = *Pointer<Float>(v0 + attribute); in setupGradient()
494 i.y = *Pointer<Float>(v1 + attribute); in setupGradient()
495 i.z = *Pointer<Float>(v2 + attribute); in setupGradient()
522 m = *Pointer<Float>(v0 + attribute); in setupGradient()
523 m = Max(m, *Pointer<Float>(v1 + attribute)); in setupGradient()
524 m = Max(m, *Pointer<Float>(v2 + attribute)); in setupGradient()
548 *Pointer<Float4>(primitive + planeEquation + 0, 16) = A; in setupGradient()
549 *Pointer<Float4>(primitive + planeEquation + 16, 16) = B; in setupGradient()
550 *Pointer<Float4>(primitive + planeEquation + 32, 16) = C; in setupGradient()
555 Float C = *Pointer<Float>(triangle + leadingVertex + attribute); in setupGradient()
557 *Pointer<Float4>(primitive + planeEquation + 0, 16) = Float4(0, 0, 0, 0); in setupGradient()
558 *Pointer<Float4>(primitive + planeEquation + 16, 16) = Float4(0, 0, 0, 0); in setupGradient()
559 *Pointer<Float4>(primitive + planeEquation + 32, 16) = Float4(C); in setupGradient()
563 …void SetupRoutine::edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Y… in edge()
574 Int y1 = Max((Y1 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in edge()
575 Int y2 = Min((Y2 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in edge()
579 Int xMin = *Pointer<Int>(data + OFFSET(DrawData,scissorX0)); in edge()
580 Int xMax = *Pointer<Int>(data + OFFSET(DrawData,scissorX1)); in edge()
582 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left); in edge()
583 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right); in edge()
584 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge()
611 *Pointer<Short>(edge + y * sizeof(Primitive::Span)) = Short(Clamp(x, xMin, xMax)); in edge()
628 …void SetupRoutine::conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate1()
633 Pointer<Byte> vX; in conditionalRotate1()
641 Pointer<Byte> vX = v0; in conditionalRotate1()
648 …void SetupRoutine::conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate2()
653 Pointer<Byte> vX; in conditionalRotate2()
661 Pointer<Byte> vX = v2; in conditionalRotate2()