gallium: fix a bug in vertex program output mapping
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:07:11 +0000 (19:07 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 3 Jul 2008 01:07:11 +0000 (19:07 -0600)
commitdad8a7c90d96f37fedfe912a10ba3754c1666161
tree23cf7bc1c64dc2b8ac966d6c9e659d1cf8713070
parent8fb4d602db48d425380e5508e3fd71cbdc2e7095
gallium: fix a bug in vertex program output mapping

Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots
after all other attributes have been handled.  This fixes a bug where
generic vertex program outputs (varying vars) could get mapped to the
same slot at point size or back-face colors.
src/mesa/state_tracker/st_atom_shader.c