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.c147 span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \
148 span.intTex[1] -= FIXED_HALF; \
206 span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \
207 span.intTex[1] -= FIXED_HALF; \
415 span->intTex[0] -= FIXED_HALF; in affine_span()
416 span->intTex[1] -= FIXED_HALF; in affine_span()
466 span->intTex[0] -= FIXED_HALF; in affine_span()
467 span->intTex[1] -= FIXED_HALF; in affine_span()
644 const GLfixed s_fix = FloatToFixed(s_tmp) - FIXED_HALF; \ in fast_persp_span()
645 const GLfixed t_fix = FloatToFixed(t_tmp) - FIXED_HALF; \ in fast_persp_span()
Ds_tritemp.h617 + span.attrStepY[FRAG_ATTRIB_WPOS][2] * adjy) + FIXED_HALF; in NAME()
643 + span.attrStepY[FRAG_ATTRIB_COL0][0] * adjy) + FIXED_HALF; in NAME()
646 + span.attrStepY[FRAG_ATTRIB_COL0][1] * adjy) + FIXED_HALF; in NAME()
649 + span.attrStepY[FRAG_ATTRIB_COL0][2] * adjy) + FIXED_HALF; in NAME()
659 + span.attrStepY[FRAG_ATTRIB_COL0][3] * adjy) + FIXED_HALF; in NAME()
683 + span.attrStepY[FRAG_ATTRIB_TEX0][0] * adjy) + FIXED_HALF; in NAME()
689 + span.attrStepY[FRAG_ATTRIB_TEX0][1] * adjy) + FIXED_HALF; in NAME()
Ds_context.h411 #define FIXED_HALF (1 << (FIXED_SHIFT-1)) macro
Ds_linetemp.h248 span.z = FloatToFixed(vert0->attrib[FRAG_ATTRIB_WPOS][2]) + FIXED_HALF; in NAME()