Home
last modified time | relevance | path

Searched refs:util_ifloor (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c138 const int i = util_ifloor(s * size); in wrap_nearest_repeat()
155 *icoord = util_ifloor(s); in wrap_nearest_clamp()
175 *icoord = util_ifloor(s); in wrap_nearest_clamp_to_edge()
194 *icoord = util_ifloor(s); in wrap_nearest_clamp_to_border()
206 flr = util_ifloor(s); in wrap_nearest_mirror_repeat()
215 *icoord = util_ifloor(u * size); in wrap_nearest_mirror_repeat()
230 *icoord = util_ifloor(u); in wrap_nearest_mirror_clamp()
248 *icoord = util_ifloor(u); in wrap_nearest_mirror_clamp_to_edge()
265 *icoord = util_ifloor(u); in wrap_nearest_mirror_clamp_to_border()
284 *icoord0 = repeat(util_ifloor(u) + offset, size); in wrap_linear_repeat()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c412 GLint srcCol0 = MAX2(0, util_ifloor(srcCol)); in resample_linear_row_ub()
444 dstColor[dstCol][RCOMP] = util_ifloor(red); in resample_linear_row_ub()
445 dstColor[dstCol][GCOMP] = util_ifloor(green); in resample_linear_row_ub()
446 dstColor[dstCol][BCOMP] = util_ifloor(blue); in resample_linear_row_ub()
447 dstColor[dstCol][ACOMP] = util_ifloor(alpha); in resample_linear_row_ub()
467 GLint srcCol0 = MAX2(0, util_ifloor(srcCol)); in resample_linear_row_float()
633 GLint srcRow0 = MAX2(0, util_ifloor(srcRow)); in blit_linear()
Ds_texfilter.c46 #define FRAC(f) ((f) - util_ifloor(f))
172 *i0 = util_ifloor(u) & (size - 1); in linear_texel_locations()
176 *i0 = REMAINDER(util_ifloor(u), size); in linear_texel_locations()
188 *i0 = util_ifloor(u); in linear_texel_locations()
206 *i0 = util_ifloor(u); in linear_texel_locations()
212 const GLint flr = util_ifloor(s); in linear_texel_locations()
218 *i0 = util_ifloor(u); in linear_texel_locations()
233 *i0 = util_ifloor(u); in linear_texel_locations()
243 *i0 = util_ifloor(u); in linear_texel_locations()
262 *i0 = util_ifloor(u); in linear_texel_locations()
[all …]
Ds_triangle.c624 GLint s = util_ifloor(s_tmp) & info->smask; \ in fast_persp_span()
625 GLint t = util_ifloor(t_tmp) & info->tmask; \ in fast_persp_span()
/external/mesa3d/src/mesa/main/
Ddrawpix.c337 GLint x = util_ifloor(ctx->Current.RasterPos[0] + epsilon - xorig); in _mesa_Bitmap()
338 GLint y = util_ifloor(ctx->Current.RasterPos[1] + epsilon - yorig); in _mesa_Bitmap()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c702 const float x0 = util_ifloor(ctx->Current.RasterPos[0] - xorig + epsilon); in st_DrawAtlasBitmaps()
703 const float y0 = util_ifloor(ctx->Current.RasterPos[1] - yorig + epsilon); in st_DrawAtlasBitmaps()
/external/mesa3d/src/util/
Du_math.h186 util_ifloor(float f) in util_ifloor() function
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h342 util_ifloor(float f) in util_ifloor() function
/external/mesa3d/src/mesa/program/
Dprog_execute.c437 machine->AddressReg[0][0] = util_ifloor(t[0]); in _mesa_execute_program()
/external/mesa3d/docs/relnotes/
D20.1.0.rst1460 - replace IFLOOR with util_ifloor