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.c308 float x1diff; in try_setup_line() local
358 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
370 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
373 else if (sign(x1diff) == sign(-dx)) { in try_setup_line()
381 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
406 will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line()
418 x_offset_end = - x1diff - 0.5; in try_setup_line()
431 x_offset = - x1diff + 0.5; in try_setup_line()
456 x1diff = v1[0][0] - (float) floor(v1[0][0]) - 0.5; in try_setup_line()
468 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
[all …]