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()
173 int dcdy, in build_masks_sse() argument
178 __m128i xdcdy = _mm_set1_epi32(dcdy); in build_masks_sse()
216 build_mask_linear_sse(int c, int dcdx, int dcdy) in build_mask_linear_sse() argument
[all …]
Dlp_rast_tri_tmp.h61 plane[j].dcdy >> FIXED_ORDER); in TAG()
65 plane[j].dcdy); in TAG()
69 …int64_t new_c = (c[j]) + ((IMUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(tas… in TAG()
74 plane[j].dcdy >> FIXED_ORDER); in TAG()
78 plane[j].dcdy); in TAG()
111 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; in TAG() local
113 const int32_t ei = (dcdy + dcdx - cox) << 2; in TAG()
120 dcdy <<= 2; in TAG()
123 const int64_t dcdy = IMUL64(plane[j].dcdy, 4); in TAG()
125 const int32_t ei = plane[j].dcdy - plane[j].dcdx - (int64_t)plane[j].eo; in TAG()
[all …]
Dlp_setup_tri.c410 __m128i dcdx, dcdy; in do_triangle_ccw() local
427 dcdy = _mm_sub_epi32(vertx, shufx); in do_triangle_ccw()
431 dcdy_neg_mask = _mm_srai_epi32(dcdy, 31); in do_triangle_ccw()
445 cdy02 = mm_mullohi_epi32(dcdy, verty, &cdy13); in do_triangle_ccw()
464 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
472 eo = _mm_sub_epi32(_mm_andnot_si128(dcdy_neg_mask, dcdy), in do_triangle_ccw()
489 transpose2_64_2_32(&c01, &c23, &dcdx, &dcdy, in do_triangle_ccw()
512 __m128i dcdx, dcdy, c; in do_triangle_ccw()
545 dcdy = vec_sub_epi32(vertx, shufx); in do_triangle_ccw()
549 dcdy_neg_mask = vec_srai_epi32(dcdy, 31); in do_triangle_ccw()
[all …]
Dlp_setup_line.c622 plane[0].dcdy = x[0] - x[1]; in try_setup_line()
623 plane[1].dcdy = x[1] - x[2]; in try_setup_line()
624 plane[2].dcdy = x[2] - x[3]; in try_setup_line()
625 plane[3].dcdy = x[3] - x[0]; in try_setup_line()
664 plane[i].c = IMUL64(plane[i].dcdx, x[i]) - IMUL64(plane[i].dcdy, y[i]); in try_setup_line()
676 if (plane[i].dcdy > 0) plane[i].c++; in try_setup_line()
681 if (plane[i].dcdy < 0) plane[i].c++; in try_setup_line()
686 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
695 if (plane[i].dcdy > 0) plane[i].eo += plane[i].dcdy; in try_setup_line()
725 plane_s->dcdy = 0; in try_setup_line()
[all …]
Dlp_setup_point.c506 plane[0].dcdy = 0; in try_setup_point()
511 plane[1].dcdy = 0; in try_setup_point()
516 plane[2].dcdy = 1 << 8; in try_setup_point()
521 plane[3].dcdy = ~0U << 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.h116 int32_t dcdy; member