Searched refs:FIXED_ONE (Results 1 - 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 120 float dadx = FIXED_ONE / (float)info->dx12; in texcoord_coef() 137 float dady = FIXED_ONE / (float)info->dx12; in texcoord_coef() 310 return util_iround(FIXED_ONE * a); in subpixel_snap() 383 fixed_width = MAX2(FIXED_ONE, subpixel_snap(size)); in try_setup_point() 393 bbox.x1 = (x[1] + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_point() 395 bbox.y1 = (y[1] + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_point() 418 fixed_width = MAX2(FIXED_ONE, in try_setup_point() 419 (subpixel_snap(size) + FIXED_ONE/2 - 1) & ~(FIXED_ONE-1)); in try_setup_point() 436 bbox.x0 = ((x0 + FIXED_ONE/ in try_setup_point() [all...] |
H A D | lp_setup_line.c | 238 return util_iround(FIXED_ONE * a); in subpixel_snap() 368 int fixed_width = util_iround(width) * FIXED_ONE; in try_setup_line() 580 bbox.x0 = (MIN4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 581 bbox.x1 = (MAX4(x[0], x[1], x[2], x[3]) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_setup_line() 582 bbox.y0 = (MIN4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line() 583 bbox.y1 = (MAX4(y[0], y[1], y[2], y[3]) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_setup_line() 697 plane[i].dcdx *= FIXED_ONE; in try_setup_line() 698 plane[i].dcdy *= FIXED_ONE; in try_setup_line()
|
H A D | lp_setup_rect.c | 49 return util_iround(FIXED_ONE * a); in subpixel_snap() 56 return a * (1.0f / FIXED_ONE); in fixed_to_float() 301 bbox.x0 = (MIN3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_rect_cw() 302 bbox.x1 = (MAX3(x0, x1, x2) + (FIXED_ONE-1)) >> FIXED_ORDER; in try_rect_cw() 303 bbox.y0 = (MIN3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_rect_cw() 304 bbox.y1 = (MAX3(y0, y1, y2) + (FIXED_ONE-1) + adj) >> FIXED_ORDER; in try_rect_cw()
|
H A D | lp_scene.c | 652 scene->fixed_sample_pos[i][0] = util_iround(lp_sample_pos_4x[i][0] * FIXED_ONE); in lp_scene_begin_binning() 653 scene->fixed_sample_pos[i][1] = util_iround(lp_sample_pos_4x[i][1] * FIXED_ONE); in lp_scene_begin_binning()
|
H A D | lp_rast.h | 54 #define FIXED_ONE (1<<FIXED_ORDER) macro
|
H A D | lp_setup_tri.c | 58 return util_iround(FIXED_ONE * a); in subpixel_snap() 1034 __m128 fixed_one = _mm_set1_ps((float)FIXED_ONE); in calc_fixed_position()
|
Completed in 6 milliseconds