when negating scalar src args, use NEGATE_XYZW, not NEGATE_X
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 22:01:53 +0000 (16:01 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 22:06:36 +0000 (16:06 -0600)
commit21454f86369e3290a4667037263399b1217d74b6
tree01d3e45e4527a0d8ea984ea6c8329442085670bf
parent978145a075255ae153ee05c2a037400e61558079
when negating scalar src args, use NEGATE_XYZW, not NEGATE_X

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