Home
last modified time | relevance | path

Searched refs:oneoverarea (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c91 float oneoverarea; member
366 setup->oneoverarea = 1.0f / area; in setup_sort_vertices()
372 if (util_is_inf_or_nan(setup->oneoverarea)) in setup_sort_vertices()
491 float dadx = a * setup->oneoverarea; in tri_linear_coeff()
492 float dady = b * setup->oneoverarea; in tri_linear_coeff()
549 float dadx = a * setup->oneoverarea; in tri_persp_coeff()
550 float dady = b * setup->oneoverarea; in tri_persp_coeff()
845 if (setup->oneoverarea < 0.0) { in sp_setup_tri()
906 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_linear_coeff()
907 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c46 float oneoverarea; member
86 float dadx = da21 * info->dx * info->oneoverarea; in linear_coef()
87 float dady = da21 * info->dy * info->oneoverarea; in linear_coef()
118 float dadx = da21 * info->dx * info->oneoverarea; in perspective_coef()
119 float dady = da21 * info->dy * info->oneoverarea; in perspective_coef()
332 info.oneoverarea = 1.0f / area; in try_setup_line()