softpipe: fix mapping of "special" vs outputs
authorRoland Scheidegger <sroland@vmware.com>
Sat, 19 Dec 2015 01:33:25 +0000 (02:33 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 7 Jan 2016 00:56:43 +0000 (01:56 +0100)
commitb64d008052a0111e3170169c4bed08693d94b220
tree5f35baef01510a8f804629169bdd1addcaaa66ae
parent01761a38e8f49b528facf9853c27bbc8891a4424
softpipe: fix mapping of "special" vs outputs

Unlike llvmpipe, softpipe always tells draw to emit the vertices as-is.
The two vertex layouts it calculates are a bit confusing, one which is just
used to tell draw to emit vertices as-is, and the other which has draw written
all over it but draw is completely unaware of and is used only to look up the
correct interpolation info later in setup.
Thus, the slots used are different to what llvmpipe does (I'm going to clean
up the confusing two layout stuff).

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/gallium/drivers/softpipe/sp_state_derived.c