Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c310 float x1diff; in try_setup_line() local
364 x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line()
376 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
379 else if (sign(x1diff) == sign(-dx)) { in try_setup_line()
387 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
412 will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line()
424 x_offset_end = - x1diff - 0.5; in try_setup_line()
437 x_offset = - x1diff + 0.5; in try_setup_line()
462 x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line()
474 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
[all …]