Searched refs:FIXED_ORDER (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_tri_tmp.h | 54 mask &= ~BUILD_MASK_LINEAR(((c[j] - 1) >> (int64_t)FIXED_ORDER), in TAG() 55 -plane[j].dcdx >> FIXED_ORDER, in TAG() 56 plane[j].dcdy >> FIXED_ORDER); in TAG() 89 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG() 90 int32_t dcdy = plane[j].dcdy >> FIXED_ORDER; in TAG() 91 const int32_t cox = plane[j].eo >> FIXED_ORDER; in TAG() 94 const int32_t co = (int32_t)(c[j] >> (int64_t)FIXED_ORDER) + cox_s; in TAG() 96 cdiff = ei - cox_s + ((int32_t)((c[j] - 1) >> (int64_t)FIXED_ORDER) - in TAG() 97 (int32_t)(c[j] >> (int64_t)FIXED_ORDER)); in TAG() 216 int32_t dcdx = -plane[j].dcdx >> FIXED_ORDER; in TAG() [all …]
|
D | lp_setup_point.c | 380 bbox.x0 = (x0 + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point() 381 bbox.x1 = (x0 + fixed_width + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point() 382 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point() 383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point() 408 int_width = fixed_width >> FIXED_ORDER; in try_setup_point() 413 bbox.x0 = x0 >> FIXED_ORDER; in try_setup_point() 414 bbox.y0 = y0 >> FIXED_ORDER; in try_setup_point() 420 bbox.x0 = (x0 >> FIXED_ORDER) - (int_width - 1)/2; in try_setup_point() 421 bbox.y0 = (y0 >> FIXED_ORDER) - (int_width - 1)/2; in try_setup_point() 424 bbox.x0 = ((x0 + FIXED_ONE/2) >> FIXED_ORDER) - int_width/2; in try_setup_point() [all …]
|
D | lp_rast.h | 52 #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))
|
D | lp_setup_tri.c | 316 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw() 317 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw() 320 bbox.y0 = (MIN3(position->y[0], position->y[1], position->y[2]) + adj) >> FIXED_ORDER; in do_triangle_ccw() 321 bbox.y1 = (MAX3(position->y[0], position->y[1], position->y[2]) - 1 + adj) >> FIXED_ORDER; in do_triangle_ccw() 455 dcdx = _mm_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw() 456 dcdy = _mm_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw() 560 dcdx = vec_slli_epi32(dcdx, FIXED_ORDER); in do_triangle_ccw() 561 dcdy = vec_slli_epi32(dcdy, FIXED_ORDER); in do_triangle_ccw() 627 assert((plane[i].dcdx << FIXED_ORDER) >> FIXED_ORDER == plane[i].dcdx); in do_triangle_ccw() 628 assert((plane[i].dcdy << FIXED_ORDER) >> FIXED_ORDER == plane[i].dcdy); in do_triangle_ccw() [all …]
|
D | lp_setup_line.c | 560 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 561 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 562 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line() 563 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line()
|