Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h141 GLfloat oneOverArea; in NAME() local
248 oneOverArea = 1.0F / area; in NAME()
251 span.facing = oneOverArea * bf > 0.0F; in NAME()
334 scan_from_left_to_right = (oneOverArea < 0.0F); in NAME()
343 … span.attrStepX[VARYING_SLOT_POS][2] = oneOverArea * (eMaj_dz * eBot.dy - eMaj.dy * eBot_dz); in NAME()
351 … span.attrStepY[VARYING_SLOT_POS][2] = oneOverArea * (eMaj.dx * eBot_dz - eMaj_dz * eBot.dx); in NAME()
372 … span.attrStepX[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME()
373 … span.attrStepY[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj.dx * eBot_dr - eMaj_dr * eBot.dx); in NAME()
374 … span.attrStepX[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME()
375 … span.attrStepY[VARYING_SLOT_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()