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.c90 float oneoverarea; member
367 setup->oneoverarea = 1.0f / area; in setup_sort_vertices()
373 if (util_is_inf_or_nan(setup->oneoverarea)) in setup_sort_vertices()
492 float dadx = a * setup->oneoverarea; in tri_linear_coeff()
493 float dady = b * setup->oneoverarea; in tri_linear_coeff()
542 float dadx = a * setup->oneoverarea; in tri_persp_coeff()
543 float dady = b * setup->oneoverarea; in tri_persp_coeff()
861 if (setup->oneoverarea < 0.0) { in sp_setup_tri()
926 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_linear_coeff()
927 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c48 float oneoverarea; member
89 float dadx = da21 * info->dx * info->oneoverarea; in linear_coef()
90 float dady = da21 * info->dy * info->oneoverarea; in linear_coef()
121 float dadx = da21 * info->dx * info->oneoverarea; in perspective_coef()
122 float dady = da21 * info->dy * info->oneoverarea; in perspective_coef()
349 info.oneoverarea = 1.0f / area; in try_setup_line()