Home
last modified time | relevance | path

Searched refs:FIXED_ORDER (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri_tmp.h59 mask &= ~BUILD_MASK_LINEAR(((c[j] - 1) >> (int64_t)FIXED_ORDER), in TAG()
60 -plane[j].dcdx >> FIXED_ORDER, in TAG()
61 plane[j].dcdy >> FIXED_ORDER); in TAG()
69 …[1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s][0], -plane[j].dcdx)) >> FIXED_ORDER); in TAG()
72 build_mask = BUILD_MASK_LINEAR((int32_t)((new_c - 1) >> (int64_t)FIXED_ORDER), in TAG()
73 -plane[j].dcdx >> FIXED_ORDER, in TAG()
74 plane[j].dcdy >> FIXED_ORDER); in TAG()
110 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG()
111 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; in TAG()
112 const int32_t cox = plane[j].eo >> FIXED_ORDER; in TAG()
[all …]
Dlp_setup_point.c391 bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
392 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
393 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
394 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
419 int_width = fixed_width >> FIXED_ORDER; in try_setup_point()
424 bbox.x0 = x0 >> FIXED_ORDER; in try_setup_point()
425 bbox.y0 = y0 >> FIXED_ORDER; in try_setup_point()
431 bbox.x0 = (x0 >> FIXED_ORDER) - (int_width - 1)/2; in try_setup_point()
432 bbox.y0 = (y0 >> FIXED_ORDER) - (int_width - 1)/2; in try_setup_point()
435 bbox.x0 = ((x0 + FIXED_ONE/2) >> FIXED_ORDER) - int_width/2; in try_setup_point()
[all …]
Dlp_rast.h52 #define FIXED_ORDER 8 macro
53 #define FIXED_ONE (1<<FIXED_ORDER)
62 #define MAX_FIXED_LENGTH (1 << (((FIXED_TYPE_WIDTH/2) - 1) - FIXED_ORDER))
64 #define MAX_FIXED_LENGTH32 (1 << (((32/2) - 1) - FIXED_ORDER))
Dlp_setup_tri.c327 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw()
328 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw()
331 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw()
332 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; in do_triangle_ccw()
463 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
464 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
568 dcdx = vec_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
569 dcdy = vec_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
635 assert((plane[i].dcdx << FIXED_ORDER) >> FIXED_ORDER == plane[i].dcdx); in do_triangle_ccw()
636 assert((plane[i].dcdy << FIXED_ORDER) >> FIXED_ORDER == plane[i].dcdy); in do_triangle_ccw()
[all …]
Dlp_setup_line.c564 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
565 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
566 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()
567 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()