Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTMisc.cpp105 int nVert; in PVRTMiscCalculateInfinitePlane() local
156 nVert = 5; in PVRTMiscCalculateInfinitePlane()
157 while(nVert) in PVRTMiscCalculateInfinitePlane()
159 nVert--; in PVRTMiscCalculateInfinitePlane()
170 VERTTYPEMUL((pvWorld[nVert].x + VERTTYPEMUL(pvPlane->x, pvPlane->w)), pvPlane->x) + in PVRTMiscCalculateInfinitePlane()
171 VERTTYPEMUL((pvWorld[nVert].y + VERTTYPEMUL(pvPlane->y, pvPlane->w)), pvPlane->y) + in PVRTMiscCalculateInfinitePlane()
172 VERTTYPEMUL((pvWorld[nVert].z + VERTTYPEMUL(pvPlane->z, pvPlane->w)), pvPlane->z); in PVRTMiscCalculateInfinitePlane()
189 …PVRTMiscCalculateIntersectionLinePlane(pvPolyPtr, &pvPlane->x, &pvWorld[nVert+1], &pvWorld[nVert]); in PVRTMiscCalculateInfinitePlane()
194 if(!nVert) in PVRTMiscCalculateInfinitePlane()
201 PVRTMiscCalculateIntersectionLinePlane(pvPolyPtr, &pvPlane->x, pFrom, &pvWorld[nVert]); in PVRTMiscCalculateInfinitePlane()
[all …]
DPVRTVertex.cpp623 unsigned int nVert, nCurr, i, j; // Loop counters in PVRTVertexGenerateTangentSpace() local
719 for(nVert = 0; nVert < nVtxNum; ++nVert) { in PVRTVertexGenerateTangentSpace()
720 psVtx = &psVtxData[nVert]; in PVRTVertexGenerateTangentSpace()
781 if(pui32Idx[3 * psVtx->pnTri[i] + 0] == nVert) { in PVRTVertexGenerateTangentSpace()
784 } else if(pui32Idx[3 * psVtx->pnTri[i] + 1] == nVert) { in PVRTVertexGenerateTangentSpace()
787 } else if(pui32Idx[3 * psVtx->pnTri[i] + 2] == nVert) { in PVRTVertexGenerateTangentSpace()
803 memcpy(&(*pVtxOut)[(*pnVtxNumOut) * nStride], &pVtx[nVert*nStride], nStride); in PVRTVertexGenerateTangentSpace()