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.c311 float y2diff; in try_setup_line() local
361 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()
363 if (y2diff==-0.5 && dy<0){ in try_setup_line()
364 y2diff = 0.5; in try_setup_line()
389 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
395 else if (sign(-y2diff) == sign(dy)) { in try_setup_line()
459 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()
486 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
489 else if (sign(-y2diff) != sign(dy) ) { in try_setup_line()
497 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line()
[all …]