Home | History | Annotate | Download | only in llvmpipe

Lines Matching refs:tri

95    struct lp_rast_triangle *tri;
103 tri = lp_scene_alloc_aligned( scene, *tri_size, 16 );
104 if (!tri)
107 tri->inputs.stride = input_array_sz;
110 char *a = (char *)tri;
111 char *b = (char *)&GET_PLANES(tri)[nr_planes];
115 return tri;
277 struct lp_rast_triangle *tri;
348 * edges if the bounding box of the tri is fully inside that edge.
357 tri = lp_setup_alloc_triangle(scene,
361 if (!tri)
365 tri->v[0][0] = v0[0][0];
366 tri->v[1][0] = v1[0][0];
367 tri->v[2][0] = v2[0][0];
368 tri->v[0][1] = v0[0][1];
369 tri->v[1][1] = v1[0][1];
370 tri->v[2][1] = v2[0][1];
379 GET_A0(&tri->inputs),
380 GET_DADX(&tri->inputs),
381 GET_DADY(&tri->inputs));
383 tri->inputs.frontfacing = frontfacing;
384 tri->inputs.disable = FALSE;
385 tri->inputs.opaque = setup->fs.current.variant->opaque;
386 tri->inputs.layer = layer;
387 tri->inputs.viewport_index = viewport_index;
391 (const float (*)[4])GET_A0(&tri->inputs),
392 (const float (*)[4])GET_DADX(&tri->inputs),
393 (const float (*)[4])GET_DADY(&tri->inputs));
395 plane = GET_PLANES(tri);
674 * but since we generate the planes for each scissored tri, it's
722 return lp_setup_bin_triangle(setup, tri, &bbox, nr_planes, viewport_index);
754 struct lp_rast_triangle *tri,
776 * earlier, but it confuses the logic for tri-16 and would force
807 lp_rast_arg_triangle_contained(tri, px, py) );
831 lp_rast_arg_triangle_contained(tri, px, py) );
847 lp_rast_arg_triangle_contained(tri, px, py));
856 lp_rast_arg_triangle(tri, (1<<nr_planes)-1));
860 struct lp_rast_plane *plane = GET_PLANES(tri);
891 * Discard blocks fully outside the tri. If the block is fully
892 * contained inside the tri, bin an lp_rast_shade_tile command.
933 lp_rast_arg_triangle(tri, partial) ))
942 if (!lp_setup_whole_tile(setup, &tri->inputs, x, y))
964 tri->inputs.disable = TRUE;