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.c553 LLVMValueRef icoord; in lp_build_sample_wrap_nearest() local
559 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
561 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
563 icoord = LLVMBuildAnd(builder, icoord, length_minus_one, ""); in lp_build_sample_wrap_nearest()
574 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
591 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest()
594 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest()
604 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest()
606 icoord = lp_build_add(int_coord_bld, icoord, offset); in lp_build_sample_wrap_nearest()
624 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()