Searched refs:util_iround (Results 1 – 8 of 8) sorted by relevance
632 scene->fixed_sample_pos[i][0] = util_iround(lp_sample_pos_4x[i][0] * FIXED_ONE); in lp_scene_begin_binning()633 scene->fixed_sample_pos[i][1] = util_iround(lp_sample_pos_4x[i][1] * FIXED_ONE); in lp_scene_begin_binning()
238 return util_iround(FIXED_ONE * a); in subpixel_snap()303 int fixed_width = util_iround(width) * FIXED_ONE; in try_setup_line()
310 return util_iround(FIXED_ONE * a); in subpixel_snap()
59 return util_iround(FIXED_ONE * a); in subpixel_snap()
416 x = util_iround(MAX2(0.0f, vp->translate[0] - fabsf(vp->scale[0]))); in nvc0_validate_viewport()417 y = util_iround(MAX2(0.0f, vp->translate[1] - fabsf(vp->scale[1]))); in nvc0_validate_viewport()418 w = util_iround(vp->translate[0] + fabsf(vp->scale[0])) - x; in nvc0_validate_viewport()419 h = util_iround(vp->translate[1] + fabsf(vp->scale[1])) - y; in nvc0_validate_viewport()
221 util_iround(float f) in util_iround() function
359 util_iround(float f) in util_iround() function
1592 res.data.dst = util_iround(i->saturate ? \ in opnd()1597 res.data.dst = util_iround(i->saturate ? \ in opnd()