Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_triangle.c148 span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \
149 span.intTex[1] -= FIXED_HALF; \
207 span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \
208 span.intTex[1] -= FIXED_HALF; \
416 span->intTex[0] -= FIXED_HALF; in affine_span()
417 span->intTex[1] -= FIXED_HALF; in affine_span()
467 span->intTex[0] -= FIXED_HALF; in affine_span()
468 span->intTex[1] -= FIXED_HALF; in affine_span()
645 const GLfixed s_fix = FloatToFixed(s_tmp) - FIXED_HALF; \ in fast_persp_span()
646 const GLfixed t_fix = FloatToFixed(t_tmp) - FIXED_HALF; \ in fast_persp_span()
Ds_tritemp.h623 + span.attrStepY[VARYING_SLOT_POS][2] * adjy) + FIXED_HALF; in NAME()
649 + span.attrStepY[VARYING_SLOT_COL0][0] * adjy) + FIXED_HALF; in NAME()
652 + span.attrStepY[VARYING_SLOT_COL0][1] * adjy) + FIXED_HALF; in NAME()
655 + span.attrStepY[VARYING_SLOT_COL0][2] * adjy) + FIXED_HALF; in NAME()
665 + span.attrStepY[VARYING_SLOT_COL0][3] * adjy) + FIXED_HALF; in NAME()
689 + span.attrStepY[VARYING_SLOT_TEX0][0] * adjy) + FIXED_HALF; in NAME()
695 + span.attrStepY[VARYING_SLOT_TEX0][1] * adjy) + FIXED_HALF; in NAME()
Ds_context.h431 #define FIXED_HALF (1 << (FIXED_SHIFT-1)) macro
Ds_linetemp.h248 span.z = FloatToFixed(vert0->attrib[VARYING_SLOT_POS][2]) + FIXED_HALF; in NAME()