projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230a5b5
)
tgsi: Don't dump parenthesis for negation.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 26 Dec 2009 10:59:46 +0000
(10:59 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 26 Dec 2009 10:59:46 +0000
(10:59 +0000)
It doesn't seem necessary, and more importantly, tgsi_parse doesn't know
how to read them.
src/gallium/auxiliary/tgsi/tgsi_dump.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_dump.c
b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index a16f7c728e7f523606363fb7d0c719dd8c73daf2..2c65ff16d81aa402a8fe67fbe8864910ee08f3be 100644
(file)
--- 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;
}