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
360 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
372 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
375 else if (sign(x1diff) == sign(-dx)) { in try_setup_line()
383 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
408 will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line()
420 x_offset_end = - x1diff - 0.5; in try_setup_line()
433 x_offset = - x1diff + 0.5; in try_setup_line()
458 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
470 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
[all …]