Home
last modified time | relevance | path

Searched refs:dcdx (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri.c66 build_mask_linear(int32_t c, int32_t dcdx, int32_t dcdy) in build_mask_linear() argument
75 mask |= ((c0 + 0 * dcdx) >> 31) & (1 << 0); in build_mask_linear()
76 mask |= ((c0 + 1 * dcdx) >> 31) & (1 << 1); in build_mask_linear()
77 mask |= ((c0 + 2 * dcdx) >> 31) & (1 << 2); in build_mask_linear()
78 mask |= ((c0 + 3 * dcdx) >> 31) & (1 << 3); in build_mask_linear()
79 mask |= ((c1 + 0 * dcdx) >> 31) & (1 << 4); in build_mask_linear()
80 mask |= ((c1 + 1 * dcdx) >> 31) & (1 << 5); in build_mask_linear()
81 mask |= ((c1 + 2 * dcdx) >> 31) & (1 << 6); in build_mask_linear()
82 mask |= ((c1 + 3 * dcdx) >> 31) & (1 << 7); in build_mask_linear()
83 mask |= ((c2 + 0 * dcdx) >> 31) & (1 << 8); in build_mask_linear()
[all …]
Dlp_rast_tri_tmp.h59 -plane[j].dcdx >> FIXED_ORDER, in TAG()
63 -plane[j].dcdx, in TAG()
68 …[1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); in TAG()
72 -plane[j].dcdx >> FIXED_ORDER, in TAG()
76 -plane[j].dcdx, in TAG()
107 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG() local
110 const int32_t ei = (dcdy + dcdx - cox) << 2; in TAG()
116 dcdx <<= 2; in TAG()
119 const int64_t dcdx = -IMUL64(plane[j].dcdx, 4); in TAG()
122 const int32_t ei = plane[j].dcdy - plane[j].dcdx - (int64_t)plane[j].eo; in TAG()
[all …]
Dlp_setup_tri.c470 __m128i dcdx, dcdy; in do_triangle_ccw() local
486 dcdx = _mm_sub_epi32(verty, shufy); in do_triangle_ccw()
489 dcdx_neg_mask = _mm_srai_epi32(dcdx, 31); in do_triangle_ccw()
490 dcdx_zero_mask = _mm_cmpeq_epi32(dcdx, zero); in do_triangle_ccw()
504 cdx02 = mm_mullohi_epi32(dcdx, vertx, &cdx13); in do_triangle_ccw()
523 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
533 _mm_and_si128(dcdx_neg_mask, dcdx)); in do_triangle_ccw()
549 transpose2_64_2_32(&c01, &c23, &dcdx, &dcdy, in do_triangle_ccw()
571 __m128i dcdx, dcdy, c; in do_triangle_ccw()
603 dcdx = vec_sub_epi32(verty, shufy); in do_triangle_ccw()
[all …]
Dlp_setup_line.c639 plane[0].dcdx = y[0] - y[1]; in try_setup_line()
640 plane[1].dcdx = y[1] - y[2]; in try_setup_line()
641 plane[2].dcdx = y[2] - y[3]; in try_setup_line()
642 plane[3].dcdx = y[3] - y[0]; in try_setup_line()
676 plane[i].c = IMUL64(plane[i].dcdx, x[i]) - IMUL64(plane[i].dcdy, y[i]); in try_setup_line()
680 if (plane[i].dcdx < 0) { in try_setup_line()
684 else if (plane[i].dcdx == 0) { in try_setup_line()
697 plane[i].dcdx *= FIXED_ONE; in try_setup_line()
706 if (plane[i].dcdx < 0) plane[i].eo -= plane[i].dcdx; in try_setup_line()
Dlp_setup_point.c518 plane[0].dcdx = ~0U << 8; in try_setup_point()
523 plane[1].dcdx = 1 << 8; in try_setup_point()
528 plane[2].dcdx = 0; in try_setup_point()
533 plane[3].dcdx = 0; in try_setup_point()
Dlp_rast_debug.c332 IMUL64(plane[nr_planes].dcdx, tilex)); in debug_triangle()
349 plane[i].c -= plane[i].dcdx; in debug_triangle()
353 plane[i].c += IMUL64(plane[i].dcdx, TILE_SIZE); in debug_triangle()
Dlp_rast.h127 int32_t dcdx; member
Dlp_setup.c1794 plane_s->dcdx = ~0U << 8; in lp_setup_add_scissor_planes()
1804 plane_s->dcdx = 1 << 8; in lp_setup_add_scissor_planes()
1813 plane_s->dcdx = 0; in lp_setup_add_scissor_planes()
1823 plane_s->dcdx = 0; in lp_setup_add_scissor_planes()
/third_party/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()