Home
last modified time | relevance | path

Searched refs:y1diff (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c363 float y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line() local
385 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
391 else if (sign(-y1diff) != sign(dy)) { in try_setup_line()
475 y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line()
486 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
489 else if (sign(-y1diff) == sign(dy)) { in try_setup_line()
497 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line()
521 bool will_draw_start = sign(y1diff) == sign(dy); in try_setup_line()
538 y_offset_end = -y1diff + 0.5; in try_setup_line()
549 y_offset = -y1diff in try_setup_line()
[all...]

Completed in 2 milliseconds