swr/rast: Fix invalid number of attributes
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 31 Jan 2018 23:07:59 +0000 (17:07 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:53:59 +0000 (10:53 -0600)
commit5df4d987806fc14fc614a7f0bb110bb1939d7580
treeaf34f0fbf91b320d0c4cc14d65ed7c69b30db5f9
parent205347272369f554ab274e3ec62002ecdcc7f3c0
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>
src/gallium/drivers/swr/rasterizer/core/frontend.cpp