Home
last modified time | relevance | path

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

/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c362 float y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line() local
384 if (fabsf(x1diff) + fabsf(y1diff) < 0.5f) { in try_setup_line()
388 } else if (sign(-y1diff) != sign(dy)) { in try_setup_line()
477 if (fabsf(x1diff) + fabsf(y1diff) < 0.5f) { in try_setup_line()
479 } else if (sign(-y1diff) == sign(dy)) { in try_setup_line()
485 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line()
525 will_draw_start = y1diff >= 0.f; in try_setup_line()
528 will_draw_start = y1diff > 0.f; in try_setup_line()
535 y_offset_end = -y1diff + 0.5f; in try_setup_line()
545 will_draw_start = y1diff < 0.f; in try_setup_line()
[all …]