Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c362 float x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line() local
385 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
388 else if (sign(x1diff) == sign(-dx)) { in try_setup_line()
396 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
421 bool will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line()
437 x_offset_end = -x1diff - 0.5; in try_setup_line()
450 x_offset = -x1diff + 0.5; in try_setup_line()
474 x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line()
486 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
492 else if (sign(x1diff) ! in try_setup_line()
[all...]

Completed in 2 milliseconds