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.c310 float x2diff; in try_setup_line() local
360 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()
389 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
392 else if (sign(x2diff) != sign(-dx)) { in try_setup_line()
400 float yintersect = fracf(v2[0][1]) + x2diff * dydx; in try_setup_line()
407 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0; in try_setup_line()
423 x_offset = - x2diff - 0.5; in try_setup_line()
435 x_offset_end = - x2diff + 0.5; in try_setup_line()
458 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()
461 if (x2diff==-0.5 && dx<0) { in try_setup_line()
[all …]