Home
last modified time | relevance | path

Searched refs:dcdy (Results 1 – 7 of 7) 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
72 int32_t c1 = c0 + dcdy; in build_mask_linear()
73 int32_t c2 = c1 + dcdy; in build_mask_linear()
74 int32_t c3 = c2 + dcdy; in build_mask_linear()
101 int32_t dcdy, in build_masks() argument
105 *outmask |= build_mask_linear(c, dcdx, dcdy); in build_masks()
106 *partmask |= build_mask_linear(c + cdiff, dcdx, dcdy); in build_masks()
146 int dcdy, in build_masks_sse() argument
151 __m128i xdcdy = _mm_set1_epi32(dcdy); in build_masks_sse()
189 build_mask_linear_sse(int c, int dcdx, int dcdy) in build_mask_linear_sse() argument
[all …]
Dlp_rast_tri_tmp.h56 plane[j].dcdy >> FIXED_ORDER); in TAG()
60 plane[j].dcdy); in TAG()
90 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; in TAG() local
92 const int32_t ei = (dcdy + dcdx - cox) << 2; in TAG()
99 dcdy <<= 2; in TAG()
102 const int64_t dcdy = IMUL64(plane[j].dcdy, 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()
150 + IMUL64(plane[j].dcdy, iy)); 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
419 dcdy = _mm_sub_epi32(vertx, shufx); in do_triangle_ccw()
423 dcdy_neg_mask = _mm_srai_epi32(dcdy, 31); in do_triangle_ccw()
437 cdy02 = mm_mullohi_epi32(dcdy, verty, &cdy13); in do_triangle_ccw()
456 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
464 eo = _mm_sub_epi32(_mm_andnot_si128(dcdy_neg_mask, dcdy), 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()
537 dcdy = vec_sub_epi32(vertx, shufx); in do_triangle_ccw()
541 dcdy_neg_mask = vec_srai_epi32(dcdy, 31); in do_triangle_ccw()
[all …]
Dlp_setup_line.c626 plane[0].dcdy = x[0] - x[1]; in try_setup_line()
627 plane[1].dcdy = x[1] - x[2]; in try_setup_line()
628 plane[2].dcdy = x[2] - x[3]; in try_setup_line()
629 plane[3].dcdy = x[3] - x[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()
680 if (plane[i].dcdy > 0) plane[i].c++; in try_setup_line()
685 if (plane[i].dcdy < 0) plane[i].c++; in try_setup_line()
690 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
699 if (plane[i].dcdy > 0) plane[i].eo += plane[i].dcdy; in try_setup_line()
729 plane_s->dcdy = 0; in try_setup_line()
[all …]
Dlp_setup_point.c496 plane[0].dcdy = 0; in try_setup_point()
501 plane[1].dcdy = 0; in try_setup_point()
506 plane[2].dcdy = 1 << 8; in try_setup_point()
511 plane[3].dcdy = -1 << 8; in try_setup_point()
Dlp_rast_debug.c209 IMUL64(plane[nr_planes].dcdy, tiley) - in debug_triangle()
232 plane[i].c += plane[i].dcdy; in debug_triangle()
Dlp_rast.h115 int32_t dcdy; member