diff options
author | Brian Paul <[email protected]> | 2008-07-08 15:00:11 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-08 15:07:28 -0600 |
commit | 7cbc244c52610eb59b0fe1fc7275f307b560c281 (patch) | |
tree | 2c40bdb8ee8299c04afb07faf2b54711ae1490b8 /src/gallium/auxiliary/tgsi/util/tgsi_dump.c | |
parent | fe1c0e44aadc033075797804b3275ac91f72c1ba (diff) |
gallium: tweak printing of generic declarations
Diffstat (limited to 'src/gallium/auxiliary/tgsi/util/tgsi_dump.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c index 92aff889259..a395c630cc7 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c @@ -573,7 +573,8 @@ tgsi_dump_declaration( if (decl->Declaration.Semantic) { TXT( ", " ); ENM( decl->Semantic.SemanticName, TGSI_SEMANTICS_SHORT ); - if (decl->Semantic.SemanticIndex != 0) { + if (decl->Semantic.SemanticIndex != 0 || + decl->Semantic.SemanticName == TGSI_SEMANTIC_GENERIC) { CHR( '[' ); UID( decl->Semantic.SemanticIndex ); CHR( ']' ); |