From: Tim Rowley Date: Fri, 10 Nov 2017 22:45:38 +0000 (-0600) Subject: swr/rast: Repair simd8 frontend code rot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34838c221260f961140040416b1a84b490448ac1;p=mesa.git swr/rast: Repair simd8 frontend code rot Keep non-default simd8 frontend code running for comparison purposes. Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp index 2fe6cfcf698..5a61dc33a07 100644 --- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp @@ -956,7 +956,7 @@ static void GeometryShaderStage( PA_STATE_CUT gsPa(pDC, (uint8_t*)pGsBuffers->pGsTransposed, numEmittedVerts, pState->outputVertexSize, reinterpret_cast(pCutBuffer), numEmittedVerts, numAttribs, pState->outputTopology, processCutVerts, pa.numVertsPerPrim); #else - PA_STATE_CUT gsPa(pDC, (uint8_t*)pGsBuffers->pGsTransposed, numEmittedVerts, pState->outputVertexSize, pCutBuffer, numEmittedVerts, numAttribs, pState->outputTopology, processCutVerts); + PA_STATE_CUT gsPa(pDC, (uint8_t*)pGsBuffers->pGsTransposed, numEmittedVerts, pState->outputVertexSize, pCutBuffer, numEmittedVerts, numAttribs, pState->outputTopology, processCutVerts, pa.numVertsPerPrim); #endif while (gsPa.GetNextStreamOutput())