summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-12-26 10:59:46 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-12-26 10:59:46 +0000
commit399190d13668ed457cf5d6bbbefe908a95bad289 (patch)
tree3eeab3361f00c0eb102eee4de8833989cd08531f /src
parent230a5b5f1c9b6c4279384dc6da006f9b65068d12 (diff)
tgsi: Don't dump parenthesis for negation.
It doesn't seem necessary, and more importantly, tgsi_parse doesn't know how to read them.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index a16f7c728e..2c65ff16d8 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
@@ -506,7 +506,7 @@ iter_instruction(
CHR( ' ' );
if (src->Register.Negate)
- TXT( "-(" );
+ CHR( '-' );
if (src->Register.Absolute)
CHR( '|' );
@@ -525,8 +525,6 @@ iter_instruction(
if (src->Register.Absolute)
CHR( '|' );
- if (src->Register.Negate)
- CHR( ')' );
first_reg = FALSE;
}