Searched refs:icoord (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 132 wrap_nearest_repeat(float s, unsigned size, int *icoord) in wrap_nearest_repeat() argument 137 *icoord = repeat(i, size); in wrap_nearest_repeat() 142 wrap_nearest_clamp(float s, unsigned size, int *icoord) in wrap_nearest_clamp() argument 147 *icoord = 0; in wrap_nearest_clamp() 149 *icoord = size - 1; in wrap_nearest_clamp() 151 *icoord = util_ifloor(s * size); in wrap_nearest_clamp() 156 wrap_nearest_clamp_to_edge(float s, unsigned size, int *icoord) in wrap_nearest_clamp_to_edge() argument 163 *icoord = 0; in wrap_nearest_clamp_to_edge() 165 *icoord = size - 1; in wrap_nearest_clamp_to_edge() 167 *icoord = util_ifloor(s * size); in wrap_nearest_clamp_to_edge() [all …]
|
D | sp_tex_sample.h | 39 int *icoord);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 479 LLVMValueRef icoord; in lp_build_sample_wrap_nearest() local 485 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest() 486 icoord = LLVMBuildAnd(builder, icoord, length_minus_one, ""); in lp_build_sample_wrap_nearest() 492 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest() 505 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest() 508 icoord = lp_build_clamp(int_coord_bld, icoord, int_coord_bld->zero, in lp_build_sample_wrap_nearest() 522 icoord = lp_build_ifloor(coord_bld, coord); in lp_build_sample_wrap_nearest() 527 icoord = lp_build_clamp(int_coord_bld, icoord, min, max); in lp_build_sample_wrap_nearest() 540 icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest() 543 icoord = lp_build_min(int_coord_bld, icoord, length_minus_one); in lp_build_sample_wrap_nearest() [all …]
|
D | lp_bld_sample_aos.c | 141 LLVMValueRef *icoord) in lp_build_sample_wrap_nearest_float() argument 151 *icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_float() 161 *icoord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_float()
|