Home
last modified time | relevance | path

Searched refs:dcdx (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri.c67 build_mask_linear(int32_t c, int32_t dcdx, int32_t dcdy) in build_mask_linear() argument
76 mask |= ((c0 + 0 * dcdx) >> 31) & (1 << 0); in build_mask_linear()
77 mask |= ((c0 + 1 * dcdx) >> 31) & (1 << 1); in build_mask_linear()
78 mask |= ((c0 + 2 * dcdx) >> 31) & (1 << 2); in build_mask_linear()
79 mask |= ((c0 + 3 * dcdx) >> 31) & (1 << 3); in build_mask_linear()
80 mask |= ((c1 + 0 * dcdx) >> 31) & (1 << 4); in build_mask_linear()
81 mask |= ((c1 + 1 * dcdx) >> 31) & (1 << 5); in build_mask_linear()
82 mask |= ((c1 + 2 * dcdx) >> 31) & (1 << 6); in build_mask_linear()
83 mask |= ((c1 + 3 * dcdx) >> 31) & (1 << 7); in build_mask_linear()
84 mask |= ((c2 + 0 * dcdx) >> 31) & (1 << 8); in build_mask_linear()
[all …]
Dlp_rast_tri_tmp.h55 -plane[j].dcdx >> FIXED_ORDER, in TAG()
59 -plane[j].dcdx, in TAG()
89 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG() local
92 const int32_t ei = (dcdy + dcdx - cox) << 2; in TAG()
98 dcdx <<= 2; in TAG()
101 const int64_t dcdx = -IMUL64(plane[j].dcdx, 4); in TAG()
104 const int32_t ei = plane[j].dcdy - plane[j].dcdx - (int64_t)plane[j].eo; in TAG()
112 dcdx, dcdy, in TAG()
149 - IMUL64(plane[j].dcdx, ix) in TAG()
201 c[j] = plane[j].c + IMUL64(plane[j].dcdy, y) - IMUL64(plane[j].dcdx, x); in TAG()
[all …]
Dlp_setup_tri.c402 __m128i dcdx, dcdy; in do_triangle_ccw() local
418 dcdx = _mm_sub_epi32(verty, shufy); in do_triangle_ccw()
421 dcdx_neg_mask = _mm_srai_epi32(dcdx, 31); in do_triangle_ccw()
422 dcdx_zero_mask = _mm_cmpeq_epi32(dcdx, zero); in do_triangle_ccw()
436 cdx02 = mm_mullohi_epi32(dcdx, vertx, &cdx13); in do_triangle_ccw()
455 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
465 _mm_and_si128(dcdx_neg_mask, dcdx)); in do_triangle_ccw()
481 transpose2_64_2_32(&c01, &c23, &dcdx, &dcdy, in do_triangle_ccw()
504 __m128i dcdx, dcdy, c; in do_triangle_ccw()
536 dcdx = vec_sub_epi32(verty, shufy); in do_triangle_ccw()
[all …]
Dlp_setup_line.c631 plane[0].dcdx = y[0] - y[1]; in try_setup_line()
632 plane[1].dcdx = y[1] - y[2]; in try_setup_line()
633 plane[2].dcdx = y[2] - y[3]; in try_setup_line()
634 plane[3].dcdx = y[3] - y[0]; in try_setup_line()
668 plane[i].c = IMUL64(plane[i].dcdx, x[i]) - IMUL64(plane[i].dcdy, y[i]); in try_setup_line()
672 if (plane[i].dcdx < 0) { in try_setup_line()
676 else if (plane[i].dcdx == 0) { in try_setup_line()
689 plane[i].dcdx *= FIXED_ONE; in try_setup_line()
698 if (plane[i].dcdx < 0) plane[i].eo -= plane[i].dcdx; in try_setup_line()
728 plane_s->dcdx = -1 << 8; in try_setup_line()
[all …]
Dlp_setup_point.c495 plane[0].dcdx = -1 << 8; in try_setup_point()
500 plane[1].dcdx = 1 << 8; in try_setup_point()
505 plane[2].dcdx = 0; in try_setup_point()
510 plane[3].dcdx = 0; in try_setup_point()
Dlp_rast_debug.c210 IMUL64(plane[nr_planes].dcdx, tilex)); in debug_triangle()
227 plane[i].c -= plane[i].dcdx; in debug_triangle()
231 plane[i].c += IMUL64(plane[i].dcdx, TILE_SIZE); in debug_triangle()
Dlp_rast.h114 int32_t dcdx; member
/external/skqp/bench/
DSk4fBench.cpp70 dcdx(dc*dx), in onDraw() local
71 dcdx4(dcdx+dcdx+dcdx+dcdx); in onDraw()
75 b = a + dcdx, in onDraw()
76 c = b + dcdx, in onDraw()
77 d = c + dcdx; in onDraw()
/external/skia/bench/
DSk4fBench.cpp70 dcdx(dc*dx), in onDraw() local
71 dcdx4(dcdx+dcdx+dcdx+dcdx); in onDraw()
75 b = a + dcdx, in onDraw()
76 c = b + dcdx, in onDraw()
77 d = c + dcdx; in onDraw()