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.c301 float x1diff; in try_setup_line() local
343 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
355 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
358 else if (sign(x1diff) == sign(-dx)) { in try_setup_line()
366 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
391 will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line()
403 x_offset_end = - x1diff - 0.5; in try_setup_line()
416 x_offset = - x1diff + 0.5; in try_setup_line()
441 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
453 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
[all …]