Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c302 float y1diff; in try_setup_line() local
344 y1diff = v1[0][1] - (float) floor(v1[0][1]) - 0.5; in try_setup_line()
355 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
361 else if (sign(-y1diff) != sign(dy)) { in try_setup_line()
442 y1diff = v1[0][1] - (float) floor(v1[0][1]) - 0.5; in try_setup_line()
453 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
456 else if (sign(-y1diff) == sign(dy)) { in try_setup_line()
464 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line()
488 will_draw_start = sign(y1diff) == sign(dy); in try_setup_line()
501 y_offset_end = - y1diff + 0.5; in try_setup_line()
[all …]