D | primitives.cpp | 696 int32_t s0, int32_t t0, int32_t s1, int32_t t1, int32_t s2, int32_t t2) in compute_lod() argument 708 int32_t texelArea = abs( gglMulx(s1-s0, t2-t0, shift) - in compute_lod() 709 gglMulx(s2-s0, t1-t0, shift) )*w*h; in compute_lod() 727 int32_t s0 = v0->texture[i].S; in lerp_texcoords() local 736 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords() 744 s0 *= width; in lerp_texcoords() 754 itt[6] = -lerp.iteratorsScale(itt+0, s0, s1, s2); in lerp_texcoords() 784 int32_t s0 = v0->texture[i].S; in lerp_texcoords_w() local 793 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords_w() 801 s0 *= width; in lerp_texcoords_w() [all …]
|