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.h60 -plane[j].dcdx >> FIXED_ORDER, in TAG()
64 -plane[j].dcdx, in TAG()
69 …[1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); in TAG()
73 -plane[j].dcdx >> FIXED_ORDER, in TAG()
77 -plane[j].dcdx, in TAG()
110 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG() local
113 const int32_t ei = (dcdy + dcdx - cox) << 2; in TAG()
119 dcdx <<= 2; in TAG()
122 const int64_t dcdx = -IMUL64(plane[j].dcdx, 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
426 dcdx = _mm_sub_epi32(verty, shufy); in do_triangle_ccw()
429 dcdx_neg_mask = _mm_srai_epi32(dcdx, 31); in do_triangle_ccw()
430 dcdx_zero_mask = _mm_cmpeq_epi32(dcdx, zero); in do_triangle_ccw()
444 cdx02 = mm_mullohi_epi32(dcdx, vertx, &cdx13); in do_triangle_ccw()
463 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
473 _mm_and_si128(dcdx_neg_mask, dcdx)); 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()
544 dcdx = vec_sub_epi32(verty, shufy); in do_triangle_ccw()
[all …]
Dlp_setup_line.c627 plane[0].dcdx = y[0] - y[1]; in try_setup_line()
628 plane[1].dcdx = y[1] - y[2]; in try_setup_line()
629 plane[2].dcdx = y[2] - y[3]; in try_setup_line()
630 plane[3].dcdx = y[3] - y[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()
668 if (plane[i].dcdx < 0) { in try_setup_line()
672 else if (plane[i].dcdx == 0) { in try_setup_line()
685 plane[i].dcdx *= FIXED_ONE; in try_setup_line()
694 if (plane[i].dcdx < 0) plane[i].eo -= plane[i].dcdx; in try_setup_line()
724 plane_s->dcdx = ~0U << 8; in try_setup_line()
[all …]
Dlp_setup_point.c505 plane[0].dcdx = ~0U << 8; in try_setup_point()
510 plane[1].dcdx = 1 << 8; in try_setup_point()
515 plane[2].dcdx = 0; in try_setup_point()
520 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.h115 int32_t dcdx; member
/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()
/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()