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.c73 build_mask_linear(int c, int dcdx, int dcdy) in build_mask_linear() argument
78 int c1 = c0 + dcdy; in build_mask_linear()
79 int c2 = c1 + dcdy; in build_mask_linear()
80 int c3 = c2 + dcdy; in build_mask_linear()
107 int dcdy, in build_masks() argument
111 *outmask |= build_mask_linear(c, dcdx, dcdy); in build_masks()
112 *partmask |= build_mask_linear(c + cdiff, dcdx, dcdy); in build_masks()
151 int dcdy, in build_masks() argument
156 __m128i xdcdy = _mm_set1_epi32(dcdy); in build_masks()
194 build_mask_linear(int c, int dcdx, int dcdy) in build_mask_linear() argument
[all …]
Dlp_rast_tri_tmp.h55 plane[j].dcdy); in TAG()
83 const int dcdy = plane[j].dcdy * 4; in TAG() local
85 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo; in TAG()
90 dcdx, dcdy, in TAG()
128 + plane[j].dcdy * iy); in TAG()
179 c[j] = plane[j].c + plane[j].dcdy * y - plane[j].dcdx * x; in TAG()
183 const int dcdy = plane[j].dcdy * 16; in TAG() local
185 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo; in TAG()
190 dcdx, dcdy, in TAG()
227 + plane[j].dcdy * iy); in TAG()
[all …]
Dlp_setup_tri.c345 __m128i dcdx, dcdy, c; in do_triangle_ccw() local
362 dcdy = _mm_sub_epi32(vertx, shufx); in do_triangle_ccw()
366 dcdy_neg_mask = _mm_srai_epi32(dcdy, 31); in do_triangle_ccw()
378 mm_mullo_epi32(dcdy, verty)); in do_triangle_ccw()
385 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
389 eo = _mm_sub_epi32(_mm_andnot_si128(dcdy_neg_mask, dcdy), in do_triangle_ccw()
397 transpose4_epi32(&c, &dcdx, &dcdy, &eo, in do_triangle_ccw()
407 plane[0].dcdy = position->dx01; in do_triangle_ccw()
408 plane[1].dcdy = position->x[1] - position->x[2]; in do_triangle_ccw()
409 plane[2].dcdy = position->dx20; in do_triangle_ccw()
[all …]
Dlp_setup_line.c593 plane[0].dcdy = x[0] - x[1]; in try_setup_line()
594 plane[1].dcdy = x[1] - x[2]; in try_setup_line()
595 plane[2].dcdy = x[2] - x[3]; in try_setup_line()
596 plane[3].dcdy = x[3] - x[0]; in try_setup_line()
620 plane[i].c = plane[i].dcdx * x[i] - plane[i].dcdy * y[i]; in try_setup_line()
644 if (plane[i].dcdy > 0) plane[i].c++; in try_setup_line()
649 if (plane[i].dcdy < 0) plane[i].c++; in try_setup_line()
654 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
663 if (plane[i].dcdy > 0) plane[i].eo += plane[i].dcdy; in try_setup_line()
689 plane[4].dcdy = 0; in try_setup_line()
[all …]
Dlp_setup_point.c390 plane[0].dcdy = 0; in try_setup_point()
395 plane[1].dcdy = 0; in try_setup_point()
400 plane[2].dcdy = 1; in try_setup_point()
405 plane[3].dcdy = -1; in try_setup_point()
Dlp_rast_debug.c197 plane[nr_planes].dcdy * tiley - in debug_triangle()
220 plane[i].c += plane[i].dcdy; in debug_triangle()
Dlp_rast.h99 int dcdy; member