i965/vs: When MOVing to produce ABS, strip negate of the operand.
authorEric Anholt <eric@anholt.net>
Wed, 12 Jan 2011 17:40:05 +0000 (09:40 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 12 Jan 2011 17:50:34 +0000 (09:50 -0800)
commit9351ef7a4418f5c1bb95a8f2016af0a15fa97679
tree45345013b1bddc7821b6133cd700a5e1251af649
parentab56e3be9aae54602372427755305c354821e105
i965/vs: When MOVing to produce ABS, strip negate of the operand.

We were returning the negative absolute value, instead of the absolute
value.  Fixes glsl-vs-abs-neg.
src/mesa/drivers/dri/i965/brw_vs_emit.c