Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2258 LLVMValueRef tex_u = lp_build_mul(coord_bld, coords[0], width0); in lp_build_sample_aniso() local
2259 tex_u = lp_build_add(coord_bld, tex_u, lp_build_const_vec(gallivm, coord_bld->type, -0.5f)); in lp_build_sample_aniso()
2266 … u0 = lp_build_itrunc(coord_bld, lp_build_floor(coord_bld, lp_build_sub(coord_bld, tex_u, box_u))); in lp_build_sample_aniso()
2268 …f u1 = lp_build_itrunc(coord_bld, lp_build_ceil(coord_bld, lp_build_add(coord_bld, tex_u, box_u))); in lp_build_sample_aniso()
2276 LLVMValueRef U = lp_build_sub(coord_bld, lp_build_int_to_float(coord_bld, u0), tex_u); in lp_build_sample_aniso()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c2414 const float tex_u = -0.5F + s[j] * texture->width0 * scaling; in img_filter_2d_ewa() local
2417 const int u0 = (int) floorf(tex_u - box_u); in img_filter_2d_ewa()
2418 const int u1 = (int) ceilf(tex_u + box_u); in img_filter_2d_ewa()
2421 const float U = u0 - tex_u; in img_filter_2d_ewa()
/third_party/mesa3d/src/mesa/swrast/
Ds_texfilter.c1661 GLfloat tex_u = -0.5f + texcoord[0] * swImg->WidthScale * scaling; in sample_2d_ewa() local
1685 GLint u0 = (GLint) floorf(tex_u - box_u); in sample_2d_ewa()
1686 GLint u1 = (GLint) ceilf (tex_u + box_u); in sample_2d_ewa()
1694 GLfloat U = u0 - tex_u; in sample_2d_ewa()