r600g: RSQ: clear NEG for operand
authorVadim Girlin <vadimgirlin@gmail.com>
Wed, 6 Jul 2011 01:29:09 +0000 (05:29 +0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 8 Jul 2011 21:21:32 +0000 (17:21 -0400)
commitb693787fdf82d065c548e80944aad14e9ba64def
tree83a9ddb25c1c71e1ba0870843a1b457eeffcf64d
parent86f8b4117f35c788c8a043c2e241eb19eaacae8c
r600g: RSQ: clear NEG for operand

Need to clear NEG bit because it applies after ABS, e.g. "RSQ ..., -1"
uses -|1| as operand.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_shader.c