diff options
author | Dave Airlie <airlied@redhat.com> | 2011-02-28 11:10:10 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-28 11:10:35 +1000 |
commit | 0a17444133e74de7bc5d04d8ffc8f29b89f0cf58 (patch) | |
tree | ba23c8f58cf7422f5a2341f995d51ec75b8c785b /src/gallium/drivers/r600 | |
parent | 0ab7dcddb35560626c1aab4e8e6181dc4b4703a6 (diff) |
Revert "r600g: Don't negate result of ABS instruction"
This reverts commit b6d40213935da702570eca2c0861bd4b1d7f5254.
This actually breaks gears here on my rv670.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index e64d396dcc..9fcb1d75f0 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1014,8 +1014,6 @@ static int tgsi_op2_s(struct r600_shader_ctx *ctx, int swap) break; case TGSI_OPCODE_ABS: alu.src[0].abs = 1; - /* negation is performed after absolute value is taken */ - alu.src[0].neg = 0; break; default: break; |