Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c311 float y1diff; in try_setup_line() local
365 y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line()
376 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
382 else if (sign(-y1diff) != sign(dy)) { in try_setup_line()
463 y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line()
474 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
477 else if (sign(-y1diff) == sign(dy)) { in try_setup_line()
485 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line()
509 will_draw_start = sign(y1diff) == sign(dy); in try_setup_line()
522 y_offset_end = - y1diff + 0.5; in try_setup_line()
[all …]