Home
last modified time | relevance | path

Searched refs:dcdx (Results 1 – 8 of 8) 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
82 mask |= ((c0 + 0 * dcdx) >> 31) & (1 << 0); in build_mask_linear()
83 mask |= ((c0 + 1 * dcdx) >> 31) & (1 << 1); in build_mask_linear()
84 mask |= ((c0 + 2 * dcdx) >> 31) & (1 << 2); in build_mask_linear()
85 mask |= ((c0 + 3 * dcdx) >> 31) & (1 << 3); in build_mask_linear()
86 mask |= ((c1 + 0 * dcdx) >> 31) & (1 << 4); in build_mask_linear()
87 mask |= ((c1 + 1 * dcdx) >> 31) & (1 << 5); in build_mask_linear()
88 mask |= ((c1 + 2 * dcdx) >> 31) & (1 << 6); in build_mask_linear()
89 mask |= ((c1 + 3 * dcdx) >> 31) & (1 << 7); in build_mask_linear()
90 mask |= ((c2 + 0 * dcdx) >> 31) & (1 << 8); in build_mask_linear()
[all …]
Dlp_rast_tri_tmp.h54 -plane[j].dcdx, in TAG()
82 const int dcdx = -plane[j].dcdx * 4; in TAG() local
85 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo; in TAG()
90 dcdx, dcdy, in TAG()
127 - plane[j].dcdx * ix in TAG()
179 c[j] = plane[j].c + plane[j].dcdy * y - plane[j].dcdx * x; in TAG()
182 const int dcdx = -plane[j].dcdx * 16; in TAG() local
185 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo; in TAG()
190 dcdx, dcdy, in TAG()
226 - plane[j].dcdx * ix in TAG()
[all …]
Dlp_setup_tri.c345 __m128i dcdx, dcdy, c; in do_triangle_ccw() local
361 dcdx = _mm_sub_epi32(verty, shufy); in do_triangle_ccw()
364 dcdx_neg_mask = _mm_srai_epi32(dcdx, 31); in do_triangle_ccw()
365 dcdx_zero_mask = _mm_cmpeq_epi32(dcdx, zero); in do_triangle_ccw()
377 c = _mm_sub_epi32(mm_mullo_epi32(dcdx, vertx), in do_triangle_ccw()
384 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
390 _mm_and_si128(dcdx_neg_mask, dcdx)); in do_triangle_ccw()
397 transpose4_epi32(&c, &dcdx, &dcdy, &eo, in do_triangle_ccw()
410 plane[0].dcdx = position->dy01; in do_triangle_ccw()
411 plane[1].dcdx = position->y[1] - position->y[2]; in do_triangle_ccw()
[all …]
Dlp_setup_line.c598 plane[0].dcdx = y[0] - y[1]; in try_setup_line()
599 plane[1].dcdx = y[1] - y[2]; in try_setup_line()
600 plane[2].dcdx = y[2] - y[3]; in try_setup_line()
601 plane[3].dcdx = y[3] - y[0]; in try_setup_line()
620 plane[i].c = plane[i].dcdx * x[i] - plane[i].dcdy * y[i]; in try_setup_line()
636 if (plane[i].dcdx < 0) { in try_setup_line()
640 else if (plane[i].dcdx == 0) { in try_setup_line()
653 plane[i].dcdx *= FIXED_ONE; in try_setup_line()
662 if (plane[i].dcdx < 0) plane[i].eo -= plane[i].dcdx; in try_setup_line()
688 plane[4].dcdx = -1; in try_setup_line()
[all …]
Dlp_setup_point.c389 plane[0].dcdx = -1; in try_setup_point()
394 plane[1].dcdx = 1; in try_setup_point()
399 plane[2].dcdx = 0; in try_setup_point()
404 plane[3].dcdx = 0; in try_setup_point()
Dlp_rast_debug.c198 plane[nr_planes].dcdx * tilex); in debug_triangle()
215 plane[i].c -= plane[i].dcdx; in debug_triangle()
219 plane[i].c += plane[i].dcdx * TILE_SIZE; in debug_triangle()
Dlp_rast.h98 int dcdx; member
/external/skia/bench/
DPMFloatBench.cpp111 dcdx(dc*dx), in onDraw() local
112 dcdx4(dcdx+dcdx+dcdx+dcdx); in onDraw()
116 b = a + dcdx, in onDraw()
117 c = b + dcdx, in onDraw()
118 d = c + dcdx; in onDraw()