softpipe: Handle adjacency primitives.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 6 Nov 2012 11:35:31 +0000 (11:35 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Nov 2012 13:43:19 +0000 (13:43 +0000)
commitb7283834dcd8ee5573b791fa95991f5117fa7352
tree6fdff2a1913dee3776a82fae3c776ff3a6985b87
parent5d12c7b755cd405c41d44ef9102e826a366323e3
softpipe: Handle adjacency primitives.

Not fully tested.

Based on diagrams from
http://msdn.microsoft.com/en-us/library/windows/desktop/bb205124.aspx#Primitive_Adjacency

v2: Fix based on Brian's feedback.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_prim_vbuf.c