[Mesa-dev] [PATCH 03/10] i965 gs: Remove unnecessary mapping of key->primitive.

Eric Anholt eric at anholt.net
Tue Dec 6 11:45:28 PST 2011


On Mon,  5 Dec 2011 09:40:46 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
> Previously, GS generation code contained a lookup table that mapped
> primitive types POLYGON, TRISTRIP, and TRIFAN to TRILIST, mapped
> LINESTRIP to LINELIST, and left all other primitives unchanged.  This
> was silly, because we never generate a GS program for those primitive
> types anyhow.
> 
> This patch removes the unnecessary lookup table.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111206/dab37e5d/attachment.pgp>


More information about the mesa-dev mailing list