Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h136 GLfloat oneOverArea; in NAME() local
243 oneOverArea = 1.0F / area; in NAME()
246 span.facing = oneOverArea * bf > 0.0F; in NAME()
329 scan_from_left_to_right = (oneOverArea < 0.0F); in NAME()
338 … span.attrStepX[FRAG_ATTRIB_WPOS][2] = oneOverArea * (eMaj_dz * eBot.dy - eMaj.dy * eBot_dz); in NAME()
346 … span.attrStepY[FRAG_ATTRIB_WPOS][2] = oneOverArea * (eMaj.dx * eBot_dz - eMaj_dz * eBot.dx); in NAME()
367 … span.attrStepX[FRAG_ATTRIB_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME()
368 … span.attrStepY[FRAG_ATTRIB_COL0][0] = oneOverArea * (eMaj.dx * eBot_dr - eMaj_dr * eBot.dx); in NAME()
369 … span.attrStepX[FRAG_ATTRIB_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME()
370 … span.attrStepY[FRAG_ATTRIB_COL0][1] = oneOverArea * (eMaj.dx * eBot_dg - eMaj_dg * eBot.dx); in NAME()
[all …]
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h144 const GLfloat oneOverArea = 1.0F / cc; in TAG() local
145 const GLfloat dzdx = FABSF((ey * fz - ez * fy) * oneOverArea); in TAG()
146 const GLfloat dzdy = FABSF((ez * fx - ex * fz) * oneOverArea); in TAG()