Searched refs:coord_bld (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 256 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_rho() local 269 unsigned length = coord_bld->type.length; in lp_build_rho() 299 rho = lp_build_pack_aos_scalars(bld->gallivm, coord_bld->type, in lp_build_rho() 303 rho = lp_build_swizzle_scalar_aos(coord_bld, cube_rho, 0, 4); in lp_build_rho() 319 coord_bld->type, float_size, indexi); in lp_build_rho() 326 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]); in lp_build_rho() 327 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]); in lp_build_rho() 328 ddx[i] = lp_build_mul(coord_bld, ddx[i], ddx[i]); in lp_build_rho() 329 ddy[i] = lp_build_mul(coord_bld, ddy[i], ddy[i]); in lp_build_rho() 333 tmpx = lp_build_abs(coord_bld, derivs->ddx[i]); in lp_build_rho() [all …]
|
D | lp_bld_sample_soa.c | 238 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_coord_mirror() local 240 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_coord_mirror() 248 coord = lp_build_mul(coord_bld, coord, half); in lp_build_coord_mirror() 249 fract = lp_build_round(coord_bld, coord); in lp_build_coord_mirror() 250 fract = lp_build_sub(coord_bld, coord, fract); in lp_build_coord_mirror() 251 coord = lp_build_add(coord_bld, fract, fract); in lp_build_coord_mirror() 260 coord = lp_build_abs(coord_bld, coord); in lp_build_coord_mirror() 263 coord = lp_build_max_ext(coord_bld, coord, coord_bld->zero, in lp_build_coord_mirror() 283 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_coord_repeat_npot_linear() local 285 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_coord_repeat_npot_linear() [all …]
|
D | lp_bld_sample_aos.c | 101 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_sample_wrap_nearest_int() local 102 LLVMValueRef length_f = lp_build_int_to_float(coord_bld, length); in lp_build_sample_wrap_nearest_int() 104 offset = lp_build_int_to_float(coord_bld, offset); in lp_build_sample_wrap_nearest_int() 105 offset = lp_build_div(coord_bld, offset, length_f); in lp_build_sample_wrap_nearest_int() 106 coord_f = lp_build_add(coord_bld, coord_f, offset); in lp_build_sample_wrap_nearest_int() 108 coord = lp_build_fract_safe(coord_bld, coord_f); in lp_build_sample_wrap_nearest_int() 109 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_nearest_int() 110 coord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_int() 146 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_coord_repeat_npot_linear_int() local 155 coord_f = lp_build_fract(coord_bld, coord_f); in lp_build_coord_repeat_npot_linear_int() [all …]
|
D | lp_bld_sample.h | 390 struct lp_build_context coord_bld; member
|