Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c313 float y2diff; in try_setup_line() local
367 y2diff = v2[0][1] - floorf(v2[0][1]) - 0.5f; in try_setup_line()
369 if (y2diff==-0.5 && dy<0){ in try_setup_line()
370 y2diff = 0.5; in try_setup_line()
395 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
401 else if (sign(-y2diff) == sign(dy)) { in try_setup_line()
465 y2diff = v2[0][1] - floorf(v2[0][1]) - 0.5f; in try_setup_line()
492 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
495 else if (sign(-y2diff) != sign(dy) ) { in try_setup_line()
503 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line()
[all …]