Lines Matching full:pointer
39 Pointer<Byte> primitive(function.Arg<0>()); in generate()
40 Pointer<Byte> tri(function.Arg<1>()); in generate()
41 Pointer<Byte> polygon(function.Arg<2>()); in generate()
42 Pointer<Byte> data(function.Arg<3>()); in generate()
44 Pointer<Byte> constants = *Pointer<Pointer<Byte> >(data + OFFSET(DrawData, constants)); in generate()
54 Pointer<Byte> v0 = tri + V0; in generate()
55 Pointer<Byte> v1 = tri + V1; in generate()
56 Pointer<Byte> v2 = tri + V2; in generate()
61 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate()
62 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.x)); in generate()
63 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.x)); in generate()
65 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.y)); in generate()
66 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.y)); in generate()
67 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.y)); in generate()
84 Int w0w1w2 = *Pointer<Int>(v0 + OFFSET(Vertex, w)) ^ in generate()
85 *Pointer<Int>(v1 + OFFSET(Vertex, w)) ^ in generate()
86 *Pointer<Int>(v2 + OFFSET(Vertex, w)); in generate()
105 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF… in generate()
106 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0… in generate()
110 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00… in generate()
111 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0… in generate()
116 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF… in generate()
117 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0… in generate()
120 Int n = *Pointer<Int>(polygon + OFFSET(Polygon, n)); in generate()
121 Int m = *Pointer<Int>(polygon + OFFSET(Polygon, i)); in generate()
125 Pointer<Byte> V = polygon + OFFSET(Polygon, P) + m * sizeof(void *) * 16; in generate()
131 Pointer<Float4> p = *Pointer<Pointer<Float4> >(V + i * sizeof(void *)); in generate()
132 Float4 v = *Pointer<Float4>(p, 16); in generate()
137 …X[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData, X0xF)) + v.x * rhw * *Pointer<Float>(data … in generate()
138 …Y[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData, Y0xF)) + v.y * rhw * *Pointer<Float>(data … in generate()
175 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData, scissorY0))); in generate()
176 yMax = Min(yMax, *Pointer<Int>(data + OFFSET(DrawData, scissorY1))); in generate()
201 Xq[i] = Xq[i] - *Pointer<Int>(constants + OFFSET(Constants, Xf) + q * sizeof(int)); in generate()
202 Yq[i] = Yq[i] - *Pointer<Int>(constants + OFFSET(Constants, Yf) + q * sizeof(int)); in generate()
209 …Pointer<Byte> leftEdge = Pointer<Byte>(primitive + OFFSET(Primitive, outline->left)) + q * sizeof(… in generate()
210 …Pointer<Byte> rightEdge = Pointer<Byte>(primitive + OFFSET(Primitive, outline->right)) + q * sizeo… in generate()
214 Int xMin = *Pointer<Int>(data + OFFSET(DrawData, scissorX0)); in generate()
215 Int xMax = *Pointer<Int>(data + OFFSET(DrawData, scissorX1)); in generate()
220 *Pointer<Short>(leftEdge + y * sizeof(Primitive::Span)) = x; in generate()
221 *Pointer<Short>(rightEdge + y * sizeof(Primitive::Span)) = x; in generate()
243 …For(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>… in generate()
248 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
258 …*Pointer<Short>(leftEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMin… in generate()
259 …*Pointer<Short>(rightEdge + (yMin - 1) * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + yMi… in generate()
260 …*Pointer<Short>(leftEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1)… in generate()
261 …*Pointer<Short>(rightEdge + yMax * sizeof(Primitive::Span)) = *Pointer<Short>(leftEdge + (yMax - 1… in generate()
265 *Pointer<Int>(primitive + OFFSET(Primitive, yMin)) = yMin; in generate()
266 *Pointer<Int>(primitive + OFFSET(Primitive, yMax)) = yMax; in generate()
271 Float y0 = *Pointer<Float>(v0 + OFFSET(Vertex, y)); in generate()
272 Float y1 = *Pointer<Float>(v1 + OFFSET(Vertex, y)); in generate()
273 Float y2 = *Pointer<Float>(v2 + OFFSET(Vertex, y)); in generate()
284 Float w0 = *Pointer<Float>(v0 + OFFSET(Vertex, w)); in generate()
285 Float w1 = *Pointer<Float>(v1 + OFFSET(Vertex, w)); in generate()
286 Float w2 = *Pointer<Float>(v2 + OFFSET(Vertex, w)); in generate()
294 Float w0 = *Pointer<Float>(v0 + OFFSET(Vertex, w)); in generate()
295 Float w1 = *Pointer<Float>(v1 + OFFSET(Vertex, w)); in generate()
296 Float w2 = *Pointer<Float>(v2 + OFFSET(Vertex, w)); in generate()
305 Float rhw0 = *Pointer<Float>(v0 + OFFSET(Vertex, projected.w)); in generate()
307 Int X0 = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate()
308 Int X1 = *Pointer<Int>(v1 + OFFSET(Vertex, projected.x)); in generate()
309 Int X2 = *Pointer<Int>(v2 + OFFSET(Vertex, projected.x)); in generate()
311 Int Y0 = *Pointer<Int>(v0 + OFFSET(Vertex, projected.y)); in generate()
312 Int Y1 = *Pointer<Int>(v1 + OFFSET(Vertex, projected.y)); in generate()
313 Int Y2 = *Pointer<Int>(v2 + OFFSET(Vertex, projected.y)); in generate()
317 *Pointer<Float>(primitive + OFFSET(Primitive, pointCoordX)) = Float(1.0f / subPixF) * Float(X0); in generate()
318 *Pointer<Float>(primitive + OFFSET(Primitive, pointCoordY)) = Float(1.0f / subPixF) * Float(Y0); in generate()
347 *Pointer<Float4>(primitive + OFFSET(Primitive, xQuad), 16) = xQuad; in generate()
348 *Pointer<Float4>(primitive + OFFSET(Primitive, yQuad), 16) = yQuad; in generate()
387 *Pointer<Float4>(primitive + OFFSET(Primitive, w.A), 16) = A; in generate()
388 *Pointer<Float4>(primitive + OFFSET(Primitive, w.B), 16) = B; in generate()
389 *Pointer<Float4>(primitive + OFFSET(Primitive, w.C), 16) = C; in generate()
394 Float z0 = *Pointer<Float>(v0 + OFFSET(Vertex, projected.z)); in generate()
395 Float z1 = *Pointer<Float>(v1 + OFFSET(Vertex, projected.z)); in generate()
396 Float z2 = *Pointer<Float>(v2 + OFFSET(Vertex, projected.z)); in generate()
412 Float D = *Pointer<Float>(data + OFFSET(DrawData, depthRange)) / (x1 * y2 - x2 * y1); in generate()
423 …C = z0 * *Pointer<Float>(data + OFFSET(DrawData, depthRange)) + *Pointer<Float>(data + OFFSET(Draw… in generate()
425 *Pointer<Float4>(primitive + OFFSET(Primitive, z.A), 16) = Float4(A); in generate()
426 *Pointer<Float4>(primitive + OFFSET(Primitive, z.B), 16) = Float4(B); in generate()
427 *Pointer<Float4>(primitive + OFFSET(Primitive, z.C), 16) = Float4(C); in generate()
444 r = *Pointer<Float>(data + OFFSET(DrawData, minimumResolvableDepthDifference)); in generate()
455 …Float Z1 = z1 * *Pointer<Float>(data + OFFSET(DrawData, depthRange)) + *Pointer<Float>(data + OFFS… in generate()
456 …Float Z2 = z2 * *Pointer<Float>(data + OFFSET(DrawData, depthRange)) + *Pointer<Float>(data + OFFS… in generate()
467 bias = r * *Pointer<Float>(data + OFFSET(DrawData, constantDepthBias)); in generate()
474 …bias += m * *Pointer<Float>(data + OFFSET(DrawData, slopeDepthBias)); // TODO(b/155302798): Optim… in generate()
481 Float clamp = *Pointer<Float>(data + OFFSET(DrawData, depthBiasClamp)); in generate()
486 *Pointer<Float4>(primitive + OFFSET(Primitive, zBias), 16) = Float4(bias); in generate()
524 …etupGradient(Pointer<Byte> &primitive, Pointer<Byte> &triangle, Float4 &w012, Float4 (&m)[3], Poin… in setupGradient()
529 i.x = *Pointer<Float>(v0 + attribute); in setupGradient()
530 i.y = *Pointer<Float>(v1 + attribute); in setupGradient()
531 i.z = *Pointer<Float>(v2 + attribute); in setupGradient()
549 *Pointer<Float4>(primitive + planeEquation + 0, 16) = A; in setupGradient()
550 *Pointer<Float4>(primitive + planeEquation + 16, 16) = B; in setupGradient()
551 *Pointer<Float4>(primitive + planeEquation + 32, 16) = C; in setupGradient()
556 Float C = *Pointer<Float>(triangle + leadingVertex + attribute); in setupGradient()
558 *Pointer<Float4>(primitive + planeEquation + 0, 16) = Float4(0, 0, 0, 0); in setupGradient()
559 *Pointer<Float4>(primitive + planeEquation + 16, 16) = Float4(0, 0, 0, 0); in setupGradient()
560 *Pointer<Float4>(primitive + planeEquation + 32, 16) = Float4(C); in setupGradient()
564 void SetupRoutine::edge(Pointer<Byte> &primitive, Pointer<Byte> &data, const Int &Xa, const Int &Ya… in edge()
578 Int y1 = Max((Y1 + subPixM) >> subPixB, *Pointer<Int>(data + OFFSET(DrawData, scissorY0))); in edge()
579 Int y2 = Min((Y2 + subPixM) >> subPixB, *Pointer<Int>(data + OFFSET(DrawData, scissorY1))); in edge()
583 Int xMin = *Pointer<Int>(data + OFFSET(DrawData, scissorX0)); in edge()
584 Int xMax = *Pointer<Int>(data + OFFSET(DrawData, scissorX1)); in edge()
586 Pointer<Byte> leftEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive, outline->left); in edge()
587 Pointer<Byte> rightEdge = primitive + q * sizeof(Primitive) + OFFSET(Primitive, outline->right); in edge()
588 Pointer<Byte> edge = IfThenElse(swap, rightEdge, leftEdge); in edge()
615 *Pointer<Short>(edge + y * sizeof(Primitive::Span)) = Short(Clamp(x, xMin, xMax)); in edge()
632 void SetupRoutine::conditionalRotate1(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer… in conditionalRotate1()
637 Pointer<Byte> vX; in conditionalRotate1()
645 Pointer<Byte> vX = v0; in conditionalRotate1()
652 void SetupRoutine::conditionalRotate2(Bool condition, Pointer<Byte> &v0, Pointer<Byte> &v1, Pointer… in conditionalRotate2()
657 Pointer<Byte> vX; in conditionalRotate2()
665 Pointer<Byte> vX = v2; in conditionalRotate2()