Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
tsData.ppIndices,
tsData.NumPrimitives,
tsState.postDSTopology,
- numVertsPerPrim);
+ NumVertsPerPrim(tsState.postDSTopology, false));
while (tessPa.HasWork())
{
pfnClipFunc(pDC, tessPa, workerId, prim_simd16, GenMask(numPrims), primID, vViewportIdx, vRtIdx);
}
#else
- // Gather data from the SVG if provided.
+ // Gather data from the SGV if provided.
simdscalari vViewportIdx = SIMD::setzero_si();
simdscalari vRtIdx = SIMD::setzero_si();
SIMD::Vec4 svgAttrib[4];
SWR_ASSERT(slot < m_numAttributes);
SWR_ASSERT(primIndex < PA_TESS::NumPrims());
+
const float* pVertDataBase = (const float*)&m_pVertexData[slot * m_attributeStrideInVectors * 4];
for (uint32_t i = 0; i < m_numVertsPerPrim; ++i)
{