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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c312 float x2diff; local in function:try_setup_line
362 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5;
391 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) {
394 else if (sign(x2diff) != sign(-dx)) {
402 float yintersect = fracf(v2[0][1]) + x2diff * dydx;
409 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0;
425 x_offset = - x2diff - 0.5;
437 x_offset_end = - x2diff + 0.5;
460 x2diff
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c312 float x2diff; local in function:try_setup_line
380 x2diff = v2[0][0] - floorf(v2[0][0]) - 0.5f;
409 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) {
412 else if (sign(x2diff) != sign(-dx)) {
420 float yintersect = fracf(v2[0][1]) + x2diff * dydx;
427 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0;
447 x_offset = - x2diff - 0.5;
459 x_offset_end = - x2diff + 0.5;
482 x2diff
[all...]

Completed in 5 milliseconds