Lines Matching refs:pnVtxNumOut
592 unsigned int * const pnVtxNumOut, in PVRTVertexGenerateTangentSpace() argument
631 *pnVtxNumOut = 0; in PVRTVertexGenerateTangentSpace()
782 pui32IdxNew[3 * psVtx->pnTri[i] + 0] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()
785 pui32IdxNew[3 * psVtx->pnTri[i] + 1] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()
788 pui32IdxNew[3 * psVtx->pnTri[i] + 2] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()
798 if(*pnVtxNumOut >= MAX_VERTEX_OUT) { in PVRTVertexGenerateTangentSpace()
803 memcpy(&(*pVtxOut)[(*pnVtxNumOut) * nStride], &pVtx[nVert*nStride], nStride); in PVRTVertexGenerateTangentSpace()
804 …PVRTVertexWrite((char*)&(*pVtxOut)[(*pnVtxNumOut) * nStride] + nOffsetTan, eTypeTan, 3, (PVRTVECTO… in PVRTVertexGenerateTangentSpace()
805 …PVRTVertexWrite((char*)&(*pVtxOut)[(*pnVtxNumOut) * nStride] + nOffsetBin, eTypeBin, 3, (PVRTVECTO… in PVRTVertexGenerateTangentSpace()
807 ++*pnVtxNumOut; in PVRTVertexGenerateTangentSpace()
814 *pVtxOut = (char*)realloc(*pVtxOut, *pnVtxNumOut * nStride); in PVRTVertexGenerateTangentSpace()
820 …_WARN, "GenerateTangentSpace(): %d tris, %d vtx in, %d vtx out\n", nTriNum, nVtxNum, *pnVtxNumOut); in PVRTVertexGenerateTangentSpace()
821 _ASSERT(*pnVtxNumOut >= nVtxNum); in PVRTVertexGenerateTangentSpace()