Fix invalid number of attributes passed into tesselation PA. Needs to take into account any offsets from the shader. nnocuous issue, but removes an assert firing in debug. --- src/gallium/drivers/swr/rasterizer/core/frontend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp index c44dd2c..33533af 100644 --- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp @@ -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, -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev