Home
last modified time | relevance | path

Searched refs:util_iround (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene.c632 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()
Dlp_setup_line.c238 return util_iround(FIXED_ONE * a); in subpixel_snap()
303 int fixed_width = util_iround(width) * FIXED_ONE; in try_setup_line()
Dlp_setup_point.c310 return util_iround(FIXED_ONE * a); in subpixel_snap()
Dlp_setup_tri.c59 return util_iround(FIXED_ONE * a); in subpixel_snap()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c416 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()
/external/mesa3d/src/util/
Du_math.h221 util_iround(float f) in util_iround() function
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h359 util_iround(float f) in util_iround() function
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp1592 res.data.dst = util_iround(i->saturate ? \ in opnd()
1597 res.data.dst = util_iround(i->saturate ? \ in opnd()