projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab7dcd
)
Revert "r600g: Don't negate result of ABS instruction"
author
Dave Airlie
<airlied@redhat.com>
Mon, 28 Feb 2011 01:10:10 +0000
(11:10 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 28 Feb 2011 01:10:35 +0000
(11:10 +1000)
This reverts commit
b6d40213935da702570eca2c0861bd4b1d7f5254
.
This actually breaks gears here on my rv670.
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index e64d396dcca0e83c8b066886d74b0c61963d922a..9fcb1d75f096396e704a13e29cdf2fb98f0f71a0 100644
(file)
--- 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;