Home
last modified time | relevance | path

Searched refs:icoord (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c134 wrap_nearest_repeat(float s, unsigned size, int offset, int *icoord) in wrap_nearest_repeat() argument
139 *icoord = repeat(i + offset, size); in wrap_nearest_repeat()
144 wrap_nearest_clamp(float s, unsigned size, int offset, int *icoord) in wrap_nearest_clamp() argument
151 *icoord = 0; in wrap_nearest_clamp()
153 *icoord = size - 1; in wrap_nearest_clamp()
155 *icoord = util_ifloor(s); in wrap_nearest_clamp()
160 wrap_nearest_clamp_to_edge(float s, unsigned size, int offset, int *icoord) in wrap_nearest_clamp_to_edge() argument
171 *icoord = 0; in wrap_nearest_clamp_to_edge()
173 *icoord = size - 1; in wrap_nearest_clamp_to_edge()
175 *icoord = util_ifloor(s); in wrap_nearest_clamp_to_edge()
[all …]
Dsp_tex_sample.h42 int *icoord);
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c697 LLVMValueRef icoord; in lp_build_sample_wrap_nearest() local
703 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
705 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
707 icoord = LLVMBuildAnd(builder, icoord, length_minus_one, ""); in lp_build_sample_wrap_nearest()
718 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
735 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
738 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest()
748 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
750 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
768 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
[all …]