mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 17:22:57 +0000 (11:22 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 25 Mar 2008 17:47:35 +0000 (11:47 -0600)
commitbedb93e989340a2d65ed2fb28af7410983cb484d
treeb46daa31bcb74b166f1596d66bbeeca23183f1fa
parent331a56136e96717704788b633c1b2e474b88d8ba
mesa: when negating scalar src args, use NEGATE_XYZW, not NEGATE_X

This makes things easier on the back-end when generating GPU code.
src/mesa/shader/arbprogparse.c