Home
last modified time | relevance | path

Searched refs:icoord (Results 1 – 4 of 4) 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.c688 LLVMValueRef icoord; in lp_build_sample_wrap_nearest() local
694 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
696 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
698 icoord = LLVMBuildAnd(builder, icoord, length_minus_one, ""); in lp_build_sample_wrap_nearest()
709 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
726 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
729 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest()
739 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
741 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
759 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
[all …]
Dlp_bld_sample_aos.c151 LLVMValueRef *icoord) in lp_build_sample_wrap_nearest_float() argument
167 *icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_float()
181 *icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_float()