mesa: fix vertex format/attribute bug
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 8 Oct 2008 15:28:10 +0000 (09:28 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 8 Oct 2008 15:33:56 +0000 (09:33 -0600)
commit5462d447aa5bce9e558594eabeddd624cd39b1de
treeb2d159ce112cc448fbc1acf599050deacc05b132
parent902727b7e3eb3c2c9bcddf1d55d3c95c73377cf3
mesa: fix vertex format/attribute bug

If the tnl output attributes matches the swsetup input attributes we still
need to check if the desired vertex color type (float vs. chan) has changed
so that we use the right emit functions.

Fixes a conformance failure found with logicop test at pathlevel 3.
src/mesa/swrast_setup/ss_context.c