• 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()
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()
197 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in generate()
198 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in generate()
214 Xq[i] = Xq[i] + *Pointer<Int>(constants + OFFSET(Constants,Xf) + q * sizeof(int)); in generate()
215 Yq[i] = Yq[i] + *Pointer<Int>(constants + OFFSET(Constants,Yf) + q * sizeof(int)); in generate()
222Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->left)) + q * sizeof(P… in generate()
223Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive,outline->right)) + q * sizeof… in generate()
227 Int xMin = *Pointer<Int>(data + OFFSET(DrawData, scissorX0)); in generate()
228 Int xMax = *Pointer<Int>(data + OFFSET(DrawData, scissorX1)); in generate()
233 *Pointer<Short>(leftEdge + y * sizeof(Primitive::Span)) = x; in generate()
234 *Pointer<Short>(rightEdge + y * sizeof(Primitive::Span)) = x; in generate()
256 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
261 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
271 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
272 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
273 …*Pointer<Short>(leftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1)… in generate()
274 …*Pointer<Short>(rightEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1… in generate()
278 *Pointer<Int>(primitive + OFFSET(Primitive,yMin)) = yMin; in generate()
279 *Pointer<Int>(primitive + OFFSET(Primitive,yMax)) = yMax; in generate()
284 Float y0 = *Pointer<Float>(v0 + pos * 16 + 4); in generate()
285 Float y1 = *Pointer<Float>(v1 + pos * 16 + 4); in generate()
286 Float y2 = *Pointer<Float>(v2 + pos * 16 + 4); in generate()
297 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
298 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
299 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
307 Float w0 = *Pointer<Float>(v0 + pos * 16 + 12); in generate()
308 Float w1 = *Pointer<Float>(v1 + pos * 16 + 12); in generate()
309 Float w2 = *Pointer<Float>(v2 + pos * 16 + 12); in generate()
318 Float rhw0 = *Pointer<Float>(v0 + OFFSET(Vertex,W)); in generate()
320 Int X0 = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
321 Int X1 = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
322 Int X2 = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
324 Int Y0 = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
325 Int Y1 = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
326 Int Y2 = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
354 *Pointer<Float4>(primitive + OFFSET(Primitive,xQuad), 16) = xQuad; in generate()
355 *Pointer<Float4>(primitive + OFFSET(Primitive,yQuad), 16) = yQuad; in generate()
394 *Pointer<Float4>(primitive + OFFSET(Primitive,w.A), 16) = A; in generate()
395 *Pointer<Float4>(primitive + OFFSET(Primitive,w.B), 16) = B; in generate()
396 *Pointer<Float4>(primitive + OFFSET(Primitive,w.C), 16) = C; in generate()
401 Float z0 = *Pointer<Float>(v0 + OFFSET(Vertex,Z)); in generate()
402 Float z1 = *Pointer<Float>(v1 + OFFSET(Vertex,Z)); in generate()
403 Float z2 = *Pointer<Float>(v2 + OFFSET(Vertex,Z)); in generate()
419 Float D = *Pointer<Float>(data + OFFSET(DrawData,depthRange)) / (x1 * y2 - x2 * y1); in generate()
433 *Pointer<Float4>(primitive + OFFSET(Primitive,z.A), 16) = A; in generate()
434 *Pointer<Float4>(primitive + OFFSET(Primitive,z.B), 16) = B; in generate()
441 bias *= *Pointer<Float>(data + OFFSET(DrawData,slopeDepthBias)); in generate()
451 …C = Float4(c * *Pointer<Float>(data + OFFSET(DrawData,depthRange)) + *Pointer<Float>(data + OFFSET… in generate()
453 *Pointer<Float4>(primitive + OFFSET(Primitive,z.C), 16) = C; in generate()
482 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin… in setupGradient()
490 i.x = *Pointer<Float>(v0 + attribute); in setupGradient()
491 i.y = *Pointer<Float>(v1 + attribute); in setupGradient()
492 i.z = *Pointer<Float>(v2 + attribute); in setupGradient()
519 m = *Pointer<Float>(v0 + attribute); in setupGradient()
520 m = Max(m, *Pointer<Float>(v1 + attribute)); in setupGradient()
521 m = Max(m, *Pointer<Float>(v2 + attribute)); in setupGradient()
545 *Pointer<Float4>(primitive + planeEquation + 0, 16) = A; in setupGradient()
546 *Pointer<Float4>(primitive + planeEquation + 16, 16) = B; in setupGradient()
547 *Pointer<Float4>(primitive + planeEquation + 32, 16) = C; in setupGradient()
552 Float C = *Pointer<Float>(triangle + leadingVertex + attribute); in setupGradient()
554 *Pointer<Float4>(primitive + planeEquation + 0, 16) = Float4(0, 0, 0, 0); in setupGradient()
555 *Pointer<Float4>(primitive + planeEquation + 16, 16) = Float4(0, 0, 0, 0); in setupGradient()
556 *Pointer<Float4>(primitive + planeEquation + 32, 16) = Float4(C); in setupGradient()
560 …void SetupRoutine::edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Y… in edge()
571 Int y1 = Max((Y1 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in edge()
572 Int y2 = Min((Y2 + 0x0000000F) >> 4, *Pointer<Int>(data + OFFSET(DrawData,scissorY1))); in edge()
576 Int xMin = *Pointer<Int>(data + OFFSET(DrawData,scissorX0)); in edge()
577 Int xMax = *Pointer<Int>(data + OFFSET(DrawData,scissorX1)); in edge()
579 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->left); in edge()
580 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive,outline->right); in edge()
581 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge()
608 *Pointer<Short>(edge + y * sizeof(Primitive::Span)) = Short(Clamp(x, xMin, xMax)); in edge()
625 …void SetupRoutine::conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate1()
630 Pointer<Byte> vX; in conditionalRotate1()
638 Pointer<Byte> vX = v0; in conditionalRotate1()
645 …void SetupRoutine::conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointe… in conditionalRotate2()
650 Pointer<Byte> vX; in conditionalRotate2()
658 Pointer<Byte> vX = v2; in conditionalRotate2()