Lines Matching refs:numVertexDecls
5290 int vmsvga3dDrawPrimitivesProcessVertexDecls(PVMSVGA3DSTATE pState, PVMSVGA3DCONTEXT pContext, uint32_t numVertexDecls, SVGA3dVertexDecl *pVertexDecl, uint32_t idStream, D3DVERTEXELEMENT9 *pVertexElement)
5298 for (unsigned iVertex = 0; iVertex < numVertexDecls; iVertex++)
5361 for (unsigned iVertex = 0; iVertex < numVertexDecls; iVertex++)
5388 int vmsvga3dDrawPrimitives(PVGASTATE pThis, uint32_t cid, uint32_t numVertexDecls, SVGA3dVertexDecl *pVertexDecl,
5402 Log(("vmsvga3dDrawPrimitives %x numVertexDecls=%d numRanges=%d, cVertexDivisor=%d\n", cid, numVertexDecls, numRanges, cVertexDivisor));
5404 AssertReturn(numVertexDecls && numVertexDecls <= SVGA3D_MAX_VERTEX_ARRAYS, VERR_INVALID_PARAMETER);
5406 AssertReturn(!cVertexDivisor || cVertexDivisor == numVertexDecls, VERR_INVALID_PARAMETER);
5423 pVertexElement = (D3DVERTEXELEMENT9 *)RTMemAllocZ(sizeof(D3DVERTEXELEMENT9) * (numVertexDecls + 1));
5434 while (iCurrentVertex < numVertexDecls)
5440 for (iVertex = iCurrentVertex; iVertex < numVertexDecls; iVertex++)
5466 memcpy(&pVertexElement[numVertexDecls], &VertexEnd, sizeof(VertexEnd));