Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c312 float x2diff; in try_setup_line() local
362 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()
391 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
394 else if (sign(x2diff) != sign(-dx)) { in try_setup_line()
402 float yintersect = fracf(v2[0][1]) + x2diff * dydx; in try_setup_line()
409 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0; in try_setup_line()
425 x_offset = - x2diff - 0.5; in try_setup_line()
437 x_offset_end = - x2diff + 0.5; in try_setup_line()
460 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()
463 if (x2diff==-0.5 && dx<0) { in try_setup_line()
[all …]