Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c338 bbox.x0 = (x0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
339 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point()
340 bbox.y0 = (y0 + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
341 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point()
Dlp_rast.h50 #define FIXED_ORDER 4 macro
51 #define FIXED_ONE (1<<FIXED_ORDER)
Dlp_setup_tri.c273 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw()
274 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw()
277 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw()
278 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; in do_triangle_ccw()
384 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw()
385 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw()
Dlp_setup_line.c548 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
549 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line()
550 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()
551 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()