• Home
  • Raw
  • Download

Lines Matching full:pointer

40 		Function<Bool(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()
59 Pointer<Byte> v0 = tri + V0; in generate()
60 Pointer<Byte> v1 = tri + V1; in generate()
61 Pointer<Byte> v2 = tri + V2; in generate()
66 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
67 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
68 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
70 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
71 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
72 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
94 Int w0w1w2 = *Pointer<Int>(v0 + pos * 16 + 12) ^ in generate()
95 *Pointer<Int>(v1 + pos * 16 + 12) ^ in generate()
96 *Pointer<Int>(v2 + pos * 16 + 12); in generate()
115 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
116 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
120 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00,… in generate()
121 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0x… in generate()
127 *Pointer<Float>(primitive + OFFSET(Primitive,area)) = 0.5f * A; in generate()
134 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate()
135 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
139 Int n = *Pointer<Int>(polygon + OFFSET(Polygon,n)); in generate()
140 Int m = *Pointer<Int>(polygon + OFFSET(Polygon,i)); in generate()
144 Pointer<Byte> V = polygon + OFFSET(Polygon,P) + m * sizeof(void*) * 16; in generate()
150 Pointer<Float4> p = *Pointer<Pointer<Float4> >(V + i * sizeof(void*)); in generate()
151 Float4 v = *Pointer<Float4>(p, 16); in generate()
156 …X[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,X0x16)) + v.x * rhw * *Pointer<Float>(data … in generate()
157 …Y[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,Y0x16)) + v.y * rhw * *Pointer<Float>(data … in generate()
195 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in generate()
196 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
212 Xq[i] = Xq[i] + *Pointer<Int>(constants + OFFSET(Constants,Xf) + q * sizeof(int)); in generate()
213 Yq[i] = Yq[i] + *Pointer<Int>(constants + OFFSET(Constants,Yf) + q * sizeof(int)); in generate()
220Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
221Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
225 Int xMin = *Pointer<Int>(data + OFFSET(DrawData, scissorX0)); in generate()
226 Int xMax = *Pointer<Int>(data + OFFSET(DrawData, scissorX1)); in generate()
231 *Pointer<Short>(leftEdge + y * sizeof(Primitive::Span)) = x; in generate()
232 *Pointer<Short>(rightEdge + y * sizeof(Primitive::Span)) = x; in generate()
254 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
259 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
269 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
270 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
271 …*Pointer<Short>(leftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1)… in generate()
272 …*Pointer<Short>(rightEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1… in generate()
276 *Pointer<Int>(primitive + OFFSET(Primitive,yMin)) = yMin; in generate()
277 *Pointer<Int>(primitive + OFFSET(Primitive,yMax)) = yMax; in generate()
282 Float y0 = *Pointer<Float>(v0 + pos * 16 + 4); in generate()
283 Float y1 = *Pointer<Float>(v1 + pos * 16 + 4); in generate()
284 Float y2 = *Pointer<Float>(v2 + pos * 16 + 4); in generate()
295 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
296 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
297 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
305 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
306 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
307 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
316 Float rhw0 = *Pointer<Float>(v0 + OFFSET(Vertex,W)); in generate()
318 Int X0 = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
319 Int X1 = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
320 Int X2 = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
322 Int Y0 = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
323 Int Y1 = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
324 Int Y2 = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
352 *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16) = xQuad; in generate()
353 *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16) = yQuad; in generate()
392 *Pointer<Float4>(primitive + OFFSET(Primitive,w.A), 16) = A; in generate()
393 *Pointer<Float4>(primitive + OFFSET(Primitive,w.B), 16) = B; in generate()
394 *Pointer<Float4>(primitive + OFFSET(Primitive,w.C), 16) = C; in generate()
399 Float z0 = *Pointer<Float>(v0 + OFFSET(Vertex,Z)); in generate()
400 Float z1 = *Pointer<Float>(v1 + OFFSET(Vertex,Z)); in generate()
401 Float z2 = *Pointer<Float>(v2 + OFFSET(Vertex,Z)); in generate()
417 Float D = *Pointer<Float>(data + OFFSET(DrawData,depthRange)) / (x1 * y2 - x2 * y1); in generate()
431 *Pointer<Float4>(primitive + OFFSET(Primitive,z.A), 16) = A; in generate()
432 *Pointer<Float4>(primitive + OFFSET(Primitive,z.B), 16) = B; in generate()
439 bias *= *Pointer<Float>(data + OFFSET(DrawData,slopeDepthBias)); in generate()
449 …C = Float4(c * *Pointer<Float>(data + OFFSET(DrawData,depthRange)) + *Pointer<Float>(data + OFFSET… in generate()
451 *Pointer<Float4>(primitive + OFFSET(Primitive,z.C), 16) = C; in generate()
475 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin… in setupGradient()
483 i.x = *Pointer<Float>(v0 + attribute); in setupGradient()
484 i.y = *Pointer<Float>(v1 + attribute); in setupGradient()
485 i.z = *Pointer<Float>(v2 + attribute); in setupGradient()
512 m = *Pointer<Float>(v0 + attribute); in setupGradient()
513 m = Max(m, *Pointer<Float>(v1 + attribute)); in setupGradient()
514 m = Max(m, *Pointer<Float>(v2 + attribute)); in setupGradient()
538 *Pointer<Float4>(primitive + planeEquation + 0, 16) = A; in setupGradient()
539 *Pointer<Float4>(primitive + planeEquation + 16, 16) = B; in setupGradient()
540 *Pointer<Float4>(primitive + planeEquation + 32, 16) = C; in setupGradient()
545 Float C = *Pointer<Float>(triangle + leadingVertex + attribute); in setupGradient()
547 *Pointer<Float4>(primitive + planeEquation + 0, 16) = Float4(0, 0, 0, 0); in setupGradient()
548 *Pointer<Float4>(primitive + planeEquation + 16, 16) = Float4(0, 0, 0, 0); in setupGradient()
549 *Pointer<Float4>(primitive + planeEquation + 32, 16) = Float4(C); in setupGradient()
553 …void SetupRoutine::edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Y… in edge()
564 Int y1 = Max((Y1 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in edge()
565 Int y2 = Min((Y2 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in edge()
569 Int xMin = *Pointer<Int>(data + OFFSET(DrawData,scissorX0)); in edge()
570 Int xMax = *Pointer<Int>(data + OFFSET(DrawData,scissorX1)); in edge()
572 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left); in edge()
573 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right); in edge()
574 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge()
601 *Pointer<Short>(edge + y * sizeof(Primitive::Span)) = Short(Clamp(x, xMin, xMax)); in edge()
618 …void SetupRoutine::conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate1()
623 Pointer<Byte> vX; in conditionalRotate1()
631 Pointer<Byte> vX = v0; in conditionalRotate1()
638 …void SetupRoutine::conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate2()
643 Pointer<Byte> vX; in conditionalRotate2()
651 Pointer<Byte> vX = v2; in conditionalRotate2()