swr/rast: Fix invalid number of attributes

Fix invalid number of attributes passed into tesselation PA.
Needs to take into account any offsets from the shader.
Innocuous issue, but removes an assert firing in debug.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
George Kyriazis 2018-01-31 17:07:59 -06:00
parent 2053472723
commit 5df4d98780
1 changed files with 1 additions and 1 deletions

View File

@ -1334,7 +1334,7 @@ static void TessellationStages(
dsContext.vectorStride,
#endif
SWR_VTX_NUM_SLOTS,
tsState.numDsOutputAttribs,
tsState.numDsOutputAttribs + tsState.dsOutVtxAttribOffset,
tsData.ppIndices,
tsData.NumPrimitives,
tsState.postDSTopology,